GNU bug report logs - #36160
25.2; Emacs does not ask to save modified files when shutting down OS

Previous Next

Package: emacs;

Reported by: Johan Pretorius <pretoriusjf <at> gmail.com>

Date: Mon, 10 Jun 2019 18:44:02 UTC

Severity: minor

Tags: notabug, wontfix

Found in version 25.2

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

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




This bug report was last modified 4 years and 265 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.