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 #64 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: mrok4a <at> gmail.com, rms <at> gnu.org, 21612 <at> debbugs.gnu.org
Subject: Re: bug#21612: 24.5; Configuration variable to delete auto-save
 file when intentionally killing buffer
Date: Fri, 20 Aug 2021 15:29:01 +0200
Eli Zaretskii <eliz <at> gnu.org> writes:

>> >> Under which conditions will it delete anything?  Hm...  well, I guess if
>> >> you set the buffer to non-modified manually and then kills it, it'll
>> >> delete the auto-save file?
>> >
>> > Yes.  Or any other command that resets the modified status without
>> > also deleting the auto-save file.
>> 
>> Are there any other commands that do this?
>
> I don't really know of any specific ones, but where there's one, there
> could be others.

I actually tried this instead of making sense of the code, and:

emacs -Q /tmp/foo
insert bar
M-x do-auto-save
M-x not-modified
C-x k RET

The auto-save file is not deleted.

So I'm back to my second interpretation of the code -- I don't
understand under what condition it's actually triggered (if any).

-- 
(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.