From: Stefan Kamphausen <skampi@gmx.net>
To: help-gnu-emacs@gnu.org
Subject: Re: MAC OSX Emacs does not find PATH
Date: Tue, 06 Apr 2010 10:17:31 +0200 [thread overview]
Message-ID: <87ochx2dwk.fsf@usenet.my.skamphausen.de> (raw)
In-Reply-To: 54cea182-c0db-41dd-b835-0b9268d2acb0@n34g2000yqb.googlegroups.com
Hi,
"Daniel (Youngwhan)" <breadncup@gmail.com> writes:
> Hello,
>
> I am using GNU Emacs 23.1.95.1 (x86_64-apple-darwin, NS apple-
> appkit-1038.29) of 2010-04-03 on black.local in MAC OSX (intel)
>
> And, I found that it does not recognize added PATH in bash/
> environment.plist at all.
>
[...]
> When I launch it through terminal, it works as expected.
I am by no means an OSX expert, just unhappily stuck with that machine
for two years...
AFAIK the PATH together with the rest of your environment depends on how
you start things..
* From a terminal using some shell-script which opens Emacs.app:
This will inherit the PATH from you shell environment, just as in
Linux, so ~/.bashrc /etc/profile etc all should work.
* From the Dock using some Icon:
This becomes a child process of the window server and has no knowledge
of your shell environment. It should read the environment plist you
mentioned already, though. Unfortunately there is no (easy) way to
keep PATH in ~/.bashrc and in env-plist in sync, you'll have to take
care of that yourself
* From spotlight, i.e. Apple-Space, search for Emacs, start the App:
This is a direct child of the init-process, called launchd on OSX.
Well, this one reads neither /etc/profile nor env-plist, it is
controlled by some other conf-file in /etc, which I forgot. Since
fiddling with that could lead to an unbootable system (as far as I can
tell, that is) I stopped at that point, when I had problems with PATH,
and just chose not to start Emacs (or Netbeans or whatever) using
spotlight.
Ridiculous if you ask me, but then, I'm already through one year and for
me there's only one more left ;-)
Cheers,
Stefan
--
a blessed +42 regexp of confusion (weapon in hand)
You hit. The format string crumbles and turns to dust.
user=> (clojure-buch (Locale/GERMANY))
#<URL http://www.clojure-buch.de>
next prev parent reply other threads:[~2010-04-06 8:17 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-05 8:10 MAC OSX Emacs does not find PATH Daniel (Youngwhan)
2010-04-05 13:21 ` Harald Hanche-Olsen
2010-04-05 14:47 ` Daniel (Youngwhan)
2010-04-05 22:16 ` Harald Hanche-Olsen
2010-04-05 22:21 ` Harald Hanche-Olsen
2010-04-06 2:47 ` queries0
2010-04-06 3:53 ` Daniel (Youngwhan)
2010-04-06 8:17 ` Stefan Kamphausen [this message]
2010-04-06 14:32 ` Daniel (Youngwhan)
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=87ochx2dwk.fsf@usenet.my.skamphausen.de \
--to=skampi@gmx.net \
--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.
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.