[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#15607: default-directory set to / when launch from Mac OS Dock
From: |
Jan Djärv |
Subject: |
bug#15607: default-directory set to / when launch from Mac OS Dock |
Date: |
Sun, 20 Oct 2013 18:48:20 +0200 |
Hello.
17 okt 2013 kl. 05:57 skrev Darren Hoo <darren.hoo@gmail.com>:
> sorry to have missed filling the details while filing the report.
>
> As YAMAMOTO Mitsuharu describes in
> http://lists.gnu.org/archive/html/emacs-devel/2013-10/msg00498.html
>
> I can confirm that the -psn_* option is no longer passed as args when
> launched from GUI under OSX 10.9.
>
Ok, I tried a different GUI-detection in the trunk.
Jan D.
> On Tue, Oct 15, 2013 at 1:06 PM, Jan Djärv <jan.h.d@swipnet.se> wrote:
>> 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 <rgm@gnu.org>:
>>
>>> 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.
>>