Eddy <[EMAIL PROTECTED]> writes: > Hi ! > > After reading the archive of this list, I created a file init.el, > and I wrote these lines in it : > > ;;; lilypond-init.el --- Startup code for LilyPond mode > (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))) > > When opening a *.ly file with Xemacs, I have a message in the mini-buffer : > > File mode specification error: (file-error "Cannot open load file" > "lilypond-mode") You have to tell xemacs where the package is with: (add-to-list 'load-path "d:/bin/LilyPond/usr/share/emacs/site-lisp/")
Change the load-path value to wherever is your installation. > Where can I find the file "lilypond-mode" for my version of lilypond ? /usr/share/emacs/site-lisp/ > How do I know which version of lilypond I have ? Type 'lilypond -v' at the command prompt. > Where do I put the "lilypond-mode" file ? You don't have to. Just add the aforementioned directory to your load path. > (I use lilypond and Xemacs for windows, xp). Me too, but hopefully I'll turn to both Fedora and xp soon. > > Thanks Good luck! -- Ezequiel Birman. _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user