lilypond-user
[Top][All Lists]
Advanced

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

Re: emacs questions


From: James E. Bailey
Subject: Re: emacs questions
Date: Mon, 18 Aug 2008 10:19:09 +0200

Aquamacs Emacs and the cli emacs can both compile lilypond files.
Emacs.app doesn't seem to load my $PATH correctly, because I get / bin/bash: lilypond: command not found
I've solved this by having an ~/.MacOSX/environment.plist, which contains global settings for your user-id.

<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd ">
<plist version="1.0">
 <dict>
        <key>PATH</key>
<string>/Users/<username>/bin:/sbin:/bin:/usr/bin:/usr/sbin:/usr/ X11R6/bin:/usr/local/bin</string>
 </dict
</plist>

Logout and login to see the changes.

I found (from someone else) a solution. To my ~/.emacs, I added:
(add-to-list 'load-path (expand-file-name "elisp" (getenv "HOME")))
(setq exec-path (split-string "/Users/jamesebailey/bin:/bin:/sbin:/usr/ bin:/usr/local/bin:/usr/sbin" path-separator))
(setenv "PATH" (mapconcat 'identity exec-path ":"))

And now even emacs.app works as expected.




reply via email to

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