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 #76 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 15:58:54 +0200
Eli Zaretskii <eliz <at> gnu.org> writes:

>> ----
>> Non-nil means delete auto-save file when a buffer is saved.
>> ----
>
> I wouldn't do that, because I think there could be situations where we
> do delete auto-save files in other cases.  The code says: delete if
> the file was auto-saved during this session, was auto-saved after
> being saved, and was modified after being saved.  That's not what we
> want, but I don't think it's impossible to have that.

As you say, it's not what we want...  and I don't think anybody would
want that...

>> Then delete the bit in `kill-buffer' that tries to act on that variable,
>> and then introduce the new variable previously discussed in this bug
>> report.
>> 
>> 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.

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




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

Previous Next


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