[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Emacs-diffs] /srv/bzr/emacs/trunk r100117: Run kill-emacs when exit

From: Jan Djärv
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
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20100423 Thunderbird/3.0.4

2010-05-04 05:03, Stephen J. Turnbull skrev:
Jan Djärv 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ärv", 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 no one has come up with a better solution. Should we start an Emacs process for each unique default-directory? Pick one at random? Ignore the problem and let the 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 not very helpful.

        Jan D.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]