GNU bug report logs -
#8207
24.0.50; undo in indirect buffer leaves stale file lock symlink
Previous Next
Reported by: Stephen Berman <stephen.berman <at> gmx.net>
Date: Tue, 8 Mar 2011 21:52:02 UTC
Severity: normal
Found in version 24.0.50
Done: Chong Yidong <cyd <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 8207 in the body.
You can then email your comments to 8207 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#8207
; Package
emacs
.
(Tue, 08 Mar 2011 21:52:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Stephen Berman <stephen.berman <at> gmx.net>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Tue, 08 Mar 2011 21:52:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
1. emacs -Q
2. Visit some file, e.g. "foo".
3. M-: (switch-to-buffer (make-indirect-buffer (current-buffer) "bar"))
4. In the indirect buffer "bar" do something to modify the buffer,
e.g. type SPC. This causes a file lock symlink like the following to
be added to the directory containing "foo":
.#foo -> steve <at> escher.fritz.box.800:1299574078
5. Type `C-_' to undo the change in step 4, so that "bar" is now
unmodified, and then kill "bar".
=> The file lock symlink in foo's directory is still there.
If instead of undoing the change in step 5 the file had been saved, then
the lock would have been released and the symlink deleted. In fact,
this is the only way, aside from deleting it manually, to eliminate the
symlink. But if a change is undone, the file is unmodified and hence
cannot be saved, so the symlink should be deleted in this case.
In GNU Emacs 24.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.20.1)
of 2011-03-08 on escher
Windowing system distributor `The X.Org Foundation', version 11.0.10800000
configured using `configure '--without-toolkit-scroll-bars' 'CFLAGS=-g -O2 -fno-optimize-sibling-calls''
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#8207
; Package
emacs
.
(Sat, 22 Sep 2012 03:11:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 8207 <at> debbugs.gnu.org (full text, mbox):
Stephen Berman <stephen.berman <at> gmx.net> writes:
> 1. emacs -Q
> 2. Visit some file, e.g. "foo".
> 3. M-: (switch-to-buffer (make-indirect-buffer (current-buffer) "bar"))
> 4. In the indirect buffer "bar" do something to modify the buffer,
> e.g. type SPC. This causes a file lock symlink like the following to
> be added to the directory containing "foo":
> .#foo -> steve <at> escher.fritz.box.800:1299574078
> 5. Type `C-_' to undo the change in step 4, so that "bar" is now
> unmodified, and then kill "bar".
> => The file lock symlink in foo's directory is still there.
Fixed in trunk, thanks.
bug closed, send any further explanations to
8207 <at> debbugs.gnu.org and Stephen Berman <stephen.berman <at> gmx.net>
Request was from
Chong Yidong <cyd <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Sat, 22 Sep 2012 03:11:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 20 Oct 2012 11:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 12 years and 209 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.