unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: "Jan Djärv" <jan.h.d@swipnet.se>
Cc: Ulrich Mueller <ulm@gentoo.org>, emacs-devel@gnu.org
Subject: Re: Emacs daemon doesn't terminate on SIGTERM any more
Date: Sun, 24 Oct 2010 15:41:40 -0400	[thread overview]
Message-ID: <xu1v7f5qff.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <4CC3F2F8.5080406@swipnet.se> ("Jan Djärv"'s message of "Sun\, 24 Oct 2010 10\:48\:56 +0200")

Jan Djärv wrote:

> Not sure.  Things like desktop.el doesn't want to cancel the shutdown,
> just ask some questions. 

I haven't looked at it properly, but I think maybe
kill-emacs-query-functions does the right thing, but has a bad
name/doc. Maybe it should be described as "List of functions to run
when killing Emacs that need to interact with the user. Additionally,
if any of them returns nil, killing Emacs is cancelled."



  parent reply	other threads:[~2010-10-24 19:41 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-22  8:35 Emacs daemon doesn't terminate on SIGTERM any more Ulrich Mueller
2010-10-22 22:51 ` Ulrich Mueller
2010-10-23  8:59   ` Jan Djärv
2010-10-23 18:40     ` Glenn Morris
2010-10-24  8:48       ` Jan Djärv
2010-10-24  9:17         ` Ulrich Mueller
2010-10-24 10:05           ` Jan Djärv
2010-10-24 19:41         ` Glenn Morris [this message]
2010-10-24 16:06     ` Chong Yidong
2010-10-25  5:42       ` Jan Djärv

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=xu1v7f5qff.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=jan.h.d@swipnet.se \
    --cc=ulm@gentoo.org \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).