Subject: bug#36160: 25.2; Emacs does not ask to save modified files when shutting down OS

From: Stefan Kangas <[email-masked]>
Date: Tue, 25 Aug 2020 17:46:44 -0700

Glenn Morris <[email-masked]> writes:

> Eli Zaretskii wrote:
>
>> But how to distinguish SIGTERM due to system shutdown and SIGTERM when
>> the user triggers the signal?
>
> I don't think one can, or should.

Is this therefore a wontfix?  We already have auto-save files, as Glenn
pointed out.

(FWIW, It seems to me that we would need a solution for this on a
GNU/Linux level before we can do something in Emacs.  And AFAIK there is
no way for a user level program to halt a system halt.)