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
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user