all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#31908: Save file locks in centralized location
@ 2018-06-20  4:41 Radon Rosborough
  2018-06-20  6:03 ` Phil Sainty
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Radon Rosborough @ 2018-06-20  4:41 UTC (permalink / raw)
  To: 31908

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





^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-01-23 13:49 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-20  4:41 bug#31908: Save file locks in centralized location Radon Rosborough
2018-06-20  6:03 ` Phil Sainty
2018-06-20 15:29   ` Radon Rosborough
2018-06-21  8:34     ` Robert Pluim
2018-06-21 16:01       ` Radon Rosborough
2019-02-06 18:35 ` Mauro Mandracchia
2019-02-06 19:39   ` Eli Zaretskii
2022-01-23 13:49 ` Lars Ingebrigtsen

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.