This is the mail archive of the
mailing list for the Cygwin project.
Re: .#* lock files under X, for files I edit???
On 5/21/2009 1:04 PM, Marc Girod wrote:
Ken Brown-6 wrote:
They should disappear each
time you save the file you're editing.
Well, they don't.
The content was slightly blurred, because of my using html format
and forgetting to escape <> characters. As well as a couple of tags.
I'm puzzled as I look at your first post again, because emacs file locks
are symbolic links. Your post shows that the files are ordinary files
containing the string '<symlink>'. This suggests that you're working in
an environment that doesn't recognize cygwin symlinks. Could that
somehow explain why they aren't being deleted when you save the file?
According to the emacs documentation:
When you make the first modification in an Emacs buffer that is
visiting a file, Emacs records that the file is "locked" by you. (It
does this by creating a specially-named symbolic link in the same
directory.) Emacs removes the lock when you save the changes.
Here's an example of an emacs file lock on my system, while I'm editing
lrwxrwxrwx 1 kbrown None 18 May 21 13:15 .#diary ->
5828 is the PID of my emacs process. As soon as I save the file, the
symbolic link disappears.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html