[Python-mode] interpreter selection with CarbonEmacs on OSX

Andrea Crotti andrea.crotti.0 at gmail.com
Thu Feb 17 09:11:17 CET 2011


Il giorno 16/feb/2011, alle ore 01.05, Eric Holbrook ha scritto:

> What's the best way to tell python-mode to use, say, /opt/local/bin/python, instead of what OS X thinks is the right version?
> 
> The problem is that when i launch /Applications/Emacs.app from Quicksilver it knows nothing about what i have set up in my .bashrc, so it picks the first (only) python that it finds from the system global environment.plist. Is there a safe way to tell emacs about all the $PATH stuff i have in my .bashrc w/o editing the env vars in my ~/.MacOS/environment.plist?
> 
> thanks in advance,
> Eric

Since I'm lazy I just launch emacs from a shell, so I'm sure that I get all the variables set correctly.
I frankly have no intention to modify a stupid plist file just to get some environment variables set...




More information about the Python-mode mailing list