[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs lilypond-mode or possibly Bash glitch
From: |
James E. Bailey |
Subject: |
Re: Emacs lilypond-mode or possibly Bash glitch |
Date: |
Sat, 7 Mar 2009 17:45:54 +0100 |
On 07.03.2009, at 17:29, Tim McNamara wrote:
When I try to compile a .ly file in lilypond-mode, it fails with
the message:
-*- mode: compilation; default-directory: "~/Desktop/Downloads/
Music Charts/Lilypond Charts/Dead Tunes/Days Between/" -*-
Compilation started at Sat Mar 7 10:22:25
lilypond /Users/tim/Desktop/Downloads/Music\ Charts/Lilypond\
Charts/Dead\ Tunes/Days\ Between/Days\ Between.ly
/bin/bash: line 1: lilypond: command not found
is lilypond in your path? Does emacs know about your path? In my
~/.emacs, I have
(add-to-list 'load-path (expand-file-name "elisp" (getenv "HOME")))
(setq exec-path (split-string "/Users/jamesebailey/Applications/
LilyPond.app/Contents/Resources/bin:/bin:/sbin:/usr/bin:/usr/local/
bin:/usr/sbin" path-separator))
(setenv "PATH" (mapconcat 'identity exec-path ":"))
(setenv "MANPATH" "/Users/jamesebailey/share/man:/usr/share/man:/usr/
X11R6/man:/man")
(setenv "INFOPATH" "/Users/jamesebailey/share/info:/usr/local/info:/
usr/local/share/info:/usr/share/info")