[OS X Emacs] Switching from Carbon Emacs to Emacs.app

Peter Dyballa Peter_Dyballa at Web.DE
Tue Jan 8 09:31:27 EST 2008


Am 08.01.2008 um 14:24 schrieb Lindsay Stirton:

> which maxima gives /opt/local/bin//maxima
>
> The same command in Terminal gives /usr/local/bin/maxima (and  
> maxima 5.14.0
> starts OK in Terminal).


Either push /opt/local/bin onto exec-path, or use the file  
~/.emacs_<your login shell's name> in that shell's syntax statements  
to augment PATH. For bash and in ~/.emacs_bash it would:

	export PATH=$PATH:/usr/local/bin:/usr/texbin:/opt/local/bin

For tcsh and ~/.emacs_tcsh it would be:

	set path=($path /usr/local/bin /usr/texbin /opt/local/bin)

Could be the problem is that exec-path tells Emacs internals where to  
look for commands, but *shell* buffer is not set up from this, so it  
needs a working and complete PATH value set by additional means.

All would be easier (one place to edit) using ~/.MacOSX/ 
environment.plist ...

--
Greetings

   Pete

If you're not confused, you're not paying attention.





More information about the MacOSX-Emacs mailing list