From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Jan_Dj=E4rv?= 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: Tue, 04 May 2010 10:06:18 +0200 Message-ID: <4BDFD57A.3050808@swipnet.se> References: <3D94147C-CA80-4DB1-AD11-4707C3077275@swipnet.se> <4BDE87A4.5060701@swipnet.se> <4BDF1106.7060200@swipnet.se> <87633474hd.fsf@uwakimon.sk.tsukuba.ac.jp> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1272964238 27314 80.91.229.12 (4 May 2010 09:10:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 4 May 2010 09:10:38 +0000 (UTC) Cc: Stefan Monnier , "emacs-devel@gnu.org" To: "Stephen J. Turnbull" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 04 11:10:32 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 1O9E99-0007Mi-7N for ged-emacs-devel@m.gmane.org; Tue, 04 May 2010 11:10:31 +0200 Original-Received: from localhost ([127.0.0.1]:40572 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O9E98-0002Jp-GZ for ged-emacs-devel@m.gmane.org; Tue, 04 May 2010 05:10:30 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O9E8R-0002BE-V9 for emacs-devel@gnu.org; Tue, 04 May 2010 05:09:48 -0400 Original-Received: from [140.186.70.92] (port=56178 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O9E8Q-0002Ax-5X for emacs-devel@gnu.org; Tue, 04 May 2010 05:09:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O9E8M-0004Fn-WD for emacs-devel@gnu.org; Tue, 04 May 2010 05:09:45 -0400 Original-Received: from smtprelay-b12.telenor.se ([62.127.194.21]:42093) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O9D96-00019f-Ji for emacs-devel@gnu.org; Tue, 04 May 2010 04:06:29 -0400 Original-Received: from ipb3.telenor.se (ipb3.telenor.se [195.54.127.166]) by smtprelay-b12.telenor.se (Postfix) with ESMTP id 9BC7FD0B0 for ; Tue, 4 May 2010 10:06:19 +0200 (CEST) X-SENDER-IP: [85.225.45.110] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApdGAINy30tV4S1uPGdsb2JhbACHaZVGDAEBAQE1LbsDhRIE X-IronPort-AV: E=Sophos;i="4.52,325,1270418400"; d="scan'208";a="514455532" Original-Received: from c-6e2de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.110]) by ipb3.telenor.se with ESMTP; 04 May 2010 10:06:18 +0200 Original-Received: from [172.20.199.2] (gaffa [172.20.199.2]) by coolsville.localdomain (Postfix) with ESMTP id 240717FA05A; Tue, 4 May 2010 10:06:18 +0200 (CEST) User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100423 Thunderbird/3.0.4 In-Reply-To: <87633474hd.fsf@uwakimon.sk.tsukuba.ac.jp> 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:124495 Archived-At: 2010-05-04 05:03, Stephen J. Turnbull skrev: > Jan Dj=E4rv writes: > > > > There's really no such thing as "Emacs's current directory". > > > Yes there is, it is what getcwd returns. Anything else is just > > cosmetics and not the current directory of the Emacs process. > > You're taking the implementation way too seriously. The question is, > do any users (other than the one named "Jan Dj=E4rv", of course) think > that what getcwd() returns is of interest? I certainly don't, for one > sample point. And, if the do care at all, how does that rank compared > to the local values of `default-directory'? > > We are talking about restarting Emacs from the session manager. So far n= o one=20 has come up with a better solution. Should we start an Emacs process for= each=20 unique default-directory? Pick one at random? Ignore the problem and le= t the=20 session manager descide? Put up a solution that addresses the problems: Desktop file isn't loaded. *scratch* and *Messages* and more get the wrong default directory. It is nice of you to let us know that you don't care about getcwd, but no= t=20 very helpful. Jan D.