From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.devel Subject: Re: Functions in kill-emacs-hook aren't run if emacs gets killed with SIGTERM Date: Thu, 22 Jan 2009 10:03:39 +0100 Message-ID: <874ozr67bo.fsf@thinkpad.tsdh.de> References: <87prihxeu5.fsf@thinkpad.tsdh.de> <87eiywcudi.fsf@thinkpad.tsdh.de> <87ljt4v1mw.fsf@cyd.mit.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1232615092 13999 80.91.229.12 (22 Jan 2009 09:04:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 22 Jan 2009 09:04:52 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 22 10:06:04 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 1LPvV9-00050X-UX for ged-emacs-devel@m.gmane.org; Thu, 22 Jan 2009 10:05:53 +0100 Original-Received: from localhost ([127.0.0.1]:52730 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LPvTs-0000SY-Jj for ged-emacs-devel@m.gmane.org; Thu, 22 Jan 2009 04:04:08 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LPvTV-0000LU-Ou for emacs-devel@gnu.org; Thu, 22 Jan 2009 04:03:45 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LPvTV-0000L0-4N for emacs-devel@gnu.org; Thu, 22 Jan 2009 04:03:45 -0500 Original-Received: from [199.232.76.173] (port=39242 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LPvTU-0000Ko-Ue for emacs-devel@gnu.org; Thu, 22 Jan 2009 04:03:45 -0500 Original-Received: from out1.smtp.messagingengine.com ([66.111.4.25]:38247) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LPvTU-0008Ji-EI for emacs-devel@gnu.org; Thu, 22 Jan 2009 04:03:44 -0500 Original-Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id 3A92724A317 for ; Thu, 22 Jan 2009 04:03:44 -0500 (EST) Original-Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute1.internal (MEProxy); Thu, 22 Jan 2009 04:03:44 -0500 X-Sasl-enc: GUwiLyXlARosktF3KDL920+EITf+7+ZC2BzwjgyGR42E 1232615023 Original-Received: from thinkpad.tsdh.de (p54AF2374.dip0.t-ipconnect.de [84.175.35.116]) by mail.messagingengine.com (Postfix) with ESMTPA id 680BB2825B for ; Thu, 22 Jan 2009 04:03:43 -0500 (EST) Mail-Copies-To: never Mail-Followup-To: emacs-devel@gnu.org In-Reply-To: <87ljt4v1mw.fsf@cyd.mit.edu> (Chong Yidong's message of "Wed, 21 Jan 2009 15:35:03 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:108079 Archived-At: Chong Yidong writes: >> So what's the right way to shutdown emacs running as a daemon >> noninteractively? >> >> emacsclient --eval '(kill-emacs)' >> >> queries for user input and waits till one connects and answers. > > I've checked in a fix for this. Thanks, it works. (But still I'd prefer kill .) Bye, Tassilo