GNU logs - #22338, boring messages


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#22338: 25.0.50; deactivate-mark regression
Resent-From: Leo Liu <sdl.web@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 09 Jan 2016 15:41:02 +0000
Resent-Message-ID: <handler.22338.B.14523540269570 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 22338
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 22338 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.14523540269570
          (code B ref -1); Sat, 09 Jan 2016 15:41:02 +0000
Received: (at submit) by debbugs.gnu.org; 9 Jan 2016 15:40:26 +0000
Received: from localhost ([127.0.0.1]:44550 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1aHvcv-0002UI-Pj
	for submit <at> debbugs.gnu.org; Sat, 09 Jan 2016 10:40:25 -0500
Received: from eggs.gnu.org ([208.118.235.92]:55824)
 by debbugs.gnu.org with esmtp (Exim 4.84)
 (envelope-from <sdl.web@HIDDEN>) id 1aHvcu-0002U6-Aa
 for submit <at> debbugs.gnu.org; Sat, 09 Jan 2016 10:40:24 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <sdl.web@HIDDEN>) id 1aHvco-0000sM-Dq
 for submit <at> debbugs.gnu.org; Sat, 09 Jan 2016 10:40:19 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:58904)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <sdl.web@HIDDEN>) id 1aHvco-0000sI-Ah
 for submit <at> debbugs.gnu.org; Sat, 09 Jan 2016 10:40:18 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:46792)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <sdl.web@HIDDEN>) id 1aHvcn-0004Iv-J3
 for bug-gnu-emacs@HIDDEN; Sat, 09 Jan 2016 10:40:18 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <sdl.web@HIDDEN>) id 1aHvck-0000pv-DB
 for bug-gnu-emacs@HIDDEN; Sat, 09 Jan 2016 10:40:17 -0500
Received: from mail-wm0-x22a.google.com ([2a00:1450:400c:c09::22a]:37705)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <sdl.web@HIDDEN>) id 1aHvck-0000pk-6y
 for bug-gnu-emacs@HIDDEN; Sat, 09 Jan 2016 10:40:14 -0500
Received: by mail-wm0-x22a.google.com with SMTP id f206so210907462wmf.0
 for <bug-gnu-emacs@HIDDEN>; Sat, 09 Jan 2016 07:40:13 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=from:to:subject:date:message-id:mime-version:content-type;
 bh=hZgh3h+Sp7A4NSsq168U3MOgwUY3NrmOcEerXxjAgTo=;
 b=L4ghKpsnHeHaQSv7ib6IES3BkrCjcl2LahXrURhN+WNN3iXvp7rUBZnPJijzbkrTl8
 LNY0JCOvUf7vCoeGTSTiIRdCzpBxCEv829lo6Rwt5OnJXipnK2X5fH2IN3Irk8z03XHy
 6ES5aX68cvyIjZoC+kirTS58u2yUyZXrDPZjVM3A2+HlAKk/UIE36A3b1nwoD3ORHHUD
 XCixI+vo6TjnzShMjnkYwz2VpLZj8WxSCx1zDT1rtPUp+Atxki6V05Jpy88gDsx/7f0+
 6fcobj5f1kYUfX8LSDz0nPlRj6V9ojE6UqVneucMWAIEzUqg3nkeC/aa0nLxVowzJu49
 pAvg==
X-Received: by 10.194.192.198 with SMTP id hi6mr126598607wjc.141.1452354013520; 
 Sat, 09 Jan 2016 07:40:13 -0800 (PST)
Received: from zeuss-MacBook-Pro.local ([178.62.41.155])
 by smtp.gmail.com with ESMTPSA id w124sm4228985wmg.17.2016.01.09.07.40.07
 for <bug-gnu-emacs@HIDDEN>
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Sat, 09 Jan 2016 07:40:12 -0800 (PST)
From: Leo Liu <sdl.web@HIDDEN>
Date: Sat, 09 Jan 2016 23:39:37 +0800
Message-ID: <m1si26yd6u.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.0 (----)


1. Emacs -q
2. Open a file and mark an active region
3. (revert-buffer nil t t)

The mark is still active after the buffer revert. This isn't the case
for emacs 24.5.

The trouble is if the file has changed on disk (e.g. by another process
such as vim), the mark is still active after the revert.

Leo




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Leo Liu <sdl.web@HIDDEN>
Subject: bug#22338: Acknowledgement (25.0.50; deactivate-mark regression)
Message-ID: <handler.22338.B.14523540269570.ack <at> debbugs.gnu.org>
References: <m1si26yd6u.fsf@HIDDEN>
X-Gnu-PR-Message: ack 22338
X-Gnu-PR-Package: emacs
Reply-To: 22338 <at> debbugs.gnu.org
Date: Sat, 09 Jan 2016 15:41:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-gnu-emacs@HIDDEN

If you wish to submit further information on this problem, please
send it to 22338 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
22338: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D22338
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 9 Jan 2016 20:01:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jan 09 15:01:39 2016
Received: from localhost ([127.0.0.1]:44665 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1aHzhj-0000AW-5Y
	for submit <at> debbugs.gnu.org; Sat, 09 Jan 2016 15:01:39 -0500
Received: from eggs.gnu.org ([208.118.235.92]:44255)
 by debbugs.gnu.org with esmtp (Exim 4.84)
 (envelope-from <rgm@HIDDEN>) id 1aHzhh-0000A7-8A
 for control <at> debbugs.gnu.org; Sat, 09 Jan 2016 15:01:37 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <rgm@HIDDEN>) id 1aHzhb-0004hz-IF
 for control <at> debbugs.gnu.org; Sat, 09 Jan 2016 15:01:32 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42246)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <rgm@HIDDEN>)
 id 1aHzhb-0004hv-F0
 for control <at> debbugs.gnu.org; Sat, 09 Jan 2016 15:01:31 -0500
Received: from rgm by fencepost.gnu.org with local (Exim 4.82)
 (envelope-from <rgm@HIDDEN>) id 1aHzhb-0008C6-6E
 for control <at> debbugs.gnu.org; Sat, 09 Jan 2016 15:01:31 -0500
Subject: control message for bug 19759
To: <control <at> debbugs.gnu.org>
X-Mailer: mail (GNU Mailutils 2.99.98)
Message-Id: <E1aHzhb-0008C6-6E@HIDDEN>
From: Glenn Morris <rgm@HIDDEN>
Date: Sat, 09 Jan 2016 15:01:31 -0500
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

block 19759 by 22338




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#22338: 25.0.50; deactivate-mark regression
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 16 Jan 2016 08:25:02 +0000
Resent-Message-ID: <handler.22338.B22338.14529326987094 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 22338
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Leo Liu <sdl.web@HIDDEN>
Cc: 22338 <at> debbugs.gnu.org
Reply-To: Eli Zaretskii <eliz@HIDDEN>
Received: via spool by 22338-submit <at> debbugs.gnu.org id=B22338.14529326987094
          (code B ref 22338); Sat, 16 Jan 2016 08:25:02 +0000
Received: (at 22338) by debbugs.gnu.org; 16 Jan 2016 08:24:58 +0000
Received: from localhost ([127.0.0.1]:50434 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1aKMAM-0001qM-In
	for submit <at> debbugs.gnu.org; Sat, 16 Jan 2016 03:24:58 -0500
Received: from eggs.gnu.org ([208.118.235.92]:39862)
 by debbugs.gnu.org with esmtp (Exim 4.84)
 (envelope-from <eliz@HIDDEN>) id 1aKMAL-0001q5-8R
 for 22338 <at> debbugs.gnu.org; Sat, 16 Jan 2016 03:24:57 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1aKMAD-0002fh-2i
 for 22338 <at> debbugs.gnu.org; Sat, 16 Jan 2016 03:24:52 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59963)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1aKMAC-0002fc-Vj; Sat, 16 Jan 2016 03:24:49 -0500
Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1938
 helo=HOME-C4E4A596F7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1aKMA9-0000xx-Qa; Sat, 16 Jan 2016 03:24:46 -0500
Date: Sat, 16 Jan 2016 10:24:46 +0200
Message-Id: <8337tyextd.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-reply-to: <m1si26yd6u.fsf@HIDDEN> (message from Leo Liu on Sat, 09 Jan
 2016 23:39:37 +0800)
References: <m1si26yd6u.fsf@HIDDEN>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

> From: Leo Liu <sdl.web@HIDDEN>
> Date: Sat, 09 Jan 2016 23:39:37 +0800
> 
> 1. Emacs -q
> 2. Open a file and mark an active region
> 3. (revert-buffer nil t t)
> 
> The mark is still active after the buffer revert. This isn't the case
> for emacs 24.5.

When I try this with different files and different changes actually
made to the file behind Emacs's back, I see the region deactivate
every time I revert and the file on disk was really changed.  Maybe it
doesn't always deactivate the region, but it certainly doesn't always
keep it active, except when the file on disk didn't change at all.

Do you really see the region remain active every revert, no matter
what the changes to the file on disk?  Can you show a detailed recipe
for that?

Anyway, since the documentation never says what will happen with the
region, I tend to consider this behavior unspecified: why should Lisp
programs expect anything specific to happen to the region during a
revert?

> The trouble is if the file has changed on disk (e.g. by another process
> such as vim), the mark is still active after the revert.

Why is that trouble?

Thanks.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#22338: 25.0.50; deactivate-mark regression
In-Reply-To: <m1si26yd6u.fsf@HIDDEN>
Resent-From: Leo Liu <sdl.web@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 21 Jan 2016 10:15:02 +0000
Resent-Message-ID: <handler.22338.B.145337124425743 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 22338
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 22338 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.145337124425743
          (code B ref -1); Thu, 21 Jan 2016 10:15:02 +0000
Received: (at submit) by debbugs.gnu.org; 21 Jan 2016 10:14:04 +0000
Received: from localhost ([127.0.0.1]:55801 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1aMCFg-0006h8-C6
	for submit <at> debbugs.gnu.org; Thu, 21 Jan 2016 05:14:04 -0500
Received: from eggs.gnu.org ([208.118.235.92]:45543)
 by debbugs.gnu.org with esmtp (Exim 4.84)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1aMCFe-0006gX-Nh
 for submit <at> debbugs.gnu.org; Thu, 21 Jan 2016 05:14:03 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1aMCFY-0004a3-O5
 for submit <at> debbugs.gnu.org; Thu, 21 Jan 2016 05:13:57 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: **
X-Spam-Status: No, score=2.8 required=5.0 tests=BAYES_40,FREEMAIL_FROM,
 FSL_HELO_BARE_IP_2,RCVD_NUMERIC_HELO autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:40387)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1aMCFY-0004Zw-LM
 for submit <at> debbugs.gnu.org; Thu, 21 Jan 2016 05:13:56 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:36506)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1aMCFX-00048R-NW
 for bug-gnu-emacs@HIDDEN; Thu, 21 Jan 2016 05:13:56 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1aMCFU-0004ZP-H0
 for bug-gnu-emacs@HIDDEN; Thu, 21 Jan 2016 05:13:55 -0500
Received: from plane.gmane.org ([80.91.229.3]:52282)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1aMCFU-0004Z0-Ag
 for bug-gnu-emacs@HIDDEN; Thu, 21 Jan 2016 05:13:52 -0500
Received: from list by plane.gmane.org with local (Exim 4.69)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1aMCFS-0003D0-0o
 for bug-gnu-emacs@HIDDEN; Thu, 21 Jan 2016 11:13:50 +0100
Received: from 116.213.171.151 ([116.213.171.151])
 by main.gmane.org with esmtp (Gmexim 0.1 (Debian))
 id 1AlnuQ-0007hv-00
 for <bug-gnu-emacs@HIDDEN>; Thu, 21 Jan 2016 11:13:50 +0100
Received: from sdl.web by 116.213.171.151 with local (Gmexim 0.1 (Debian))
 id 1AlnuQ-0007hv-00
 for <bug-gnu-emacs@HIDDEN>; Thu, 21 Jan 2016 11:13:50 +0100
X-Injected-Via-Gmane: http://gmane.org/
From: Leo Liu <sdl.web@HIDDEN>
Date: Thu, 21 Jan 2016 18:13:36 +0800
Lines: 32
Message-ID: <m27fj3xmsv.fsf@HIDDEN>
References: <m1si26yd6u.fsf@HIDDEN> <8337tyextd.fsf@HIDDEN>
Mime-Version: 1.0
Content-Type: text/plain
X-Complaints-To: usenet@HIDDEN
X-Gmane-NNTP-Posting-Host: 116.213.171.151
Face: iVBORw0KGgoAAAANSUhEUgAAACgAAAAoBAMAAAB+0KVeAAAAG1BMVEUAAAA9Cgm3Hx1WWFWA
 gn+WmJWsrqv4+vcCAwCRl2MkAAAAAXRSTlMAQObYZgAAAAFiS0dEAIgFHUgAAAAJcEhZcwAAAYoA
 AAGKATOXMFgAAAAHdElNRQfXAQwDNR+ZJmElAAABIklEQVQoz22SPW+DQAyGWUq65qasd9PNUSX4
 AZHK2C1rJy5jpDS4IwRVup9dn7GNafpKIPPgzztXFSujqq1eM2n8h22oMkvxI/i9C97kRfMRUN55
 dS3BrsAwBXUtMLAO4lryh8kTjOxKpQNniNxAgZOEe4bZwsDTFhKdqZRLNII4OQNHhEuq/RMkm6Cj
 TnnEA/fk0BorcYn5qA3oaeAxbaBOLrX+9G48NZ2Fzc2tzDM8Q+tMypEOqYHh8mAWaaK3U/cDMOT5
 aMZMABgPXc7zPMs1A8DXO756GFJ/4fMEq47hTsAdn5avoxZ4ywl0c2w4Flu2Ybeyb3S+EqxX2DYA
 H8veJGEDTnHnrXvRaPyt+2kSfK6rfBZ2tUtfP/mR+pR6sX8BUZ/cDV7tvkoAAAAASUVORK5CYII=
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (OS X 10.11.2)
Cancel-Lock: sha1:nfbE1r+W6X0AqyPlSNtQmJn6Ge0=
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -1.4 (-)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.0 (---)

On 2016-01-16 10:24 +0200, Eli Zaretskii wrote:
> When I try this with different files and different changes actually
> made to the file behind Emacs's back, I see the region deactivate
> every time I revert and the file on disk was really changed.  Maybe it
> doesn't always deactivate the region, but it certainly doesn't always
> keep it active, except when the file on disk didn't change at all.
>
> Do you really see the region remain active every revert, no matter
> what the changes to the file on disk?  Can you show a detailed recipe
> for that?
>
> Anyway, since the documentation never says what will happen with the
> region, I tend to consider this behavior unspecified: why should Lisp
> programs expect anything specific to happen to the region during a
> revert?

How did you revert? C-x C-v or eval (revert-buffer nil t t)? For me the
latter always keeps the region active in 25.0.50 (built on 02 Jan 2016).

>> The trouble is if the file has changed on disk (e.g. by another process
>> such as vim), the mark is still active after the revert.
>
> Why is that trouble?
>
> Thanks.

The trouble is now users have no idea what the active region is. For
example I've experienced reverts that change the active region to cover
nearly the whole buffer. The sane behaviour seems to have the active
region off after revert just like in emacs 24.x.

Leo





Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#22338: 25.0.50; deactivate-mark regression
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 21 Jan 2016 16:09:02 +0000
Resent-Message-ID: <handler.22338.B22338.14533925341199 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 22338
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Leo Liu <sdl.web@HIDDEN>
Cc: 22338 <at> debbugs.gnu.org
Reply-To: Eli Zaretskii <eliz@HIDDEN>
Received: via spool by 22338-submit <at> debbugs.gnu.org id=B22338.14533925341199
          (code B ref 22338); Thu, 21 Jan 2016 16:09:02 +0000
Received: (at 22338) by debbugs.gnu.org; 21 Jan 2016 16:08:54 +0000
Received: from localhost ([127.0.0.1]:56633 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1aMHn4-0000JG-Ju
	for submit <at> debbugs.gnu.org; Thu, 21 Jan 2016 11:08:54 -0500
Received: from eggs.gnu.org ([208.118.235.92]:43320)
 by debbugs.gnu.org with esmtp (Exim 4.84)
 (envelope-from <eliz@HIDDEN>) id 1aMHn2-0000J3-5X
 for 22338 <at> debbugs.gnu.org; Thu, 21 Jan 2016 11:08:53 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1aMHms-0004KK-TM
 for 22338 <at> debbugs.gnu.org; Thu, 21 Jan 2016 11:08:47 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:47616)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1aMHms-0004KG-Pi; Thu, 21 Jan 2016 11:08:42 -0500
Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4344
 helo=HOME-C4E4A596F7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1aMHms-000818-3I; Thu, 21 Jan 2016 11:08:42 -0500
Date: Thu, 21 Jan 2016 18:08:56 +0200
Message-Id: <83y4bi9ap3.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-reply-to: <m27fj3xmsv.fsf@HIDDEN> (message from Leo Liu on Thu, 21 Jan
 2016 18:13:36 +0800)
References: <m1si26yd6u.fsf@HIDDEN> <8337tyextd.fsf@HIDDEN>
 <m27fj3xmsv.fsf@HIDDEN>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

> From: Leo Liu <sdl.web@HIDDEN>
> Date: Thu, 21 Jan 2016 18:13:36 +0800
> 
> How did you revert? C-x C-v or eval (revert-buffer nil t t)?

The latter, of course.

> For me the latter always keeps the region active in 25.0.50 (built
> on 02 Jan 2016).

My build is more current, but I don't think anything's changed since
Jan 2.

Would you mind showing a more detailed recipe, including the file you
used and the exact procedure to change the file behind Emacs's back?
Also, how do you check that the mark is still active after the revert?
I feel there are some fine details that are different between our
attempts to reproduce the issue, because I cannot reproduce it no
matter what I do.  There's some factor here that I don't get.  I hope
it's not some stupid oversight on my part.

> The trouble is now users have no idea what the active region is. For
> example I've experienced reverts that change the active region to cover
> nearly the whole buffer.

Well, if we are talking about users, why would a user invoke
revert-buffer in such a strange way?  And if the region is active, but
not highlighted, doesn't "C-x C-x" show it highlighted?

Anyway, let's delay this discussion until we understand what exactly
is needed to reproduce the issue.

Thanks.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#22338: 25.0.50; deactivate-mark regression
In-Reply-To: <m1si26yd6u.fsf@HIDDEN>
Resent-From: Leo Liu <sdl.web@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 01 Feb 2016 11:04:01 +0000
Resent-Message-ID: <handler.22338.B.145432459410470 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 22338
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 22338 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.145432459410470
          (code B ref -1); Mon, 01 Feb 2016 11:04:01 +0000
Received: (at submit) by debbugs.gnu.org; 1 Feb 2016 11:03:14 +0000
Received: from localhost ([127.0.0.1]:43963 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1aQCGI-0002io-Ib
	for submit <at> debbugs.gnu.org; Mon, 01 Feb 2016 06:03:14 -0500
Received: from eggs.gnu.org ([208.118.235.92]:43414)
 by debbugs.gnu.org with esmtp (Exim 4.84)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1aQCGG-0002ib-Nw
 for submit <at> debbugs.gnu.org; Mon, 01 Feb 2016 06:03:13 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1aQCFr-00037x-Rh
 for submit <at> debbugs.gnu.org; Mon, 01 Feb 2016 06:03:07 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: ***
X-Spam-Status: No, score=3.5 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 FSL_HELO_BARE_IP_2,RCVD_NUMERIC_HELO autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:37392)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1aQCFr-00035W-PA
 for submit <at> debbugs.gnu.org; Mon, 01 Feb 2016 06:02:47 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:32931)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1aQCFZ-0003ku-Uv
 for bug-gnu-emacs@HIDDEN; Mon, 01 Feb 2016 06:02:43 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1aQCFO-0002P7-Ec
 for bug-gnu-emacs@HIDDEN; Mon, 01 Feb 2016 06:02:29 -0500
Received: from plane.gmane.org ([80.91.229.3]:47497)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1aQCFO-0002OU-88
 for bug-gnu-emacs@HIDDEN; Mon, 01 Feb 2016 06:02:18 -0500
Received: from list by plane.gmane.org with local (Exim 4.69)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1aQCFM-0004um-AE
 for bug-gnu-emacs@HIDDEN; Mon, 01 Feb 2016 12:02:16 +0100
Received: from 116.213.171.151 ([116.213.171.151])
 by main.gmane.org with esmtp (Gmexim 0.1 (Debian))
 id 1AlnuQ-0007hv-00
 for <bug-gnu-emacs@HIDDEN>; Mon, 01 Feb 2016 12:02:16 +0100
Received: from sdl.web by 116.213.171.151 with local (Gmexim 0.1 (Debian))
 id 1AlnuQ-0007hv-00
 for <bug-gnu-emacs@HIDDEN>; Mon, 01 Feb 2016 12:02:16 +0100
X-Injected-Via-Gmane: http://gmane.org/
From: Leo Liu <sdl.web@HIDDEN>
Date: Mon, 01 Feb 2016 19:02:08 +0800
Lines: 25
Message-ID: <m260y8y9qn.fsf@HIDDEN>
References: <m1si26yd6u.fsf@HIDDEN> <8337tyextd.fsf@HIDDEN>
 <m27fj3xmsv.fsf@HIDDEN> <83y4bi9ap3.fsf@HIDDEN>
Mime-Version: 1.0
Content-Type: text/plain
X-Complaints-To: usenet@HIDDEN
X-Gmane-NNTP-Posting-Host: 116.213.171.151
Face: iVBORw0KGgoAAAANSUhEUgAAACgAAAAoBAMAAAB+0KVeAAAAElBMVEUAAAAAAP+LRRP0pGC+
 vr7///+7mT1iAAAAAWJLR0QAiAUdSAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9cBBwMO
 DhglKe4AAAEsSURBVCjPbZNBboQwDEV/Cd4X9QJRThApmn0XYW+Jyf2v0m+HhqDBgiAe9rcTG7QH
 w/1Vn2Ar8gBb/ocywSN3qK9T3z4eFDB4eApocBpeBs1RSykoJd8gQcm8pGmHXFso3ajnmsqV0TnY
 DQkOfXUfN5NwaI7AWTVOyEhcu1aHmdWItHddUVUcUgUBCkitu8V6ditHVOVdqzl2EQ1ZVGTbdK0V
 7cqn8vWzoU5Q/bF9Y/Y0cRU1xwkys5dJ+Dt6pBDWifcNQml8Gh2JVmPSoQzo7en0grswkxrUGYJ7
 0hSxxAGr7ZMwYcHIzprpi7TENEE1xtiYxixRlCfPBsUUrwHD7uGIwATrbnODJcVrPpVn3hxiGloe
 m/S+z3CtuzUSMo83N4DPH+F0evwR3P4A2k+75838OKQAAAAASUVORK5CYII=
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.90 (OS X 10.11.3)
Cancel-Lock: sha1:RYArH9ElfSCouDa65QRQV52tcmw=
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -1.7 (-)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.2 (---)

On 2016-01-21 18:08 +0200, Eli Zaretskii wrote:
> Would you mind showing a more detailed recipe, including the file you
> used and the exact procedure to change the file behind Emacs's back?
> Also, how do you check that the mark is still active after the revert?
> I feel there are some fine details that are different between our
> attempts to reproduce the issue, because I cannot reproduce it no
> matter what I do.  There's some factor here that I don't get.  I hope
> it's not some stupid oversight on my part.

I am now using GNU Emacs 25.0.90 built on 2016-01-31 and the problem
seems getting better. My current observation is this (revert-buffer nil
t t) only keeps the active mark if the file has not changed at all but
deactivates it otherwise. I modified the file by appending a line to it
using shell command.

> Well, if we are talking about users, why would a user invoke
> revert-buffer in such a strange way?  And if the region is active, but
> not highlighted, doesn't "C-x C-x" show it highlighted?

Obviously not directly. It can be part of a hook. For example I am using
a package to refactor erlang which writes to disk and send emacs the
list of files that may have changed.

HTH,
Leo





Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#22338: 25.0.50; deactivate-mark regression
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 01 Feb 2016 19:10:01 +0000
Resent-Message-ID: <handler.22338.B22338.145435377014144 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 22338
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Leo Liu <sdl.web@HIDDEN>
Cc: 22338 <at> debbugs.gnu.org
Reply-To: Eli Zaretskii <eliz@HIDDEN>
Received: via spool by 22338-submit <at> debbugs.gnu.org id=B22338.145435377014144
          (code B ref 22338); Mon, 01 Feb 2016 19:10:01 +0000
Received: (at 22338) by debbugs.gnu.org; 1 Feb 2016 19:09:30 +0000
Received: from localhost ([127.0.0.1]:45471 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1aQJqs-0003g3-3G
	for submit <at> debbugs.gnu.org; Mon, 01 Feb 2016 14:09:30 -0500
Received: from eggs.gnu.org ([208.118.235.92]:32974)
 by debbugs.gnu.org with esmtp (Exim 4.84)
 (envelope-from <eliz@HIDDEN>) id 1aQJqr-0003fs-4O
 for 22338 <at> debbugs.gnu.org; Mon, 01 Feb 2016 14:09:29 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1aQJqi-0001Dw-VK
 for 22338 <at> debbugs.gnu.org; Mon, 01 Feb 2016 14:09:24 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39178)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1aQJqi-0001Ds-Ry; Mon, 01 Feb 2016 14:09:20 -0500
Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1333
 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1aQJqi-0001Rs-5S; Mon, 01 Feb 2016 14:09:20 -0500
Date: Mon, 01 Feb 2016 21:08:57 +0200
Message-Id: <834mds1c52.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-reply-to: <m260y8y9qn.fsf@HIDDEN> (message from Leo Liu on Mon, 01 Feb
 2016 19:02:08 +0800)
References: <m1si26yd6u.fsf@HIDDEN> <8337tyextd.fsf@HIDDEN>
 <m27fj3xmsv.fsf@HIDDEN> <83y4bi9ap3.fsf@HIDDEN> <m260y8y9qn.fsf@HIDDEN>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.6 (-----)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.6 (-----)

> From: Leo Liu <sdl.web@HIDDEN>
> Date: Mon, 01 Feb 2016 19:02:08 +0800
> 
> I am now using GNU Emacs 25.0.90 built on 2016-01-31 and the problem
> seems getting better. My current observation is this (revert-buffer nil
> t t) only keeps the active mark if the file has not changed at all but
> deactivates it otherwise. I modified the file by appending a line to it
> using shell command.

This is exactly what I did, and your observations now match mine.

Do you still think the mark should be deactivated in that single case,
or can we conclude that the problem is no longer significant and close
this bug?

Thanks.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#22338: 25.0.50; deactivate-mark regression
In-Reply-To: <m1si26yd6u.fsf@HIDDEN>
Resent-From: Leo Liu <sdl.web@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 02 Feb 2016 01:38:02 +0000
Resent-Message-ID: <handler.22338.B.145437704313499 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 22338
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 22338 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.145437704313499
          (code B ref -1); Tue, 02 Feb 2016 01:38:02 +0000
Received: (at submit) by debbugs.gnu.org; 2 Feb 2016 01:37:23 +0000
Received: from localhost ([127.0.0.1]:55480 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1aQPuF-0003Vf-KB
	for submit <at> debbugs.gnu.org; Mon, 01 Feb 2016 20:37:23 -0500
Received: from eggs.gnu.org ([208.118.235.92]:46993)
 by debbugs.gnu.org with esmtp (Exim 4.84)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1aQPuD-0003VQ-Gb
 for submit <at> debbugs.gnu.org; Mon, 01 Feb 2016 20:37:22 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1aQPu7-0005hY-NX
 for submit <at> debbugs.gnu.org; Mon, 01 Feb 2016 20:37:16 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: **
X-Spam-Status: No, score=2.7 required=5.0 tests=BAYES_20,FREEMAIL_FROM,
 FSL_HELO_BARE_IP_2,RCVD_NUMERIC_HELO autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:58388)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1aQPu7-0005hU-KC
 for submit <at> debbugs.gnu.org; Mon, 01 Feb 2016 20:37:15 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:37964)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1aQPu6-0003pB-Qc
 for bug-gnu-emacs@HIDDEN; Mon, 01 Feb 2016 20:37:15 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1aQPu3-0005hG-89
 for bug-gnu-emacs@HIDDEN; Mon, 01 Feb 2016 20:37:14 -0500
Received: from plane.gmane.org ([80.91.229.3]:48165)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1aQPu3-0005hC-1Q
 for bug-gnu-emacs@HIDDEN; Mon, 01 Feb 2016 20:37:11 -0500
Received: from list by plane.gmane.org with local (Exim 4.69)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1aQPty-0002N4-5i
 for bug-gnu-emacs@HIDDEN; Tue, 02 Feb 2016 02:37:06 +0100
Received: from 116.213.171.151 ([116.213.171.151])
 by main.gmane.org with esmtp (Gmexim 0.1 (Debian))
 id 1AlnuQ-0007hv-00
 for <bug-gnu-emacs@HIDDEN>; Tue, 02 Feb 2016 02:37:06 +0100
Received: from sdl.web by 116.213.171.151 with local (Gmexim 0.1 (Debian))
 id 1AlnuQ-0007hv-00
 for <bug-gnu-emacs@HIDDEN>; Tue, 02 Feb 2016 02:37:06 +0100
X-Injected-Via-Gmane: http://gmane.org/
From: Leo Liu <sdl.web@HIDDEN>
Date: Tue, 02 Feb 2016 09:36:59 +0800
Lines: 12
Message-ID: <m2io27yjt0.fsf@HIDDEN>
References: <m1si26yd6u.fsf@HIDDEN> <8337tyextd.fsf@HIDDEN>
 <m27fj3xmsv.fsf@HIDDEN> <83y4bi9ap3.fsf@HIDDEN>
 <m260y8y9qn.fsf@HIDDEN> <834mds1c52.fsf@HIDDEN>
Mime-Version: 1.0
Content-Type: text/plain
X-Complaints-To: usenet@HIDDEN
X-Gmane-NNTP-Posting-Host: 116.213.171.151
Face: iVBORw0KGgoAAAANSUhEUgAAACgAAAAoBAMAAAB+0KVeAAAAG1BMVEUAAAA9Cgm3Hx1WWFWA
 gn+WmJWsrqv4+vcCAwCRl2MkAAAAAXRSTlMAQObYZgAAAAFiS0dEAIgFHUgAAAAJcEhZcwAAAYoA
 AAGKATOXMFgAAAAHdElNRQfXAQwDNR+ZJmElAAABIklEQVQoz22SPW+DQAyGWUq65qasd9PNUSX4
 AZHK2C1rJy5jpDS4IwRVup9dn7GNafpKIPPgzztXFSujqq1eM2n8h22oMkvxI/i9C97kRfMRUN55
 dS3BrsAwBXUtMLAO4lryh8kTjOxKpQNniNxAgZOEe4bZwsDTFhKdqZRLNII4OQNHhEuq/RMkm6Cj
 TnnEA/fk0BorcYn5qA3oaeAxbaBOLrX+9G48NZ2Fzc2tzDM8Q+tMypEOqYHh8mAWaaK3U/cDMOT5
 aMZMABgPXc7zPMs1A8DXO756GFJ/4fMEq47hTsAdn5avoxZ4ywl0c2w4Flu2Ybeyb3S+EqxX2DYA
 H8veJGEDTnHnrXvRaPyt+2kSfK6rfBZ2tUtfP/mR+pR6sX8BUZ/cDV7tvkoAAAAASUVORK5CYII=
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.90 (OS X 10.11.3)
Cancel-Lock: sha1:8A9OeEN28KQ/v8FSe+O8ebitqZY=
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -1.7 (-)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.2 (---)

On 2016-02-01 21:08 +0200, Eli Zaretskii wrote:
> This is exactly what I did, and your observations now match mine.
>
> Do you still think the mark should be deactivated in that single case,
> or can we conclude that the problem is no longer significant and close
> this bug?
>
> Thanks.

Yes I think that's the right thing to do. Will close it in a few days.

Thanks, Leo.





Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#22338: 25.0.50; deactivate-mark regression
Resent-From: Lars Ingebrigtsen <larsi@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 16 Feb 2016 07:08:01 +0000
Resent-Message-ID: <handler.22338.B22338.145560642628494 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 22338
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Leo Liu <sdl.web@HIDDEN>
Cc: 22338 <at> debbugs.gnu.org
Received: via spool by 22338-submit <at> debbugs.gnu.org id=B22338.145560642628494
          (code B ref 22338); Tue, 16 Feb 2016 07:08:01 +0000
Received: (at 22338) by debbugs.gnu.org; 16 Feb 2016 07:07:06 +0000
Received: from localhost ([127.0.0.1]:40740 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1aVZiz-0007PW-WA
	for submit <at> debbugs.gnu.org; Tue, 16 Feb 2016 02:07:06 -0500
Received: from hermes.netfonds.no ([80.91.224.195]:58498)
 by debbugs.gnu.org with esmtp (Exim 4.84)
 (envelope-from <larsi@HIDDEN>) id 1aVZiy-0007PO-KK
 for 22338 <at> debbugs.gnu.org; Tue, 16 Feb 2016 02:07:04 -0500
Received: from cpe-60-225-211-161.nsw.bigpond.net.au ([60.225.211.161]
 helo=mouse)
 by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.72) (envelope-from <larsi@HIDDEN>)
 id 1aVZia-00073k-Bv; Tue, 16 Feb 2016 08:06:41 +0100
From: Lars Ingebrigtsen <larsi@HIDDEN>
References: <m1si26yd6u.fsf@HIDDEN> <8337tyextd.fsf@HIDDEN>
 <m27fj3xmsv.fsf@HIDDEN> <83y4bi9ap3.fsf@HIDDEN>
 <m260y8y9qn.fsf@HIDDEN> <834mds1c52.fsf@HIDDEN>
 <m2io27yjt0.fsf@HIDDEN>
Date: Tue, 16 Feb 2016 18:06:36 +1100
In-Reply-To: <m2io27yjt0.fsf@HIDDEN> (Leo Liu's message of "Tue, 02 Feb
 2016 09:36:59 +0800")
Message-ID: <87twl93zib.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.91 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-MailScanner-ID: 1aVZia-00073k-Bv
X-Netfonds-MailScanner: Found to be clean
X-Netfonds-MailScanner-From: larsi@HIDDEN
MailScanner-NULL-Check: 1456211201.50667@nQ+VaWA/xRULZa07U3fOTA
X-Spam-Status: No
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.0 (/)

Leo Liu <sdl.web@HIDDEN> writes:

> On 2016-02-01 21:08 +0200, Eli Zaretskii wrote:
>> This is exactly what I did, and your observations now match mine.
>>
>> Do you still think the mark should be deactivated in that single case,
>> or can we conclude that the problem is no longer significant and close
>> this bug?
>>
>> Thanks.
>
> Yes I think that's the right thing to do. Will close it in a few days.

That was two weeks ago...  is this OK now?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#22338: 25.0.50; deactivate-mark regression
In-Reply-To: <m1si26yd6u.fsf@HIDDEN>
Resent-From: Leo Liu <sdl.web@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 16 Feb 2016 07:31:02 +0000
Resent-Message-ID: <handler.22338.B.14556078115243 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 22338
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 22338 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.14556078115243
          (code B ref -1); Tue, 16 Feb 2016 07:31:02 +0000
Received: (at submit) by debbugs.gnu.org; 16 Feb 2016 07:30:11 +0000
Received: from localhost ([127.0.0.1]:40776 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1aVa5L-0001MG-2B
	for submit <at> debbugs.gnu.org; Tue, 16 Feb 2016 02:30:11 -0500
Received: from eggs.gnu.org ([208.118.235.92]:50233)
 by debbugs.gnu.org with esmtp (Exim 4.84)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1aVa5J-0001DK-Mj
 for submit <at> debbugs.gnu.org; Tue, 16 Feb 2016 02:30:10 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1aVa4n-0004kR-H5
 for submit <at> debbugs.gnu.org; Tue, 16 Feb 2016 02:30:04 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: ***
X-Spam-Status: No, score=3.5 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 FSL_HELO_BARE_IP_2,RCVD_NUMERIC_HELO autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:34920)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1aVa4n-0004kK-Bk
 for submit <at> debbugs.gnu.org; Tue, 16 Feb 2016 02:29:37 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:39749)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1aVa4J-00056M-4F
 for bug-gnu-emacs@HIDDEN; Tue, 16 Feb 2016 02:29:37 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1aVa3F-0003jq-1J
 for bug-gnu-emacs@HIDDEN; Tue, 16 Feb 2016 02:29:07 -0500
Received: from plane.gmane.org ([80.91.229.3]:40143)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1aVa3E-0003jT-Pl
 for bug-gnu-emacs@HIDDEN; Tue, 16 Feb 2016 02:28:00 -0500
Received: from list by plane.gmane.org with local (Exim 4.69)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1aVa3A-0001C3-Ao
 for bug-gnu-emacs@HIDDEN; Tue, 16 Feb 2016 08:27:58 +0100
Received: from 116.213.171.155 ([116.213.171.155])
 by main.gmane.org with esmtp (Gmexim 0.1 (Debian))
 id 1AlnuQ-0007hv-00
 for <bug-gnu-emacs@HIDDEN>; Tue, 16 Feb 2016 08:27:56 +0100
Received: from sdl.web by 116.213.171.155 with local (Gmexim 0.1 (Debian))
 id 1AlnuQ-0007hv-00
 for <bug-gnu-emacs@HIDDEN>; Tue, 16 Feb 2016 08:27:56 +0100
X-Injected-Via-Gmane: http://gmane.org/
From: Leo Liu <sdl.web@HIDDEN>
Date: Tue, 16 Feb 2016 15:27:47 +0800
Lines: 11
Message-ID: <m2twl9cdxo.fsf@HIDDEN>
References: <m1si26yd6u.fsf@HIDDEN> <8337tyextd.fsf@HIDDEN>
 <m27fj3xmsv.fsf@HIDDEN> <83y4bi9ap3.fsf@HIDDEN>
 <m260y8y9qn.fsf@HIDDEN> <834mds1c52.fsf@HIDDEN>
 <m2io27yjt0.fsf@HIDDEN> <87twl93zib.fsf@HIDDEN>
Mime-Version: 1.0
Content-Type: text/plain
X-Complaints-To: usenet@HIDDEN
X-Gmane-NNTP-Posting-Host: 116.213.171.155
Face: iVBORw0KGgoAAAANSUhEUgAAACgAAAAoBAMAAAB+0KVeAAAAGFBMVEUKDAg1NjRWV1V9fnyg
 op/DxcLk5uP8/voi63ReAAAACXBIWXMAAAWJAAAFiQFtaJ36AAAAB3RJTUUH1goZAgAz00bgXgAA
 AeVJREFUKM9lk0Fz2jAQhQXJD3CCO70CmcC1YMtcWyTZ14Bl69xats4N9r6/3zWQBlodNKNPu/s0
 b1cCQFuZGpfVVh3vAvBJolIXRkapSuoRUtIdFyo1Y5xSdlAj7OtvD1XnXxmWRi+eWgcxyCed1lVV
 B1CrKyujMoi+eLA5kU1SsjoHlW+nQjTtFxk4MXgrOxvIqzoTZR8XgPaLl419zgsMaSGFPiUOZCIh
 thsx5Xy9NsK8Kwf/JoQgMxcVJ301HKkcSWaT0O7FY056J4U9xcYfnmVXG4801lW6lqwu2nKFZoHC
 HuzvaTVndZ+LaRQgZdthXw1cpynEkLEwyFHXk/aIxNQ6QeooJuzPMB+wn+D7JJNsiCcVA13/A3h/
 xE9J+WidpAwoYNmRFwyvSRhNVtsdaAewzZZP5uw82QL9+tyNfocyP0McAzICUr5Mk9RdIjWasUNx
 aIIt6NK4ZtXIMdfMQt3nuMAyWbLI4DqZ4xPq/ag8jPond4XU/cLuOgw6XCFX/YCUfcDAMMH58fD4
 G9kDchwfqVefkBwup2uZM+Q4WhJt5jN3AxXCsaS2yXEDuWgS8VOzW0gFjhEPmLyFMKBFaLb1HRwc
 DiaKwx0EeTMRYnYPQRW3PP4HApvlMv0PttX5v/D6Aws3IOSEwzmLAAAAAElFTkSuQmCC
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.91 (OS X 10.11.3)
Cancel-Lock: sha1:TF3g02uYET75y/vMg+MbaQjxULQ=
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -1.7 (-)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.2 (---)

On 2016-02-16 18:06 +1100, Lars Ingebrigtsen wrote:
> That was two weeks ago...  is this OK now?

Sorry there is a Spring Festival break.

The bug is still there however I can only reproduce this with a local
setup involving Erlang + wrangler + emacs (24.5, 25.0.91). I need time
to find a recipe to reproduce it.

Cheers,
Leo





Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#22338: 25.0.50; deactivate-mark regression
In-Reply-To: <m1si26yd6u.fsf@HIDDEN>
Resent-From: Leo Liu <sdl.web@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 18 Feb 2016 10:16:02 +0000
Resent-Message-ID: <handler.22338.B.14557905055444 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 22338
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 22338 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.14557905055444
          (code B ref -1); Thu, 18 Feb 2016 10:16:02 +0000
Received: (at submit) by debbugs.gnu.org; 18 Feb 2016 10:15:05 +0000
Received: from localhost ([127.0.0.1]:60207 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1aWLc0-0001Pk-Nh
	for submit <at> debbugs.gnu.org; Thu, 18 Feb 2016 05:15:04 -0500
Received: from eggs.gnu.org ([208.118.235.92]:33083)
 by debbugs.gnu.org with esmtp (Exim 4.84)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1aWLbz-0001On-J3
 for submit <at> debbugs.gnu.org; Thu, 18 Feb 2016 05:15:04 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1aWLbt-0002tj-82
 for submit <at> debbugs.gnu.org; Thu, 18 Feb 2016 05:14:58 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: ***
X-Spam-Status: No, score=3.5 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 FSL_HELO_BARE_IP_2,RCVD_NUMERIC_HELO autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:56916)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1aWLbt-0002tf-4b
 for submit <at> debbugs.gnu.org; Thu, 18 Feb 2016 05:14:57 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:52277)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1aWLbr-0000MK-Qy
 for bug-gnu-emacs@HIDDEN; Thu, 18 Feb 2016 05:14:57 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1aWLbn-0002sv-RC
 for bug-gnu-emacs@HIDDEN; Thu, 18 Feb 2016 05:14:55 -0500
Received: from plane.gmane.org ([80.91.229.3]:45552)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1aWLbn-0002si-KY
 for bug-gnu-emacs@HIDDEN; Thu, 18 Feb 2016 05:14:51 -0500
Received: from list by plane.gmane.org with local (Exim 4.69)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1aWLbk-0002ag-Bs
 for bug-gnu-emacs@HIDDEN; Thu, 18 Feb 2016 11:14:49 +0100
Received: from 116.213.171.155 ([116.213.171.155])
 by main.gmane.org with esmtp (Gmexim 0.1 (Debian))
 id 1AlnuQ-0007hv-00
 for <bug-gnu-emacs@HIDDEN>; Thu, 18 Feb 2016 11:14:48 +0100
Received: from sdl.web by 116.213.171.155 with local (Gmexim 0.1 (Debian))
 id 1AlnuQ-0007hv-00
 for <bug-gnu-emacs@HIDDEN>; Thu, 18 Feb 2016 11:14:48 +0100
X-Injected-Via-Gmane: http://gmane.org/
From: Leo Liu <sdl.web@HIDDEN>
Date: Thu, 18 Feb 2016 18:14:42 +0800
Lines: 24
Message-ID: <m2d1rue359.fsf@HIDDEN>
References: <m1si26yd6u.fsf@HIDDEN> <8337tyextd.fsf@HIDDEN>
 <m27fj3xmsv.fsf@HIDDEN> <83y4bi9ap3.fsf@HIDDEN>
 <m260y8y9qn.fsf@HIDDEN> <834mds1c52.fsf@HIDDEN>
 <m2io27yjt0.fsf@HIDDEN> <87twl93zib.fsf@HIDDEN>
 <m2twl9cdxo.fsf@HIDDEN>
Mime-Version: 1.0
Content-Type: text/plain
X-Complaints-To: usenet@HIDDEN
X-Gmane-NNTP-Posting-Host: 116.213.171.155
Face: iVBORw0KGgoAAAANSUhEUgAAACgAAAAoBAMAAAB+0KVeAAAAElBMVEUAAAAAAP+LRRP0pGC+
 vr7///+7mT1iAAAAAWJLR0QAiAUdSAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9cBBwMO
 DhglKe4AAAEsSURBVCjPbZNBboQwDEV/Cd4X9QJRThApmn0XYW+Jyf2v0m+HhqDBgiAe9rcTG7QH
 w/1Vn2Ar8gBb/ocywSN3qK9T3z4eFDB4eApocBpeBs1RSykoJd8gQcm8pGmHXFso3ajnmsqV0TnY
 DQkOfXUfN5NwaI7AWTVOyEhcu1aHmdWItHddUVUcUgUBCkitu8V6ditHVOVdqzl2EQ1ZVGTbdK0V
 7cqn8vWzoU5Q/bF9Y/Y0cRU1xwkys5dJ+Dt6pBDWifcNQml8Gh2JVmPSoQzo7en0grswkxrUGYJ7
 0hSxxAGr7ZMwYcHIzprpi7TENEE1xtiYxixRlCfPBsUUrwHD7uGIwATrbnODJcVrPpVn3hxiGloe
 m/S+z3CtuzUSMo83N4DPH+F0evwR3P4A2k+75838OKQAAAAASUVORK5CYII=
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.91 (OS X 10.11.3)
Cancel-Lock: sha1:7y9Y1BHcsRQe05ie8+mJ28ah47s=
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -1.7 (-)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.2 (---)

On 2016-02-16 15:27 +0800, Leo Liu wrote:
> The bug is still there however I can only reproduce this with a local
> setup involving Erlang + wrangler + emacs (24.5, 25.0.91).

I have found a recipe to partially reproduce the bug.

1. start emacs -Q
2. define a command

   (defun test ()
     (interactive)
     (shell-command (format "echo 'test' >> %s" buffer-file-name))
     (revert-buffer nil t t))

3. Open a file, mark an active region and M-x test

You should observe the mark stay active. The active region goes off
after 2 seconds. In emacs 24.5 the mark will go off immediately. With my
local setup the active region stays on. Thus I am calling this recipe
``partial''.

I wonder if it helps understand the issue.

Leo





Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#22338: 25.0.50; deactivate-mark regression
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 19 Feb 2016 21:01:02 +0000
Resent-Message-ID: <handler.22338.B22338.14559156509296 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 22338
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Leo Liu <sdl.web@HIDDEN>
Cc: 22338 <at> debbugs.gnu.org
Reply-To: Eli Zaretskii <eliz@HIDDEN>
Received: via spool by 22338-submit <at> debbugs.gnu.org id=B22338.14559156509296
          (code B ref 22338); Fri, 19 Feb 2016 21:01:02 +0000
Received: (at 22338) by debbugs.gnu.org; 19 Feb 2016 21:00:50 +0000
Received: from localhost ([127.0.0.1]:34321 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1aWsAU-0002Ps-86
	for submit <at> debbugs.gnu.org; Fri, 19 Feb 2016 16:00:50 -0500
Received: from eggs.gnu.org ([208.118.235.92]:37271)
 by debbugs.gnu.org with esmtp (Exim 4.84)
 (envelope-from <eliz@HIDDEN>) id 1aWsAT-0002Pg-2V
 for 22338 <at> debbugs.gnu.org; Fri, 19 Feb 2016 16:00:49 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1aWsAJ-0001YG-6V
 for 22338 <at> debbugs.gnu.org; Fri, 19 Feb 2016 16:00:44 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:40355)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1aWsAJ-0001Y6-2U; Fri, 19 Feb 2016 16:00:39 -0500
Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4231
 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1aWsAI-0001Lx-8o; Fri, 19 Feb 2016 16:00:38 -0500
Date: Fri, 19 Feb 2016 23:00:21 +0200
Message-Id: <838u2gquu2.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-reply-to: <m2d1rue359.fsf@HIDDEN> (message from Leo Liu on Thu, 18 Feb
 2016 18:14:42 +0800)
References: <m1si26yd6u.fsf@HIDDEN> <8337tyextd.fsf@HIDDEN>
 <m27fj3xmsv.fsf@HIDDEN> <83y4bi9ap3.fsf@HIDDEN>
 <m260y8y9qn.fsf@HIDDEN> <834mds1c52.fsf@HIDDEN>
 <m2io27yjt0.fsf@HIDDEN> <87twl93zib.fsf@HIDDEN>
 <m2twl9cdxo.fsf@HIDDEN> <m2d1rue359.fsf@HIDDEN>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

> From: Leo Liu <sdl.web@HIDDEN>
> Date: Thu, 18 Feb 2016 18:14:42 +0800
> 
> On 2016-02-16 15:27 +0800, Leo Liu wrote:
> > The bug is still there however I can only reproduce this with a local
> > setup involving Erlang + wrangler + emacs (24.5, 25.0.91).
> 
> I have found a recipe to partially reproduce the bug.
> 
> 1. start emacs -Q
> 2. define a command
> 
>    (defun test ()
>      (interactive)
>      (shell-command (format "echo 'test' >> %s" buffer-file-name))
>      (revert-buffer nil t t))
> 
> 3. Open a file, mark an active region and M-x test
> 
> You should observe the mark stay active. The active region goes off
> after 2 seconds. In emacs 24.5 the mark will go off immediately. With my
> local setup the active region stays on. Thus I am calling this recipe
> ``partial''.
> 
> I wonder if it helps understand the issue.

Not really.  In "emacs -Q", the region is deactivated by the command
loop, when it notices that the variable deactivate-mark is non-nil.
It is non-nil because the buffer was modified.  So this sounds like
Emacs working as designed to me.  In Emacs 24.5, the region is
deactivated by the same code for the same reason.  I don't know why in
24.5 this happens immediately, whereas in 25.0 it takes an extra
second (my guess is this is related to redisplay, and perhaps also to
the changed implementation of displaying the region).




Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 22 May 2016 16:35:35 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 22 12:35:35 2016
Received: from localhost ([127.0.0.1]:32980 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1b4WLn-00007y-Mu
	for submit <at> debbugs.gnu.org; Sun, 22 May 2016 12:35:35 -0400
Received: from eggs.gnu.org ([208.118.235.92]:36944)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1b4WLm-00007l-46
 for control <at> debbugs.gnu.org; Sun, 22 May 2016 12:35:34 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1b4WLc-00083X-6U
 for control <at> debbugs.gnu.org; Sun, 22 May 2016 12:35:29 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:51257)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1b4WLc-000824-25
 for control <at> debbugs.gnu.org; Sun, 22 May 2016 12:35:24 -0400
Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2342
 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>) id 1b4WLa-0003Ob-61
 for control <at> debbugs.gnu.org; Sun, 22 May 2016 12:35:22 -0400
Date: Sun, 22 May 2016 19:35:19 +0300
Message-Id: <8337pa6ofs.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: control <at> debbugs.gnu.org
Subject: Unblock
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -6.4 (------)
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Reply-To: Eli Zaretskii <eliz@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -6.4 (------)

unblock 19759 by 17976
unblock 19759 by 19548
unblock 19759 by 21182
unblock 19759 by 21650
unblock 19759 by 21871
unblock 19759 by 21874
unblock 19759 by 22107
unblock 19759 by 22147
unblock 19759 by 22338
thanks





Last modified: Sun, 22 May 2016 16:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.