help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ESS/Matlab Path in Cocoa Emacs


From: Harold Pimentel
Subject: Re: ESS/Matlab Path in Cocoa Emacs
Date: Sat, 25 Dec 2010 01:46:43 -0800

Interesting.

Do you know why AquaMacs or http://vgoulet.act.ulaval.ca/en/ressources/emacs/ detect my BASH path correctly, but Cocoa does not? I'm guessing there is some plist file somewhere in the distribution?



Thanks,

Harold

On Dec 24, 2010, at 12:23 PM, Peter Dyballa wrote:

You could either use the method with ~/.MacOSX/environment.plist (see for example http://www.astro.washington.edu/users/rowen/AquaEnvVar.html) or you can put into your init file something like:

(setenv "PATH" (concat "/some/directory/with/R_and_matlab" path-separator (getenv "PATH")))

(and also for Eacs-only EXECPATH).

A third option is to launch Cocoa Emacs from a shell script or AppleScript file which internally sets PATH correctly like in this example:

env PATH="/some/directory/with/R_and_matlab:$PATH" open /Applications/Cocoa\ Emacs

--
Greetings

 Pete

Who the fsck is "General Failure," and why is he reading my disk?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]