From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: grischka Newsgroups: gmane.emacs.devel Subject: Re: Functions in kill-emacs-hook aren't run if emacs gets killed with SIGTERM Date: Fri, 23 Jan 2009 20:01:43 +0100 Message-ID: <497A1417.8040306@gmx.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1232737333 20787 80.91.229.12 (23 Jan 2009 19:02:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 23 Jan 2009 19:02:13 +0000 (UTC) Cc: emacs-devel@gnu.org To: eliz@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 23 20:03:26 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 1LQRJG-0007rR-VJ for ged-emacs-devel@m.gmane.org; Fri, 23 Jan 2009 20:03:19 +0100 Original-Received: from localhost ([127.0.0.1]:40257 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LQRHz-0003Su-FN for ged-emacs-devel@m.gmane.org; Fri, 23 Jan 2009 14:01:59 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LQRHs-0003SC-EY for emacs-devel@gnu.org; Fri, 23 Jan 2009 14:01:52 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LQRHq-0003Rc-G0 for emacs-devel@gnu.org; Fri, 23 Jan 2009 14:01:51 -0500 Original-Received: from [199.232.76.173] (port=53469 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LQRHq-0003RZ-Ac for emacs-devel@gnu.org; Fri, 23 Jan 2009 14:01:50 -0500 Original-Received: from mail.gmx.net ([213.165.64.20]:39088) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1LQRHp-0001fN-Jn for emacs-devel@gnu.org; Fri, 23 Jan 2009 14:01:50 -0500 Original-Received: (qmail invoked by alias); 23 Jan 2009 19:01:47 -0000 Original-Received: from p57A08C53.dip0.t-ipconnect.de (EHLO [192.168.1.3]) [87.160.140.83] by mail.gmx.net (mp038) with SMTP; 23 Jan 2009 20:01:47 +0100 X-Authenticated: #18588216 X-Provags-ID: V01U2FsdGVkX19Hcsgv9jJHktfp7oPg1S/pgDJKaXyIiz+hvy7Qlk pN4WmTuV0shUNU User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) Original-References: u7i4mujro.fsf@gnu.org X-Y-GMX-Trusted: 0 X-FuHaFi: 0.6899999999999999 X-detected-operating-system: by monty-python.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:108160 Archived-At: > On balance, I would leave things as they are, i.e. don't run > kill-emacs-hook when we get SIGTERM. After all, we are being killed, > so only the minimum necessary cleanup should be in order. That seems to me like a quite twisted argumentation to say that "kill-emacs-hook" should NOT be run because "After all, we are being killed ...". Btw, with SIGINT emacs (GTK) quits like this Fatal Error (6)Abort Is this a bug? --- grischka