--- Begin Message ---
Subject: |
Re: bug#15607: default-directory set to / when launch from Mac OS Dock |
Date: |
Tue, 15 Oct 2013 07:06:22 +0200 |
Hello.
I've checked 24.3 and 10.7/10.8:
open Emacs.app --args -Q => /
open Emacs.app => $HOME
From Dock => $HOME
So dock starting at / must be a local thing. Check your .emacs and environment
set by launchd.
The -Q behaviour may very well be NS-specific, but it isn't new.
I see no bug here, closing.
Jan D.
15 okt 2013 kl. 05:42 skrev Glenn Morris <address@hidden>:
> Jan Djärv wrote:
>
>>> It used to be the $HOME directory.
>>>
>>> Is it changed intentionally recently?
>>
>> If I don't give -Q, it prompts with $HOME. Must be a general change
>> w.r.t. -Q.
>
> I haven't noticed such a change (it would be a weird thing to do IMO),
> I'd check what eg emacs 24.3 or an xterm does when opened from the Dock.
> (Maybe you have something in .emacs that changes PWD?)
>
>>> I wonder how it works in other desktop environments.
>
> AFAIK, It uses whatever working directory the launcher sets up,
> which I guess is HOME in 99+% of cases.
--- End Message ---