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


Message #26 received at 36160 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 36160 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>, larsi <at> gnus.org,
 pretoriusjf <at> gmail.com
Subject: Re: bug#36160: 25.2; Emacs does not ask to save modified files when
 shutting down OS
Date: Tue, 25 Aug 2020 17:46:44 -0700
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?  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.)




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.