[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: Stefan Monnier
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
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

> 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" ;-)


reply via email to

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