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 #17 received at 36160 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 36160 <at> debbugs.gnu.org, Johan Pretorius <pretoriusjf <at> gmail.com>
Subject: Re: bug#36160: 25.2;
 Emacs does not ask to save modified files when shutting down OS
Date: Thu, 13 Jun 2019 14:56:31 -0400
Glenn Morris wrote:

> Shutdown sends SIGTERM, so Emacs could (auto)save on receipt of that
> signal (if it doesn't already do so?).

And SIGTERM triggers kill-emacs, which runs kill-emacs-hook, so if you
want some (unprompted) saving, you could do it with that hook.




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

Previous Next


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