GNU bug report logs - #31908
Save file locks in centralized location

Previous Next

Package: emacs;

Reported by: Radon Rosborough <radon.neon <at> gmail.com>

Date: Wed, 20 Jun 2018 04:43:01 UTC

Severity: wishlist

Tags: confirmed

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Radon Rosborough <radon.neon <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Save file locks in centralized location
Date: Tue, 19 Jun 2018 22:41:13 -0600
While you have an unsaved buffer, Emacs creates a lock file [1] in the
current directory. This is useful to prevent concurrent edits, but it
is also annoying to have the extra file around: for example, if you
save frequently while you have a Dired pane with a fast Auto Revert
enabled in another window, the lock file will keep appearing and
disappearing rapidly.

I wish for Emacs to save its lock files in some subdirectory of my
`user-emacs-directory', rather than in the same directory as the file
under consideration. Is that possible? If not, is it possible to
implement the feature someday?

I found no relevant discussion on the bug tracker or on emacs-devel,
and I only found the discouraging [2] on Stack Exchange.

[1]: https://www.gnu.org/software/emacs/manual/html_node/elisp/File-Locks.html
[2]: https://emacs.stackexchange.com/q/5967/12534




This bug report was last modified 3 years and 117 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.