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 20:20:25 +0200 Message-ID: References: "u7i4mujro.fsf@gnu.org" <497A1417.8040306@gmx.de> <497B22CA.4080203@gmx.de> <497B5641.7010501@gmx.de> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1232821549 8473 80.91.229.12 (24 Jan 2009 18:25:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 24 Jan 2009 18:25:49 +0000 (UTC) Cc: emacs-devel@gnu.org To: grischka Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 24 19:27:01 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 1LQnDW-0007N7-8K for ged-emacs-devel@m.gmane.org; Sat, 24 Jan 2009 19:26:52 +0100 Original-Received: from localhost ([127.0.0.1]:48345 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LQnCA-0006Px-Ou for ged-emacs-devel@m.gmane.org; Sat, 24 Jan 2009 13:25:26 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LQn7K-0004bs-ER for emacs-devel@gnu.org; Sat, 24 Jan 2009 13:20:26 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LQn7J-0004bO-A9 for emacs-devel@gnu.org; Sat, 24 Jan 2009 13:20:26 -0500 Original-Received: from [199.232.76.173] (port=33383 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LQn7J-0004bF-46 for emacs-devel@gnu.org; Sat, 24 Jan 2009 13:20:25 -0500 Original-Received: from mtaout6.012.net.il ([84.95.2.16]:30290) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LQn7I-0001tR-OF for emacs-devel@gnu.org; Sat, 24 Jan 2009 13:20:25 -0500 Original-Received: from conversion-daemon.i-mtaout6.012.net.il by i-mtaout6.012.net.il (HyperSendmail v2007.08) id <0KDZ00500MTTPA00@i-mtaout6.012.net.il> for emacs-devel@gnu.org; Sat, 24 Jan 2009 20:20:39 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.126.6.113]) by i-mtaout6.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KDZ001LFMYEL240@i-mtaout6.012.net.il>; Sat, 24 Jan 2009 20:20:39 +0200 (IST) In-reply-to: <497B5641.7010501@gmx.de> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (1203?) 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:108196 Archived-At: > Date: Sat, 24 Jan 2009 18:56:17 +0100 > From: grischka > CC: emacs-devel@gnu.org > > Eli Zaretskii wrote: > > Pressing Ctrl-C where? Emacs redefines SIGINT so that it is produced > > by C-g, not by C-c (because the latter is used in many key sequences), > > so I presume you don't mean typing Ctrl-C into the Emacs window. But > > then where did you type it? > > In the xterm. It aborts in eval.c here: if (gc_in_progress || waiting_for_input) abort (); Can you see which one of gc_in_progress and waiting_for_input is non-zero?