unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Jan Djärv" <jan.h.d@swipnet.se>
To: "\"Kazu Yamamoto (山本和彦)\"" <kazu@iij.ad.jp>
Cc: emacs-devel@gnu.org
Subject: Re: Emacs on Mac does not inherit PATH
Date: Tue, 24 Jun 2014 10:56:14 +0200	[thread overview]
Message-ID: <062D84E2-7B5A-4036-BB4D-432EFFB0F023@swipnet.se> (raw)
In-Reply-To: <20140624.173411.1911364463734389159.kazu@iij.ad.jp>

Hello.

24 jun 2014 kl. 10:34 skrev Kazu Yamamoto (山本和彦) <kazu@iij.ad.jp>:

> Hi,
> 
> I'm using Emacs HEAD on Mac (Mavericks).
> If it is executed from Dock, it does not inherit PATH:
> 
> 	(getenv "PATH")
> 	"/usr/bin:/bin:/usr/sbin:/sbin"
> 
> If it is executed by "open /Applications/Emacs.app", it inherits PATH.

This is the way all OSX applications work, Emacs is not different.
Checkout:

% man launchctl

Search for setenv.  Also look at

% man launchd.conf

> 
> Emacs 24.3 inherits PATH even if it is executed from Dock.

No it does not:

(getenv "PATH")
"/usr/bin:/bin:/usr/sbin:/sbin"
emacs-version
"24.3.1"

> 
> Is this an intentional behavior change?

Nothing has changed in this area.

	Jan D.




  reply	other threads:[~2014-06-24  8:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-24  8:34 Emacs on Mac does not inherit PATH Kazu Yamamoto
2014-06-24  8:56 ` Jan Djärv [this message]
2014-06-24 10:24   ` Kazu Yamamoto

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=062D84E2-7B5A-4036-BB4D-432EFFB0F023@swipnet.se \
    --to=jan.h.d@swipnet.se \
    --cc=emacs-devel@gnu.org \
    --cc=kazu@iij.ad.jp \
    /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).