GNU bug report logs -
#21612
24.5; Configuration variable to delete auto-save file when intentionally killing buffer
Previous Next
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
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 321 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.