[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Use emacs.desktop when starting emacs from a particular directory
From: |
Steinar Bang |
Subject: |
Re: Use emacs.desktop when starting emacs from a particular directory |
Date: |
Sat, 03 Nov 2018 00:18:34 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (windows-nt) |
>>>>> Eli Zaretskii <eliz@gnu.org>:
> First, why do you use 'push' instead of 'setq'? Don't you want to
> replace desktop-path for this invocation?
Habit I guess... I always treat paths that way: add to the start and
keep the existing value.
> Second, is there actually an .emacs.desktop file in the ~/workspaces
> directory?
Yes.
> Here's what I do for a long time in my .emacs:
> (setq desktop-path '("." ".." "../.." "../../.."))
> (desktop-save-mode 1)
> Then starting Emacs in a directory with a .emacs.desktop file reads
> that desktop file. So this feature works, it's just that something in
> your case prevents it from working for you. Perhaps some debugging is
> in order.
Right. Thanks! Stefan suggested checking my config to see if I had
some (forgotten) desktop setting there.
- Re: Use emacs.desktop when starting emacs from a particular directory, (continued)
- Re: Use emacs.desktop when starting emacs from a particular directory, Steinar Bang, 2018/11/02
- Re: Use emacs.desktop when starting emacs from a particular directory, Stefan Monnier, 2018/11/02
- Re: Use emacs.desktop when starting emacs from a particular directory, Steinar Bang, 2018/11/02
- Re: Use emacs.desktop when starting emacs from a particular directory, Stefan Monnier, 2018/11/02
- Re: Use emacs.desktop when starting emacs from a particular directory, Steinar Bang, 2018/11/02
- Re: Use emacs.desktop when starting emacs from a particular directory, Stefan Monnier, 2018/11/02
- Re: Use emacs.desktop when starting emacs from a particular directory, Steinar Bang, 2018/11/03
- Re: Use emacs.desktop when starting emacs from a particular directory, Eli Zaretskii, 2018/11/03
- Re: Use emacs.desktop when starting emacs from a particular directory, Steinar Bang, 2018/11/03
- Re: Use emacs.desktop when starting emacs from a particular directory, Eli Zaretskii, 2018/11/02
- Re: Use emacs.desktop when starting emacs from a particular directory,
Steinar Bang <=