From: "Jan Djärv" <jan.h.d@swipnet.se>
To: Glenn Morris <rgm@gnu.org>
Cc: 15607-done@debbugs.gnu.org, Darren Hoo <darren.hoo@gmail.com>
Subject: bug#15607: default-directory set to / when launch from Mac OS Dock
Date: Tue, 15 Oct 2013 07:06:22 +0200 [thread overview]
Message-ID: <E6D02FA2-5D5D-4658-9A9C-2D52F2A62663@swipnet.se> (raw)
In-Reply-To: <9ua9ibyzbb.fsf@fencepost.gnu.org>
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.
next prev parent reply other threads:[~2013-10-15 5:06 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 [this message]
2013-10-17 3:57 ` Darren Hoo
2013-10-20 16:48 ` Jan Djärv
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E6D02FA2-5D5D-4658-9A9C-2D52F2A62663@swipnet.se \
--to=jan.h.d@swipnet.se \
--cc=15607-done@debbugs.gnu.org \
--cc=darren.hoo@gmail.com \
--cc=rgm@gnu.org \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).