[OS X TeX] set environment variables for Emacs
Massimiliano Gubinelli
mgubi at mac.com
Wed May 26 09:24:39 CEST 2004
I think it should be possible (and desirable) to stop using
environment.plist.
For example, Emacs.app (Enhanced or whatever) can be provided with the
right environment appending the following lines to .emacs
;; Patch to provide missing environment variables to Emacs
(setenv "PATH" (concat (getenv "PATH")
":/usr/local/teTeX/bin/powerpc-apple-darwin-current:/
usr/local/bin"))
For me at least this works.
Massimiliano Gubinelli
PS: from my point of view if Cocoa Apps needs environment variables
(for example because they use unix libraries influenced by the
environment) they should set up the proper environment themselves and
rely on the defaults mechanism to get the appropriate settings from the
user (or the installation program).
-----------------------------------------------------
Post: <mailto:MacOSX-TeX at email.esm.psu.edu>
Please see <http://www.esm.psu.edu/mac-tex/> for list
guidelines, information, and LaTeX/TeX resources.
More information about the macostex-archives
mailing list