lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with lilypond-mode in emacs


From: Beda Szukics
Subject: Re: Problem with lilypond-mode in emacs
Date: Mon, 25 Mar 2013 15:43:29 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; rv:16.0) Gecko/20121010 Thunderbird/16.0.1

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]