From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Eric Schulte" Newsgroups: gmane.emacs.devel Subject: Re: alternative to `kill-emacs-hook' for batch mode? Date: Fri, 01 Oct 2010 14:35:00 -0600 Message-ID: <87aamxk5xn.fsf@gmail.com> References: <87eic9k6p2.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1285965318 28732 80.91.229.12 (1 Oct 2010 20:35:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 1 Oct 2010 20:35:18 +0000 (UTC) Cc: emacs-devel@gnu.org To: Glenn Morris Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 01 22:35:17 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 1P1mK5-0003Rb-At for ged-emacs-devel@m.gmane.org; Fri, 01 Oct 2010 22:35:17 +0200 Original-Received: from localhost ([127.0.0.1]:39525 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P1mK4-00061d-Gb for ged-emacs-devel@m.gmane.org; Fri, 01 Oct 2010 16:35:16 -0400 Original-Received: from [140.186.70.92] (port=42679 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P1mJu-00060R-Q9 for emacs-devel@gnu.org; Fri, 01 Oct 2010 16:35:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P1mJt-0002Z3-3E for emacs-devel@gnu.org; Fri, 01 Oct 2010 16:35:06 -0400 Original-Received: from mail-pv0-f169.google.com ([74.125.83.169]:39127) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P1mJs-0002W1-Up; Fri, 01 Oct 2010 16:35:05 -0400 Original-Received: by mail-pv0-f169.google.com with SMTP id 7so2001624pvc.0 for ; Fri, 01 Oct 2010 13:35:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references :date:in-reply-to:message-id:user-agent:mime-version:content-type; bh=cb42Dsh00drN6SwQhCFwuqnXGxVnZphSmioSyep9/MI=; b=W0WNxlqLjVFd4KV2JEMz7IJ9RnEZs3wIq54/FxHpUIFgKe/w7dxuuSwHQ2RzRETQhD /K3700iCxAkuqIzfJaaDdRE3734+xTvbvkh/QvkZ6mXq0JCNJNGDQPudn+lQS39IIGHp 2vbIzX0fiQkhbDWLe3eK6rS78DAYGa0x9vmik= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=rt3z524YL/pg1K68ATj50xtPFQjvTXn+qxGszS7GcXQKzQG7TdbGbTPKoPiSWzhyZi klM836dkud6qIcWlP3QYUM31EqEKpyaYxnLIQcgK+QApxVlg+qOUGNQi6iFLQOep8GmJ Ul8BOWibo9gF2PNkCXiSLI4QHjm+oi0aa6ato= Original-Received: by 10.142.48.2 with SMTP id v2mr811660wfv.276.1285965304388; Fri, 01 Oct 2010 13:35:04 -0700 (PDT) Original-Received: from roll (c-174-56-1-147.hsd1.nm.comcast.net [174.56.1.147]) by mx.google.com with ESMTPS id o9sm1734752wfd.16.2010.10.01.13.35.02 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 01 Oct 2010 13:35:03 -0700 (PDT) In-Reply-To: (Glenn Morris's message of "Fri, 01 Oct 2010 16:26:01 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.90 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:131187 Archived-At: Glenn Morris writes: > "Eric Schulte" wrote: > >> Is there currently a mechanism for running code when Emacs exists from >> batch mode? > > Nobody objected to my proposal to run kill-emacs-hook in batch mode > > http://lists.gnu.org/archive/html/emacs-devel/2010-09/msg01055.html > > (and associated thread) > > so I'll probably install that soon. Great, that sounds ideal. I'll be sure to update my code after the change.