[darcs-users] `darcs record` leaves emacs backup files in top directory
Jamie Webb
j at jmawebb.cjb.net
Tue Apr 5 23:29:56 UTC 2005
On Tue, Apr 05, 2005 at 06:19:38PM +0200, Albert Reiner wrote:
> I have Emacs set as my editor. Whenever I enter a long comment while
> recording, a temporary file seems to be created in the top directory
> of the tree, emacs called to edit that, and the temporary file deleted
> after use. The problem is, of course, that this leaves emacs backup
> files with names like darcsIzlcRT~, darcsTWTLxO~, darcsxMOv3Y~ around.
As a workaround, you can set the backup-enable-predicate suitably in
your .emacs.
> I would have expected those files to go into DARCS_TMPDIR, or maybe
> even into a temporary directory under _darcs that is deleted wholesale
> afterwards (shouldn't darcs keep whatever it needs outside my working
> tree anyway?). Is there any setting that I am unaware of?
I agree. Backups aside, it's annoying when these files get left around
if darcs is killed.
-- Jamie Webb
More information about the darcs-users
mailing list