bug-gnu-emacs
[Top][All Lists]
Advanced

[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: Darren Hoo
Subject: bug#15607: default-directory set to / when launch from Mac OS Dock
Date: Thu, 17 Oct 2013 11:57:21 +0800

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.

On Tue, Oct 15, 2013 at 1:06 PM, Jan Djärv <address@hidden> 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 <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.
>





reply via email to

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