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


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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 21612 <at> debbugs.gnu.org, monnier <at> iro.umontreal.ca, rms <at> gnu.org,
 mrok4a <at> gmail.com
Subject: Re: bug#21612: 24.5; Configuration variable to delete auto-save
 file when intentionally killing buffer
Date: Mon, 23 Aug 2021 18:40:40 +0200
Eli Zaretskii <eliz <at> gnu.org> writes:

> 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?

If that's the case, it's a bug.  I'll have a look at this tomorrow.

(Hm...  and the code should check whether the auto-save file actually
exists, not just `recent-auto-save-p' -- the user may have deleted the
auto-save file manually.)

> 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?

I think that's too dangerous, really, so I'd rather not.  But if others
feel strongly that that should be a feature, I wouldn't oppose it.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




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.