From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#31042: Emacs 27. Inserting a character doesn't always "deactivate" the mark. Date: Tue, 03 Apr 2018 17:08:00 +0300 Message-ID: <831sfw5qnz.fsf@gnu.org> References: <20180403134246.GA5363@ACM> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1522764448 13619 195.159.176.226 (3 Apr 2018 14:07:28 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 3 Apr 2018 14:07:28 +0000 (UTC) Cc: 31042@debbugs.gnu.org To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Apr 03 16:07:23 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f3Map-0003OL-Hc for geb-bug-gnu-emacs@m.gmane.org; Tue, 03 Apr 2018 16:07:23 +0200 Original-Received: from localhost ([::1]:37443 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f3Mcr-0000E2-L1 for geb-bug-gnu-emacs@m.gmane.org; Tue, 03 Apr 2018 10:09:29 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37439) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f3McV-0008WA-LZ for bug-gnu-emacs@gnu.org; Tue, 03 Apr 2018 10:09:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f3McQ-0008Gn-3z for bug-gnu-emacs@gnu.org; Tue, 03 Apr 2018 10:09:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:57475) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f3McP-0008Gc-Vx for bug-gnu-emacs@gnu.org; Tue, 03 Apr 2018 10:09:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1f3McP-0003ME-QH for bug-gnu-emacs@gnu.org; Tue, 03 Apr 2018 10:09:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 03 Apr 2018 14:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31042 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 31042-submit@debbugs.gnu.org id=B31042.152276448212841 (code B ref 31042); Tue, 03 Apr 2018 14:09:01 +0000 Original-Received: (at 31042) by debbugs.gnu.org; 3 Apr 2018 14:08:02 +0000 Original-Received: from localhost ([127.0.0.1]:37138 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f3MbS-0003L2-3C for submit@debbugs.gnu.org; Tue, 03 Apr 2018 10:08:02 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:46038) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f3MbQ-0003KZ-V2 for 31042@debbugs.gnu.org; Tue, 03 Apr 2018 10:08:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f3MbI-0007no-N1 for 31042@debbugs.gnu.org; Tue, 03 Apr 2018 10:07:55 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42862) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f3MbI-0007ni-JJ; Tue, 03 Apr 2018 10:07:52 -0400 Original-Received: from [176.228.60.248] (port=2758 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1f3MbI-0002eQ-2j; Tue, 03 Apr 2018 10:07:52 -0400 In-reply-to: <20180403134246.GA5363@ACM> (message from Alan Mackenzie on Tue, 3 Apr 2018 13:42:46 +0000) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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" Xref: news.gmane.org gmane.emacs.bugs:144850 Archived-At: > Date: Tue, 3 Apr 2018 13:42:46 +0000 > From: Alan Mackenzie > > On a related note, it appears that in the same function, the file > locking is done for the first change in a buffer. This locking would > appear not to be done if that first change to the buffer happens when > inhibit-modification-hooks is non-nil. I haven't tested this, but it > would appear to be part of the same bug. This is a feature, see the doc string of inhibit-modification-hooks.