Subject: Re: bug#13522: 24.2; save-buffer removes edited file under some conditions

From: Lars Ingebrigtsen <[email-masked]>
Date: Mon, 14 Mar 2022 14:43:14 +0100

Eli Zaretskii <[email-masked]> writes:

> Is it "C-c to kill Emacs" as in "terminate Emacs with a fatal signal",
> or is it "C-x C-c" as in "exit Emacs in an orderly fashion"?
>
> If the former, then in general killing a program when it is in the
> middle of writing files isn't guaranteed to preserve those files.

It's the former (sort of).

And, yes, we make no guarantees, but the present situation doesn't seem
optimal.  The user may well hit `C-z' at the prompt and wonder where the
file disappeared to.

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