all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Jan Djärv" <jan.h.d@swipnet.se>
To: Darren Hoo <darren.hoo@gmail.com>
Cc: 15607-done@debbugs.gnu.org
Subject: bug#15607: default-directory set to / when launch from Mac OS Dock
Date: Sun, 20 Oct 2013 18:48:20 +0200	[thread overview]
Message-ID: <18A06AAB-1E53-4D91-9E8A-8E5E917828CB@swipnet.se> (raw)
In-Reply-To: <CAJ+QY_GK1p4yzF_0_7ZCHmgRw7mw0yUXB=N579TDk-CPoAsmsA@mail.gmail.com>

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.
>> 






  reply	other threads:[~2013-10-20 16:48 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-14  4:15 bug#15607: default-directory set to / when launch from Mac OS Dock Darren Hoo
2013-10-14  5:07 ` Jan Djärv
2013-10-14  5:31   ` Darren Hoo
2013-10-15  3:42   ` Glenn Morris
2013-10-15  5:06     ` Jan Djärv
2013-10-17  3:57       ` Darren Hoo
2013-10-20 16:48         ` Jan Djärv [this message]
2013-10-21  1:26           ` Darren Hoo

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=18A06AAB-1E53-4D91-9E8A-8E5E917828CB@swipnet.se \
    --to=jan.h.d@swipnet.se \
    --cc=15607-done@debbugs.gnu.org \
    --cc=darren.hoo@gmail.com \
    /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.