|
From: | Paul Scott |
Subject: | Re: 2.13.3 docs emacs mode documentation AU 2.2.1 out of date? |
Date: | Fri, 24 Jul 2009 12:39:42 -0700 |
User-agent: | Mozilla-Thunderbird 2.0.0.22 (X11/20090701) |
David Stocker wrote:
After you install LilyPond, you'll have all the files you need for lilypond-mode to work right there in your installation directory. You'll just need to tell Emacs where to locate them.In your .emacs.d directory you'll need a file called "init.el" It may already be present. If it's not, create it.In that file, past the following lines:(setq load-path (append (list (expand-file-name "*//home/david/lilypond/usr/share/emacs/site-lisp/*")) load-path))(autoload 'LilyPond-mode "lilypond-mode" "LilyPond Editing Mode" t) (add-to-list 'auto-mode-alist '("\\.ly$" . LilyPond-mode)) (add-to-list 'auto-mode-alist '("\\.ily$" . LilyPond-mode)) (add-hook 'LilyPond-mode-hook (lambda () (turn-on-font-lock)))I've bolded and italicized the path to my lilypond-mode files. Change them to in your init.el to point to the location of yours and you should be all set.
Doing that to the best of my ability I get:File mode specification error: (file-error "Cannot open load file" "lilypond-mode")
This is how I interpreted your instructions:(setq load-path (append (list (expand-file-name "/usr/local/lilypond/usr/share/emacs/site-lisp/*" )) load-path))
(autoload 'LilyPond-mode "lilypond-mode" "LilyPond Editing Mode" t) (add-to-list 'auto-mode-alist '("\\.ly$" . LilyPond-mode)) (add-to-list 'auto-mode-alist '("\\.ily$" . LilyPond-mode)) (add-hook 'LilyPond-mode-hook (lambda () (turn-on-font-lock))) Even though I have done some scheme I don't know enough to diagnose this. Thanks for any help, Paul
[Prev in Thread] | Current Thread | [Next in Thread] |