From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Functions in kill-emacs-hook aren't run if emacs gets killed with SIGTERM Date: Sat, 24 Jan 2009 00:39:19 +0200 Message-ID: References: <87prihxeu5.fsf@thinkpad.tsdh.de> <87ab9iggl0.fsf@thinkpad.tsdh.de> <497A20D6.4050208@harpegolden.net> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1232750393 3060 80.91.229.12 (23 Jan 2009 22:39:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 23 Jan 2009 22:39:53 +0000 (UTC) Cc: emacs-devel@gnu.org To: David De La Harpe Golden Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 23 23:41:06 2009 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.50) id 1LQUhw-0008NK-4z for ged-emacs-devel@m.gmane.org; Fri, 23 Jan 2009 23:41:00 +0100 Original-Received: from localhost ([127.0.0.1]:33606 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LQUge-0000r0-O5 for ged-emacs-devel@m.gmane.org; Fri, 23 Jan 2009 17:39:40 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LQUgZ-0000qu-Ed for emacs-devel@gnu.org; Fri, 23 Jan 2009 17:39:35 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LQUgY-0000q7-Dx for emacs-devel@gnu.org; Fri, 23 Jan 2009 17:39:35 -0500 Original-Received: from [199.232.76.173] (port=48114 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LQUgY-0000q2-9O for emacs-devel@gnu.org; Fri, 23 Jan 2009 17:39:34 -0500 Original-Received: from mtaout2.012.net.il ([84.95.2.4]:24373) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LQUgX-0003L0-RI for emacs-devel@gnu.org; Fri, 23 Jan 2009 17:39:34 -0500 Original-Received: from conversion-daemon.i_mtaout2.012.net.il by i_mtaout2.012.net.il (HyperSendmail v2004.12) id <0KDY00C0043ESG00@i_mtaout2.012.net.il> for emacs-devel@gnu.org; Sat, 24 Jan 2009 00:39:48 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.126.6.113]) by i_mtaout2.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0KDY007LZ49X74M1@i_mtaout2.012.net.il>; Sat, 24 Jan 2009 00:39:48 +0200 (IST) In-reply-to: <497A20D6.4050208@harpegolden.net> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: Solaris 9.1 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:108167 Archived-At: > Date: Fri, 23 Jan 2009 19:56:06 +0000 > From: David De La Harpe Golden > > Uh, but SIGTERM IS "please shutdown". Sorry, but _conventionally_ > automated systems* will issue a SIGTERM to allow graceful shutdown And Emacs obeys this. The argument is not whether Emacs obeys SIGTERM, the argument is whether user-defined hooks should run when we are hit with SIGTERM.