gnu-music-discuss
[Top][All Lists]
Advanced

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

Re: Emacs Lisp files for lily -- how to use 'em


From: Jan Nieuwenhuizen
Subject: Re: Emacs Lisp files for lily -- how to use 'em
Date: 17 Jul 2001 10:56:41 +0200
User-agent: Gnus/5.090003 (Oort Gnus v0.03) Emacs/20.7

Amelie Zapf <address@hidden> writes:

> I found some .el files in the Lilypond package and also overheard
> some talk on the list about configuring Emacs for Lilypond. Can
> anybody tell me exactly how those Emacs Lisp files are installed?

See Emacs mode, in

    http://lilypond.org/Documentation/topdocs/out-www/INSTALL.html

Hmm, I've updated that text to read:

       An Emacs mode for entering music and running LilyPond is included
    with the source archive as `lilypond-mode.el' and
    `lilypond-font-lock.el'.  You should install these files somewhere in
    your LOAD-PATH.  If you have installed a precompiled LilyPond package,
    these files can be found in `/usr/share/doc/lilypond-x.y.z/'.

       Add this to your `~/.emacs' or `~/.emacs.el', or install this file
    in Emacs' `site-start.d':
             ;;; lilypond-init.el --- Startup code for LilyPond mode

             (load-library "lilypond-mode.el")
             (setq auto-mode-alist
               (cons '("\\.ly$" . LilyPond-mode) auto-mode-alist))
             (add-hook 'LilyPond-mode-hook (lambda () (turn-on-font-lock)))

       If you have the latest LilyPond-1.4.x Debian package, LilyPond-mode
    is automatically loaded, you not even need to modify your `~/.emacs'
    file.


Jan.

-- 
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien       | http://www.lilypond.org




reply via email to

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