From: "Jan D." <jan.h.d@swipnet.se>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: "emacs-devel@gnu.org" <emacs-devel@gnu.org>
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 16:42:19 +0200 [thread overview]
Message-ID: <4BE0324B.7050103@swipnet.se> (raw)
In-Reply-To: <jwvljbzrdgc.fsf-monnier+emacs@gnu.org>
On 2010-05-04 15:48, Stefan Monnier wrote:
>
> What I say is that users couldn't care less what's the POSIX cwd of
> Emacs (as long as it's sane, that is).
Oh, they do care where Emacs is started from the command line. How else
can they get Emacs to automatically read saved desktops?
>
> You're suggesting a user-level feature (a new command line arg) based on
> some obscure internal detail. That doesn't make much sense unless
> there's no other way to get the user-level behavior you want.
I didn't think automatic loading of desktops and getting the right
default-direcotry was obscure.
>
> The --chdir is not enough to restore the default-directory of all the
> buffers either. So if you want to preserve that info, then add
> `default-directory' to desktop-locals-to-save rather than try to get
> that same result in a round about way by adding a new vaguely related
> feature which doesn't quite do what we want anyway.
No, if I have done a cd in some buffer, it is not enough. But for all
other uses, it is.
How will desktop-locals-to-save restore the default-directory if I don't
use desktop.el?
>
>> Where else should Emacs be restarted?
>
> Doesn't matter as long as the end result is the one we want.
> Usually I'd expect $HOME to be a good choice.
And how will Emacs avoid to load my desktop file there if I didn't use
it previously?
Jan D.
next prev parent reply other threads:[~2010-05-04 14:42 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <E1O8efK-0003y3-Sb@internal.in.savannah.gnu.org>
2010-05-02 19:24 ` [Emacs-diffs] /srv/bzr/emacs/trunk r100117: Run kill-emacs when exiting for display closed or SIGTERM/HUP Stefan Monnier
2010-05-02 20:53 ` Jan Djärv
2010-05-03 0:55 ` Stefan Monnier
2010-05-03 8:21 ` Jan D.
2010-05-03 17:43 ` Stefan Monnier
2010-05-03 18:08 ` Jan Djärv
2010-05-04 2:38 ` Stefan Monnier
2010-05-04 7:59 ` Jan Djärv
2010-05-04 11:49 ` Stephen J. Turnbull
2010-05-04 13:03 ` Jan D.
2010-05-04 13:48 ` Stefan Monnier
2010-05-04 14:42 ` Jan D. [this message]
2010-05-04 3:03 ` Stephen J. Turnbull
2010-05-04 8:06 ` Jan Djärv
2010-05-04 11:33 ` Stephen J. Turnbull
2010-05-04 12:51 ` Jan D.
2010-05-04 13:54 ` Stefan Monnier
2010-05-04 14:26 ` Jan D.
2010-05-04 18:50 ` Stefan Monnier
2010-05-05 5:17 ` Stephen J. Turnbull
2010-05-05 7:21 ` Jan Djärv
2010-05-05 14:00 ` Stefan Monnier
2010-05-05 16:18 ` Jan Djärv
2010-05-05 18:24 ` Stefan Monnier
2010-05-04 16:45 ` Juri Linkov
2010-05-04 18:50 ` Jan Djärv
2010-05-04 19:55 ` Juri Linkov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4BE0324B.7050103@swipnet.se \
--to=jan.h.d@swipnet.se \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.