Re: ispell, python-mode

Piet van Oostrum <[email protected]> 30 May 2002 17:13:01 +0200
Newsgroups gmane.emacs.macintosh.user
Message-ID <[email protected]>
>>>>> Tom Wolfe <[email protected]> (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 <[email protected]>
URL: http://www.cs.uu.nl/~piet [PGP]
Private email: [email protected]


_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm