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: Fri, 20 Aug 2021 15:29:01 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

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





reply via email to

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