From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] /srv/bzr/emacs/trunk r100117: Run kill-emacs when exiting for display closed or SIGTERM/HUP. Date: Sun, 02 May 2010 15:24:34 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1272828288 22513 80.91.229.12 (2 May 2010 19:24:48 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 2 May 2010 19:24:48 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Jan D." Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun May 02 21:24:47 2010 connect(): No such file or directory 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 1O8emU-0000KH-My for ged-emacs-devel@m.gmane.org; Sun, 02 May 2010 21:24:46 +0200 Original-Received: from localhost ([127.0.0.1]:49233 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O8emU-0005GY-5z for ged-emacs-devel@m.gmane.org; Sun, 02 May 2010 15:24:46 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O8emO-0005Fc-IL for emacs-devel@gnu.org; Sun, 02 May 2010 15:24:40 -0400 Original-Received: from [140.186.70.92] (port=53554 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O8emN-0005Ej-G2 for emacs-devel@gnu.org; Sun, 02 May 2010 15:24:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O8emM-00057Z-6T for emacs-devel@gnu.org; Sun, 02 May 2010 15:24:39 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:54798 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O8emM-00057F-3u for emacs-devel@gnu.org; Sun, 02 May 2010 15:24:38 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAPNt3UvO+KoL/2dsb2JhbACdI3K3a4USBIwo X-IronPort-AV: E=Sophos;i="4.52,314,1270440000"; d="scan'208";a="63118522" Original-Received: from 206-248-170-11.dsl.teksavvy.com (HELO pastel.home) ([206.248.170.11]) by ironport2-out.pppoe.ca with ESMTP; 02 May 2010 15:24:35 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id CB3BE82C3; Sun, 2 May 2010 15:24:34 -0400 (EDT) In-Reply-To: (Jan D.'s message of "Sun, 02 May 2010 20:44:04 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.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:124438 Archived-At: > Run kill-emacs when exiting for display closed or SIGTERM/HUP. > * xsmfns.c (CHDIR_OPT): New define. > (smc_save_yourself_CB): Add CHDIR_OPT to options to use when > restarting emacs. Not sure what's the relationship between the kill-emacs part and the chdir part. But I'm really wondering what this chdir thingy is good for. I mean: the current directory of Emacs is something rather vague: Emacs has as many current directories as it has buffers, do does it just refer to the default-directory of *scratch* and *Messages*? If so, why/when is that so important as to justify a startup option? Stefan