[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 D.
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 10:21:56 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20100227 Thunderbird/3.0.3

On 2010-05-03 02:55, Stefan Monnier wrote:
But now you can't so Emacs is restarted in a different directory.  If you
are saving different desktops in different directories, restarting Emacs is
kind of pointless unless you are in the right directory.

So, IIUC the question is not "Emacs's current directory" but "the
location of the relevant desktop file" (which happens to be currently
found via the current directory), right?

For this bug report, yes. But for the more general session management handling, it really is "start where we stopped". Who knows what other/future packages save in the 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.

So making sure the desktop is saved wont solve the bug unless it is also
read back properly.

I'd be tempted to say that we need a "--desktop FILE" argument, then.

That is too simplified, Emacs has more state than just the desktop file.

        Jan D.

reply via email to

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