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 12:00:01 +0200 Message-ID: References: <87prihxeu5.fsf@thinkpad.tsdh.de> <87ab9iggl0.fsf@thinkpad.tsdh.de> <497A20D6.4050208@harpegolden.net> <87vds5fx0j.fsf@thinkpad.tsdh.de> <874ozpm5xb.fsf@thinkpad.tsdh.de> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1232791303 23623 80.91.229.12 (24 Jan 2009 10:01:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 24 Jan 2009 10:01:43 +0000 (UTC) Cc: lennart.borgman@gmail.com, emacs-devel@gnu.org To: Tassilo Horn Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 24 11:02:56 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 1LQfLp-0008RV-Un for ged-emacs-devel@m.gmane.org; Sat, 24 Jan 2009 11:02:54 +0100 Original-Received: from localhost ([127.0.0.1]:47093 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LQfKY-0003SY-66 for ged-emacs-devel@m.gmane.org; Sat, 24 Jan 2009 05:01:34 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LQfJW-0002qH-16 for emacs-devel@gnu.org; Sat, 24 Jan 2009 05:00:30 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LQfJV-0002pz-1q for emacs-devel@gnu.org; Sat, 24 Jan 2009 05:00:29 -0500 Original-Received: from [199.232.76.173] (port=41505 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LQfJU-0002pt-Q9 for emacs-devel@gnu.org; Sat, 24 Jan 2009 05:00:28 -0500 Original-Received: from mtaout1.012.net.il ([84.95.2.1]:57900) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LQfJU-0004hb-8u for emacs-devel@gnu.org; Sat, 24 Jan 2009 05:00:28 -0500 Original-Received: from conversion-daemon.i-mtaout1.012.net.il by i-mtaout1.012.net.il (HyperSendmail v2007.08) id <0KDY00A00ZCQ9400@i-mtaout1.012.net.il> for emacs-devel@gnu.org; Sat, 24 Jan 2009 12:00:24 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.126.6.113]) by i-mtaout1.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KDY0088EZSFRIA0@i-mtaout1.012.net.il>; Sat, 24 Jan 2009 12:00:24 +0200 (IST) In-reply-to: <874ozpm5xb.fsf@thinkpad.tsdh.de> 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:108183 Archived-At: > From: Tassilo Horn > Date: Sat, 24 Jan 2009 10:04:00 +0100 > Cc: emacs-devel@gnu.org > > Concering these "inconsistent state" discussions: How about adding some > more text to the docstring of `kill-emacs-hook' explaining that user's > shouldn't put very time intensive functions there, and that in some > situations something may go wrong. If the Lisp infrastructure is in an inconsistent state, there's nothing the user can do or avoid doing in `kill-emacs-hook' to avoid trouble. There are situations in Emacs when Lisp code simply cannot be run safely.