From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.devel Subject: Re: Emacs daemon doesn't terminate on SIGTERM any more Date: Sun, 24 Oct 2010 15:41:40 -0400 Message-ID: References: <19649.19677.433824.461239@a1i15.kph.uni-mainz.de> <19650.5497.137779.175728@a1i15.kph.uni-mainz.de> <4CC2A3DB.2090904@swipnet.se> <4CC3F2F8.5080406@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1287949312 29244 80.91.229.12 (24 Oct 2010 19:41:52 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 24 Oct 2010 19:41:52 +0000 (UTC) Cc: Ulrich Mueller , emacs-devel@gnu.org To: Jan =?iso-8859-1?Q?Dj=E4rv?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 24 21:41:50 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PA6Ry-0000Ui-1i for ged-emacs-devel@m.gmane.org; Sun, 24 Oct 2010 21:41:50 +0200 Original-Received: from localhost ([127.0.0.1]:39474 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PA6Rx-00041I-GI for ged-emacs-devel@m.gmane.org; Sun, 24 Oct 2010 15:41:49 -0400 Original-Received: from [140.186.70.92] (port=32977 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PA6Rq-00040J-P7 for emacs-devel@gnu.org; Sun, 24 Oct 2010 15:41:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PA6Rp-0008JV-NC for emacs-devel@gnu.org; Sun, 24 Oct 2010 15:41:42 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:41475) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PA6Rp-0008JQ-Ll for emacs-devel@gnu.org; Sun, 24 Oct 2010 15:41:41 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1PA6Ro-0002Qe-Q0; Sun, 24 Oct 2010 15:41:40 -0400 X-Spook: computer terrorism BCCI world domination Exon Shell X-Ran: daC>}jt-AY8yHGDS;@kRb5UxB|&xh[I7DC6x3QO_|KTQeJ ("Jan =?iso-8859-1?Q?Dj=E4rv=22?= =?iso-8859-1?Q?'s?= message of "Sun\, 24 Oct 2010 10\:48\:56 +0200") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:132060 Archived-At: Jan Dj=E4rv wrote: > Not sure. Things like desktop.el doesn't want to cancel the shutdown, > just ask some questions.=20 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."