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: Mon, 03 May 2010 13:43:21 -0400 Message-ID: References: <3D94147C-CA80-4DB1-AD11-4707C3077275@swipnet.se> <4BDE87A4.5060701@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1272913676 1816 80.91.229.12 (3 May 2010 19:07:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 3 May 2010 19:07:56 +0000 (UTC) Cc: "emacs-devel@gnu.org" To: "Jan D." Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 03 21:07:55 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 1O90zi-0005lR-C9 for ged-emacs-devel@m.gmane.org; Mon, 03 May 2010 21:07:55 +0200 Original-Received: from localhost ([127.0.0.1]:48452 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O90zh-0005DM-9g for ged-emacs-devel@m.gmane.org; Mon, 03 May 2010 15:07:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O90NV-0006tx-Q1 for emacs-devel@gnu.org; Mon, 03 May 2010 14:28:26 -0400 Original-Received: from [140.186.70.92] (port=43465 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O90NU-0006so-4i for emacs-devel@gnu.org; Mon, 03 May 2010 14:28:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O8zfw-0005iS-G9 for emacs-devel@gnu.org; Mon, 03 May 2010 13:43:26 -0400 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:45298) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O8zfw-0005hz-CB for emacs-devel@gnu.org; Mon, 03 May 2010 13:43:24 -0400 Original-Received: from faina.iro.umontreal.ca (faina.iro.umontreal.ca [132.204.26.177]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id o43HhLSN003645; Mon, 3 May 2010 13:43:22 -0400 Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 8AE93B4C27; Mon, 3 May 2010 13:43:21 -0400 (EDT) In-Reply-To: <4BDE87A4.5060701@swipnet.se> (Jan D.'s message of "Mon, 03 May 2010 10:21:56 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3526=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:124479 Archived-At: > For this bug report, yes. But for the more general session management > handling, it really is "start where we stopped". But that's the whole problem: what do you define as "where we stopped"? As I said, there are as many current directories as there are buffers. > Who knows what other/future packages save in the current directory? There's really no such thing as "Emacs's current directory". > Relative filenames perhaps? Not to mention the fact that I personally > get irritated that C-x C-f from *scratch* starts with the wrong > directory in this case. Then desktop should save the default-directory of *scratch* (and maybe/probably other buffers as well). IIUC you can do that by adding default-directory to desktop-locals-to-save. > That is too simplified, Emacs has more state than just the desktop file. But "--chdir" is too simplified, Emacs has many more current directories than just "the one" ;-) Stefan