GNU bug report logs -
#18828
24.4; Early collision warning when 'create-lockfiles' is set to nil
Previous Next
Reported by: Dani Moncayo <dmoncayo <at> gmail.com>
Date: Sat, 25 Oct 2014 15:08:01 UTC
Severity: normal
Found in version 24.4
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
I've noticed this too.
(setq create-lockfiles nil) seems to turn off both the creation of
lockfiles (which are used to alert you if you start to modify a file
which another Emacs session concurrently has open in a modified, unsaved
state); and the feature of prompting you if you start to modify a file
which has changed on disk from what is visible in the buffer since you
opened or last reverted it.
I find myself wanting the latter feature but not the former. In
particular, the latter feature will detect if the file contents have
been changed by another application, whereas the lockfiles feature will
only detect if the file is currently being edited by another instance of
Emacs. So the 'create-lockfiles' variable should be limited to only
control the former feature, and maybe there should be another setting
for turning the latter feature on and off, though I wouldn't want to
turn if off myself.
Daniel
This bug report was last modified 10 years and 95 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.