From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Leo Liu Newsgroups: gmane.emacs.bugs Subject: bug#22338: 25.0.50; deactivate-mark regression Date: Thu, 21 Jan 2016 18:13:36 +0800 Message-ID: References: <8337tyextd.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1453371332 29257 80.91.229.3 (21 Jan 2016 10:15:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 21 Jan 2016 10:15:32 +0000 (UTC) To: 22338@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jan 21 11:15:20 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aMCGs-0003gx-Dv for geb-bug-gnu-emacs@m.gmane.org; Thu, 21 Jan 2016 11:15:18 +0100 Original-Received: from localhost ([::1]:46755 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aMCGn-0004Ff-7x for geb-bug-gnu-emacs@m.gmane.org; Thu, 21 Jan 2016 05:15:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36801) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aMCGg-0004FB-4m for bug-gnu-emacs@gnu.org; Thu, 21 Jan 2016 05:15:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aMCGc-0004qQ-MU for bug-gnu-emacs@gnu.org; Thu, 21 Jan 2016 05:15:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:39348) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aMCGc-0004qE-JU for bug-gnu-emacs@gnu.org; Thu, 21 Jan 2016 05:15:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aMCGc-0006ih-Fa for bug-gnu-emacs@gnu.org; Thu, 21 Jan 2016 05:15:02 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Leo Liu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 21 Jan 2016 10:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22338 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.145337124425743 (code B ref -1); Thu, 21 Jan 2016 10:15:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 21 Jan 2016 10:14:04 +0000 Original-Received: from localhost ([127.0.0.1]:55801 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aMCFg-0006h8-C6 for submit@debbugs.gnu.org; Thu, 21 Jan 2016 05:14:04 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:45543) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aMCFe-0006gX-Nh for submit@debbugs.gnu.org; Thu, 21 Jan 2016 05:14:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aMCFY-0004a3-O5 for submit@debbugs.gnu.org; Thu, 21 Jan 2016 05:13:57 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:40387) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aMCFY-0004Zw-LM for submit@debbugs.gnu.org; Thu, 21 Jan 2016 05:13:56 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36506) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aMCFX-00048R-NW for bug-gnu-emacs@gnu.org; Thu, 21 Jan 2016 05:13:56 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aMCFU-0004ZP-H0 for bug-gnu-emacs@gnu.org; Thu, 21 Jan 2016 05:13:55 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:52282) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aMCFU-0004Z0-Ag for bug-gnu-emacs@gnu.org; Thu, 21 Jan 2016 05:13:52 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aMCFS-0003D0-0o for bug-gnu-emacs@gnu.org; Thu, 21 Jan 2016 11:13:50 +0100 Original-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 ; Thu, 21 Jan 2016 11:13:50 +0100 Original-Received: from sdl.web by 116.213.171.151 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 21 Jan 2016 11:13:50 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 32 Original-X-Complaints-To: usenet@ger.gmane.org 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:111823 Archived-At: 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