[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
LilyPond and emacs
From: |
Dr. Daniel Hensel |
Subject: |
LilyPond and emacs |
Date: |
Wed, 3 Feb 2016 21:17:14 +0100 |
Hello,
I tried to use LilyPond with emacs for OS X and could not use it. I was able to
enable LilyPond-mode but it would not compile at all. My path was edited the
following way:
(autoload 'LilyPond-mode "lilypond-mode")
(setq auto-mode-alist
(cons '("\\.ly$" . LilyPond-mode) auto-mode-alist))
(add-hook 'LilyPond-mode-hook (lambda () (turn-on-font-lock)))
(add-to-list 'auto-mode-alist '("\\.ly$" . LilyPond-mode))
(add-to-list 'auto-mode-alist '("\\.ily$" . LilyPond-mode))
(setq locale-coding-system 'utf-8)
(set-terminal-coding-system 'utf-8)
(set-keyboard-coding-system 'utf-8)
(set-selection-coding-system 'utf-8)
(prefer-coding-system 'utf-8)
(when (eq system-type 'darwin)
(setq mac-right-option-modifier 'none))
(add-to-list 'load-path (expand-file-name "elisp" (getenv "HOME")))
(setq exec-path (split-string
"/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/TeX/texbin:/Applications/LilyPond.app/Contents/Resources/bin
" path-separator))
MIDI was also not working with emacs, but the worst thing was, that I could not
compile. Nothing worked out, I also tried that patch, which did not work:
https://lists.gnu.org/archive/html/lilypond-user/2012-12/msg00387.html
I run LilyPond 2.18.2-1 on OS X 10.11.3
Sincerely,
Daniel Hensel
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- LilyPond and emacs,
Dr. Daniel Hensel <=