From unknown Sat Aug 16 00:31:09 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#17389 <17389@debbugs.gnu.org> To: bug#17389 <17389@debbugs.gnu.org> Subject: Status: 24.4.50; REGRESSION: extraneous file locking Reply-To: bug#17389 <17389@debbugs.gnu.org> Date: Sat, 16 Aug 2025 07:31:09 +0000 retitle 17389 24.4.50; REGRESSION: extraneous file locking reassign 17389 emacs submitter 17389 Drew Adams severity 17389 normal tag 17389 notabug thanks From debbugs-submit-bounces@debbugs.gnu.org Fri May 02 11:16:01 2014 Received: (at submit) by debbugs.gnu.org; 2 May 2014 15:16:01 +0000 Received: from localhost ([127.0.0.1]:48570 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WgFBw-0006nd-6e for submit@debbugs.gnu.org; Fri, 02 May 2014 11:16:00 -0400 Received: from eggs.gnu.org ([208.118.235.92]:41143) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WgFBu-0006nM-3b for submit@debbugs.gnu.org; Fri, 02 May 2014 11:15:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WgFBc-0006bM-Ob for submit@debbugs.gnu.org; Fri, 02 May 2014 11:15:53 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:45425) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WgFBc-0006bD-By for submit@debbugs.gnu.org; Fri, 02 May 2014 11:15:40 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42778) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WgFBT-0004e4-08 for bug-gnu-emacs@gnu.org; Fri, 02 May 2014 11:15:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WgFBJ-0006Va-3q for bug-gnu-emacs@gnu.org; Fri, 02 May 2014 11:15:30 -0400 Received: from aserp1040.oracle.com ([141.146.126.69]:50442) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WgFBI-0006VL-TO for bug-gnu-emacs@gnu.org; Fri, 02 May 2014 11:15:21 -0400 Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id s42FFJAG003134 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 2 May 2014 15:15:20 GMT Received: from userz7022.oracle.com (userz7022.oracle.com [156.151.31.86]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s42FFIwx025168 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 2 May 2014 15:15:19 GMT Received: from abhmp0012.oracle.com (abhmp0012.oracle.com [141.146.116.18]) by userz7022.oracle.com (8.14.5+Sun/8.14.4) with ESMTP id s42FFHr5018468 for ; Fri, 2 May 2014 15:15:18 GMT MIME-Version: 1.0 Message-ID: <4f6a766a-0bfa-4d0c-a4f9-2a085a5b2063@default> Date: Fri, 2 May 2014 08:15:16 -0700 (PDT) From: Drew Adams To: bug-gnu-emacs@gnu.org Subject: 24.4.50; REGRESSION: extraneous file locking X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6691.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) With this build I am seeing file locking that prevents two Emacs sessions from editing the same buffer. Emacs pops up annoying questions etc. Previously, it was only if you tried to save a buffer that Emacs let you know about possible conflicts. In Emacs 24.3, emacs -Q: C-x C-f iii.el Type some text. Do not save the buffer. Do not exit Emacs. Do the same thing again. No problem. Emacs does not annoy you, telling you in the second session that some other user/session has file iii.el locked. Now do the same thing in this build. You cannot type text into the second session's iii.el buffer. You must first answer the (unclear) question. This is quite annoying, unnecessary, and counterproductive. In GNU Emacs 24.4.50.1 (i686-pc-mingw32) of 2014-04-29 on ODIEONE Bzr revision: 117031 monnier@iro.umontreal.ca-20140429151607-qnkgbymwfaj5ut= 08 Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --prefix=3D/c/Devel/emacs/snapshot/trunk --enable-checking=3Dyes,glyphs 'CFLAGS=3D-O0 -g3' LDFLAGS=3D-Lc:/Devel/emacs/lib 'CPPFLAGS=3D-DGC_MCHECK=3D1 -Ic:/Devel/emacs/include'' From debbugs-submit-bounces@debbugs.gnu.org Fri May 02 11:40:16 2014 Received: (at 17389) by debbugs.gnu.org; 2 May 2014 15:40:16 +0000 Received: from localhost ([127.0.0.1]:48582 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WgFZP-0007Z9-Vz for submit@debbugs.gnu.org; Fri, 02 May 2014 11:40:16 -0400 Received: from mtaout23.012.net.il ([80.179.55.175]:33334) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WgFZM-0007Ys-Ot for 17389@debbugs.gnu.org; Fri, 02 May 2014 11:40:14 -0400 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0N4Y00500E2L3T00@a-mtaout23.012.net.il> for 17389@debbugs.gnu.org; Fri, 02 May 2014 18:40:06 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N4Y005LVE6T2H10@a-mtaout23.012.net.il>; Fri, 02 May 2014 18:40:06 +0300 (IDT) Date: Fri, 02 May 2014 18:40:22 +0300 From: Eli Zaretskii Subject: Re: bug#17389: 24.4.50; REGRESSION: extraneous file locking In-reply-to: <4f6a766a-0bfa-4d0c-a4f9-2a085a5b2063@default> X-012-Sender: halo1@inter.net.il To: Drew Adams Message-id: <83lhuk195l.fsf@gnu.org> References: <4f6a766a-0bfa-4d0c-a4f9-2a085a5b2063@default> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 17389 Cc: 17389@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Fri, 2 May 2014 08:15:16 -0700 (PDT) > From: Drew Adams > > With this build I am seeing file locking that prevents two Emacs > sessions from editing the same buffer. Emacs pops up annoying questions > etc. That's the intended behavior. > Previously, it was only if you tried to save a buffer that Emacs > let you know about possible conflicts. That's not true, this works like that since file locking was ported to Windows more than a year ago. I just tried that in a very old build, and saw exactly what you describe, as expected. Unless you didn't describe the recipe in enough details, that is. > In Emacs 24.3, emacs -Q: > C-x C-f iii.el > Type some text. Do not save the buffer. Do not exit Emacs. > > Do the same thing again. No problem. Emacs does not annoy you, telling > you in the second session that some other user/session has file iii.el > locked. Indeed, this is a new feature (on Windows) in Emacs 24.4. On other platforms, Emacs behaved like that since a very long time ago. etc/NEWS tells how to turn this feature off, if you don't want it. From debbugs-submit-bounces@debbugs.gnu.org Fri May 02 11:57:59 2014 Received: (at 17389) by debbugs.gnu.org; 2 May 2014 15:57:59 +0000 Received: from localhost ([127.0.0.1]:48598 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WgFqZ-00089M-7R for submit@debbugs.gnu.org; Fri, 02 May 2014 11:57:59 -0400 Received: from aserp1040.oracle.com ([141.146.126.69]:42596) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WgFqW-000891-OJ for 17389@debbugs.gnu.org; Fri, 02 May 2014 11:57:57 -0400 Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id s42Fvo5c021853 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 2 May 2014 15:57:50 GMT Received: from aserz7022.oracle.com (aserz7022.oracle.com [141.146.126.231]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s42FvnUf013517 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 2 May 2014 15:57:49 GMT Received: from abhmp0012.oracle.com (abhmp0012.oracle.com [141.146.116.18]) by aserz7022.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s42FvnLv013508; Fri, 2 May 2014 15:57:49 GMT MIME-Version: 1.0 Message-ID: <7a12b2c2-8563-49cd-83a8-d53c0b701f82@default> Date: Fri, 2 May 2014 08:57:48 -0700 (PDT) From: Drew Adams To: Eli Zaretskii , Drew Adams Subject: RE: bug#17389: 24.4.50; REGRESSION: extraneous file locking References: <<4f6a766a-0bfa-4d0c-a4f9-2a085a5b2063@default>> <<83lhuk195l.fsf@gnu.org>> In-Reply-To: <<83lhuk195l.fsf@gnu.org>> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6691.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-Spam-Score: -3.0 (---) X-Debbugs-Envelope-To: 17389 Cc: 17389@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.0 (---) > Indeed, this is a new feature (on Windows) in Emacs 24.4. On other > platforms, Emacs behaved like that since a very long time ago. > etc/NEWS tells how to turn this feature off, if you don't want it. That says to customize `create-lockfiles' to nil to disable file locking. Not sure what that means. Will that restore the pre-Emacs 24.4 behavior? I want Emacs to do exactly what it has done before in this regard, neither more nor less. From debbugs-submit-bounces@debbugs.gnu.org Fri May 02 12:15:52 2014 Received: (at 17389) by debbugs.gnu.org; 2 May 2014 16:15:52 +0000 Received: from localhost ([127.0.0.1]:48608 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WgG7r-0000H8-R3 for submit@debbugs.gnu.org; Fri, 02 May 2014 12:15:52 -0400 Received: from mtaout21.012.net.il ([80.179.55.169]:38358) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WgG7p-0000Gp-7X for 17389@debbugs.gnu.org; Fri, 02 May 2014 12:15:50 -0400 Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0N4Y00G00F1PQ400@a-mtaout21.012.net.il> for 17389@debbugs.gnu.org; Fri, 02 May 2014 19:15:42 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N4Y00G9CFU6O770@a-mtaout21.012.net.il>; Fri, 02 May 2014 19:15:42 +0300 (IDT) Date: Fri, 02 May 2014 19:15:58 +0300 From: Eli Zaretskii Subject: Re: bug#17389: 24.4.50; REGRESSION: extraneous file locking In-reply-to: <7a12b2c2-8563-49cd-83a8-d53c0b701f82@default> X-012-Sender: halo1@inter.net.il To: Drew Adams Message-id: <83iopo17i9.fsf@gnu.org> References: <7a12b2c2-8563-49cd-83a8-d53c0b701f82@default> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 17389 Cc: 17389@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Fri, 2 May 2014 08:57:48 -0700 (PDT) > From: Drew Adams > Cc: 17389@debbugs.gnu.org > > > Indeed, this is a new feature (on Windows) in Emacs 24.4. On other > > platforms, Emacs behaved like that since a very long time ago. > > etc/NEWS tells how to turn this feature off, if you don't want it. > > That says to customize `create-lockfiles' to nil to disable file > locking. Not sure what that means. Will that restore the pre-Emacs > 24.4 behavior? I want Emacs to do exactly what it has done before > in this regard, neither more nor less. It will restore the previous behavior regarding file locking, i.e. files you modify will not be locked. Whether that is what you want, I don't know, but it should be easy for you to try and see. From debbugs-submit-bounces@debbugs.gnu.org Fri May 02 17:14:20 2014 Received: (at control) by debbugs.gnu.org; 2 May 2014 21:14:20 +0000 Received: from localhost ([127.0.0.1]:48805 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WgKmh-00026G-RU for submit@debbugs.gnu.org; Fri, 02 May 2014 17:14:20 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:56484 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WgKmf-000266-1D for control@debbugs.gnu.org; Fri, 02 May 2014 17:14:17 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1WgKme-00055l-Qa for control@debbugs.gnu.org; Fri, 02 May 2014 17:14:16 -0400 Date: Fri, 02 May 2014 17:14:16 -0400 Message-Id: Subject: control message for bug 17389 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -5.7 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.7 (-----) tag 17389 notabug close 17389 From unknown Sat Aug 16 00:31:09 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 31 May 2014 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator