all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Stefan Kangas <stefan@marxist.se>
Cc: rgm@gnu.org, larsi@gnus.org, pretoriusjf@gmail.com,
	36160@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	[thread overview]
Message-ID: <837dtm3pd1.fsf@gnu.org> (raw)
In-Reply-To: <CADwFkm=K8S4HDr2vwaBL095TkT3a6Cc2JxuTf4nA1df1E+JQdA@mail.gmail.com> (message from Stefan Kangas on Tue, 25 Aug 2020 17:46:44 -0700)

> 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	other threads:[~2020-08-26  6:14 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-10 18:31 bug#36160: 25.2; Emacs does not ask to save modified files when shutting down OS Johan Pretorius
2019-06-13 15:59 ` Glenn Morris
2019-06-13 16:56   ` Lars Ingebrigtsen
2019-06-13 17:36     ` Glenn Morris
2019-06-13 18:56       ` Glenn Morris
2019-06-13 19:24       ` Eli Zaretskii
2019-06-13 19:38         ` Glenn Morris
2020-08-26  0:46           ` Stefan Kangas
2020-08-26  6:14             ` Eli Zaretskii [this message]
2020-08-27  6:16               ` Stefan Kangas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=837dtm3pd1.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=36160@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    --cc=pretoriusjf@gmail.com \
    --cc=rgm@gnu.org \
    --cc=stefan@marxist.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.