* bug#17389: 24.4.50; REGRESSION: extraneous file locking
@ 2014-05-02 15:15 Drew Adams
2014-05-02 15:40 ` Eli Zaretskii
0 siblings, 1 reply; 4+ messages in thread
From: Drew Adams @ 2014-05-02 15:15 UTC (permalink / raw)
To: 17389
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-qnkgbymwfaj5ut08
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
`configure --prefix=/c/Devel/emacs/snapshot/trunk
--enable-checking=yes,glyphs 'CFLAGS=-O0 -g3'
LDFLAGS=-Lc:/Devel/emacs/lib 'CPPFLAGS=-DGC_MCHECK=1
-Ic:/Devel/emacs/include''
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#17389: 24.4.50; REGRESSION: extraneous file locking
2014-05-02 15:15 bug#17389: 24.4.50; REGRESSION: extraneous file locking Drew Adams
@ 2014-05-02 15:40 ` Eli Zaretskii
0 siblings, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2014-05-02 15:40 UTC (permalink / raw)
To: Drew Adams; +Cc: 17389
> Date: Fri, 2 May 2014 08:15:16 -0700 (PDT)
> From: Drew Adams <drew.adams@oracle.com>
>
> 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.
^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <<4f6a766a-0bfa-4d0c-a4f9-2a085a5b2063@default>]
end of thread, other threads:[~2014-05-02 16:15 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-02 15:15 bug#17389: 24.4.50; REGRESSION: extraneous file locking Drew Adams
2014-05-02 15:40 ` Eli Zaretskii
[not found] <<4f6a766a-0bfa-4d0c-a4f9-2a085a5b2063@default>
[not found] ` <<83lhuk195l.fsf@gnu.org>
2014-05-02 15:57 ` Drew Adams
2014-05-02 16:15 ` Eli Zaretskii
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).