[racket] users Digest, Vol 71, Issue 37
> On Thu, Jul 14, 2011 at 4:19 AM, Lavoie Francis <lav.francis at gmail.com> wrote:
>> First, it looks like emacs for OS X does not use the users' own $PATH, but the one of the system. I tried some hack I found on google (http://olabini.com/blog/2009/12/path-problem-with-emacs-on-mac-os-x/, http://www.emacswiki.org/emacs/EmacsApp#toc2) without luck, emacs can't find racket.
Check out "User Session Environment Variables" here:
http://developer.apple.com/library/mac/#documentation/MacOSX/Conceptual/BPRuntimeConfig/Articles/EnvironmentVars.html
Basically you create ~/.MacOSX/environment.plist and fill it with what you want. I use the Fink project stuff on MacOS so I modify for emacs INFOPATH, MANPATH, PATH, XML_CATALOG_FILES, and SGML_CATALOG_FILES, such as:
...
<key>INFOPATH</key>
<string>/sw/share/info:/sw/info:/Applications/Emacs.app/Contents/Resources/info</string>
...
<key>PATH</key>
<string>/sw/bin:/sw/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/Users/YOURNAME/usr/bin:/Users/YOURNAME/usr/mongodb/bin:/usr/X11R6/bin</string>
...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20110714/a8d3a552/attachment.html>