bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Eli Zaretskii
Subject: bug#36160: 25.2; Emacs does not ask to save modified files when shutting down OS
Date: Wed, 26 Aug 2020 09:14:50 +0300

> From: Stefan Kangas <stefan@marxist.se>
> Date: Tue, 25 Aug 2020 17:46:44 -0700
> Cc: Eli Zaretskii <eliz@gnu.org>, 36160@debbugs.gnu.org, larsi@gnus.org, 
>       pretoriusjf@gmail.com
> 
> Glenn Morris <rgm@gnu.org> 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?

I guess so.

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

I think we support the session management protocol for this, see
xsmfns.c.





reply via email to

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