GNU bug report logs - #21612
24.5; Configuration variable to delete auto-save file when intentionally killing buffer

Previous Next

Package: emacs;

Reported by: Marcus <mrok4a <at> gmail.com>

Date: Sat, 3 Oct 2015 16:37:01 UTC

Severity: wishlist

Tags: moreinfo

Found in version 24.5

Fixed in version 28.1

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 21612 <at> debbugs.gnu.org, monnier <at> iro.umontreal.ca, rms <at> gnu.org, mrok4a <at> gmail.com
Subject: bug#21612: 24.5; Configuration variable to delete auto-save file when intentionally killing buffer
Date: Mon, 23 Aug 2021 19:24:49 +0300
> From: Lars Ingebrigtsen <larsi <at> gnus.org>
> Cc: monnier <at> iro.umontreal.ca,  mrok4a <at> gmail.com,  21612 <at> debbugs.gnu.org,
>   rms <at> gnu.org
> Date: Mon, 23 Aug 2021 15:58:54 +0200
> 
> >> The two things (deleting auto-save file when saving a file and killing a
> >> buffer) do not seem to be very related functionality, so having one
> >> variable for both things is just confusing.
> >
> > We could have 2 variables, yes.
> 
> ... so I've pushed the two-variable solution now.

Hmm... bother.  If the new variable kill-buffer-delete-auto-save-files
is non-nil, we ask the user even if we eventually don't delete the
auto-save file, for example if auto-save-visited-mode is in effect.
Is that TRT?

Also, I'd bet people would like to be able to delete them without any
questions asked, so maybe the variable should be a tristate, not a
boolean?

Thanks.




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

Previous Next


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