[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ESS/Matlab Path in Cocoa Emacs
From: |
Peter Dyballa |
Subject: |
Re: ESS/Matlab Path in Cocoa Emacs |
Date: |
Sat, 25 Dec 2010 11:32:14 +0100 |
Am 25.12.2010 um 10:46 schrieb Harold Pimentel:
Do you know why AquaMacs or http://vgoulet.act.ulaval.ca/en/ressources/emacs/
detect my BASH path correctly, but Cocoa does not? I'm guessing
there is some plist file somewhere in the distribution?
No, I don't know (except that AquaMacs is using some hack). What I
know is that in Mac OS X processes are not launched as in other UNICes
with the aid of a shell. Outside of Mac OS X these processes inherit
(almost) the same environment as your interactive command shell
(almost, because bash allows to set up the interactive environment
differently from the one for batch use). You can achieve a bit with /
private/etc/bashrc, I think. In Snow Leopard, Mac OS X 10.6, /private/
etc/paths.d (and /private/etc/manpaths.d) are provided to give you
lots of time to go shopping while logging in... (this is my experience
with this scheme in Mac OS X 10.5, Leopard)
The working way, since the times of the NeXT Cube, is ~/.MacOSX/
environment.plist. Because *all* processes inherit their environment
from this file.
--
Greetings
Pete
To most people solutions mean finding the answers. But to chemists
solutions
are things that are still all mixed up.