Greetings
Am 25.03.2013 14:09, schrieb Ralph Palmer:
> Greetings -
>
> I'm running LilyPond 2.16.2 under Windows 7, SP1.
>
> I've copied the *.el files from lilypond\..\site-lisp to
> \emacs\emacs-24.3\site-lisp
I did the same (exept that I created a neu subdirectory
site-lisp\lilypond\).
> and I've set the PATH and HOME variables so that I think emacs is
> finding lilypond-mode.el, but when I open emacs and type <M-x
> lilypond-mode>, I get [no match]. When I drag-and-drop an .ly file onto
> the open emacs buffer, I get <Symbol's function definition is void:
> lilypond-mode>.
>
> I would greatly appreciate help from an experienced Windows emacs
> lilypond user to get this straightened out. I've used emacs under
> Ubuntu, with no problems, and I really like it.
I appended the following to my ~/.emacs:
(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)))
If I open a .ly-file or create a new one, the emacs switches into the
Lilypond mode (witch I can turn off with <Mx LilyPond-mode>.
Hope that helps.
(I can't switch the pdf-viewer to SumatraPDF -- but that's an other
problem.)
Beda
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user