* strange auto-save behavior on Lynx
@ 2003-09-08 20:39 Stephen Leake
2003-09-09 6:21 ` Eli Zaretskii
0 siblings, 1 reply; 2+ messages in thread
From: Stephen Leake @ 2003-09-08 20:39 UTC (permalink / raw)
I'm using Emacs 21.2 on Lynx 4.0 (yes, lynx, not linux). It's doing
something strange with auto-save files, and I'd like some help in
tracking it down.
When I first start typing in a file, say foo/bar.txt, a symbolic link
foo/.#bar.txt -> stephe@roke.89 is created. Then, when I save the
file, that symlink is renamed to stephe@roke.89 -> stephe@roke.89 (it
is _not_ deleted).
I assume this is a bug in the Lynx implementation somewhere; I'm
trying to track it down. I can't find a description of the correct
behavior in the Emacs manual (it talks about auto-save files, but not
at this level). I tried tracing save-buffer with debug-on-entry; the
rename is happening in write-region, which is a C file and can't be
traced this way. Before I start trying to read the C, I thought I'd
ask here.
Why is Emacs creating a symlink that doesn't point anywhere real in
the first place?
Can anyone explain what's supposed to happen?
Can anyone point to some code I should read to help find the bug?
--
-- Stephe
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: strange auto-save behavior on Lynx
2003-09-08 20:39 strange auto-save behavior on Lynx Stephen Leake
@ 2003-09-09 6:21 ` Eli Zaretskii
0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2003-09-09 6:21 UTC (permalink / raw)
> From: Stephen Leake <Stephe.Leake@nasa.gov>
> Newsgroups: gnu.emacs.help
> Date: 08 Sep 2003 16:39:05 -0400
>
> When I first start typing in a file, say foo/bar.txt, a symbolic link
> foo/.#bar.txt -> stephe@roke.89 is created. Then, when I save the
> file, that symlink is renamed to stephe@roke.89 -> stephe@roke.89 (it
> is _not_ deleted).
>
> I assume this is a bug in the Lynx implementation somewhere; I'm
> trying to track it down. I can't find a description of the correct
> behavior in the Emacs manual (it talks about auto-save files, but not
> at this level).
This is not an auto-save file, it's a user-lock file; it should be
deleted when you save your changes. See the node "Interlocking" in
the Emacs manual, which describes this feature.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-09-09 6:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-08 20:39 strange auto-save behavior on Lynx Stephen Leake
2003-09-09 6:21 ` Eli Zaretskii
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.