[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: MAC OSX Emacs does not find PATH
From: |
Daniel (Youngwhan) |
Subject: |
Re: MAC OSX Emacs does not find PATH |
Date: |
Tue, 04 May 2010 15:44:08 -0000 |
User-agent: |
G2/1.0 |
On Apr 5, 3:21 pm, Harald Hanche-Olsen <han...@math.ntnu.no> wrote:
> + "Daniel (Youngwhan)" <breadn...@gmail.com>:
>
> > On Apr 5, 6:21 am, Harald Hanche-Olsen <han...@math.ntnu.no> wrote:
> >> + "Daniel (Youngwhan)" <breadn...@gmail.com>:
>
> >> > I [...] and found that
>
> >> > defaults write $HOME/.MacOSX/environment PATH "$PATH"
>
> >> > will make it work, but in my case, it does not work at all.
>
> >> Did you remember to log out and back in afterwards?
>
> > Of course, I did, but no luck.
>
> I think something is odd with your mac setup, not with emacs.
> Try locating your Finder process (ps uxww | grep Finder) and inspect its
> environment with ps eww PID, where PID is the pid of your Finder
> process. If the PATH value you set in .MacOSX/environment is not present
> in the output, this is not an emacs problem, and you're better off
> asking in a mac newsgroup.
>
> --
> * Harald Hanche-Olsen <URL:http://www.math.ntnu.no/~hanche/>
> - It is undesirable to believe a proposition
> when there is no ground whatsoever for supposing it is true.
> -- Bertrand Russell
Good information!
And, somehow a magic happened today. :)
When I came back from work, it suddenly works! I don't know why it
works, but "defaults write $HOME/.MacOSX/environment PATH "$PATH""
make it work.
Hmm...
Anyway, Thanks!
Daniel