bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#21612: 24.5; Configuration variable to delete auto-save file when in


From: Lars Ingebrigtsen
Subject: bug#21612: 24.5; Configuration variable to delete auto-save file when intentionally killing buffer
Date: Mon, 23 Aug 2021 18:40:40 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Eli Zaretskii <eliz@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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]