unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Perry Smith <pedz@easesoftware.com>
To: Nicolas Cavigneaux <cavigneaux@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: default-directory launched from Dock macOS
Date: Tue, 28 Apr 2020 10:51:14 -0500	[thread overview]
Message-ID: <79C44641-AAE7-4F56-BD81-29DCD75857A3@easesoftware.com> (raw)
In-Reply-To: <m2ees7soxc.fsf@gmail.com>



> On Apr 28, 2020, at 8:46 AM, Nicolas Cavigneaux <cavigneaux@gmail.com> wrote:
> 
> Perry Smith <pedz@easesoftware.com> writes:
> 
>> 
>> This sounded plausible but HOME is set to my HOME directory and USER is set to my user name.
> 
> In your shell or in launchd?

via launchd (open from the dock)

And that makes sense because launchd knows who owns the process.  e.g. the UID of Emacs is my user, not root.

    -+= 00001 root /sbin/launchd
     \-+= 00811 pedz /Applications/Emacs.app/Contents/MacOS/Emacs-x86_64-10_14
       \--= 15598 pedz /usr/local/bin/aspell -a -m -B --encoding=utf-8




  reply	other threads:[~2020-04-28 15:51 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-27  8:24 default-directory launched from Dock macOS Tak Kunihiro
2020-04-27 20:37 ` Perry Smith
2020-04-28  4:47 ` Tak Kunihiro
2020-04-28  7:32   ` Eli Zaretskii
2020-04-28  7:33   ` Carlo Tambuatco
2020-04-28  8:08     ` Tak Kunihiro
2020-04-28  8:24       ` 27.0.91; default-directory launched via Dock MacOS Tak Kunihiro
2020-04-28  7:46   ` default-directory launched from Dock macOS Nicolas Cavigneaux
2020-04-28 12:45     ` Perry Smith
2020-04-28 13:46       ` Nicolas Cavigneaux
2020-04-28 15:51         ` Perry Smith [this message]
2020-05-04  2:06     ` Ben McGinnes

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=79C44641-AAE7-4F56-BD81-29DCD75857A3@easesoftware.com \
    --to=pedz@easesoftware.com \
    --cc=cavigneaux@gmail.com \
    --cc=help-gnu-emacs@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.
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).