From: Piet v. O. <pi...@cs...> - 2002-05-30 15:13:07
|
>>>>> Tom Wolfe <wo...@ma...> (TW) writes: TW> Trying to learn python and emacs. Running OS X 10.1.4, mac-emacs 21.1 from TW> binary. I've installed ispell and python-mode. I'm using the same .emacs TW> for both administrator and user accounts. Ispell works as administrator, TW> but not as user. Python mode works, but can't start the interpreter as TW> admin or user. Both ispell and python reside in /usr/local/bin. Any TW> suggestions? Thanks in advance Probably a matter of your PATH. Emacs run in GUI mode doesn't get any PATH definitions from your .tcshrc or .cshrc. Do a M-! which python in emacs (same for ispell) and see if it is found. I have my PATH (and other environment variables) for emacs set in ~/.MacOSX/environment.plist : Thsese variables are inherited by all programs run from the Finder. <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd"> <plist version="0.9"> <dict> <key>HOME</key> <string>/Users/piet</string> <key>PATH</key> <string>/Users/piet/bin/powerpc-apple-darwin:/Users/piet/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/teTeX/bin/powerpc-apple-darwin-current:/sw/bin</string> </dict> </plist> -- Piet van Oostrum <pi...@cs...> URL: http://www.cs.uu.nl/~piet [PGP] Private email: P.v...@hc... |