From: Shelagh Manton <shelagh.manton@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: LilyPond support in Emacs
Date: Mon, 14 Jul 2008 12:40:23 +1000 [thread overview]
Message-ID: <20080714124023.3b71eb7e@pandora> (raw)
In-Reply-To: b4897d450807111912v6e1ea078q24bda63b017faed0@mail.gmail.com
On Fri, 11 Jul 2008 18:12:44 -0800
q10 <q101100111000@gmail.com> wrote:
> Hello:
>
> Okay, maybe I don't know how to access it, but it seems that Emacs
> does not support syntax highlighting in LilyPond *.ly files. Please
> show me the plugin if there is one, or add syntax highlighting and
> language support for LilyPond and all the other music notation
> filetypes out there.
>
> Thank you,
> -q10
>
When you install lilypond you already will have the files you need to
highlight lilypond files. You may need to search for them, however.
Hmm... I found them in the systems /usr/share/emacs/site-lisp/
after installing the lilypond package in hardy ubuntu.
Tell emacs where to find them.
perhaps (require 'lilypond-init) might be enough.
Though its worth installing lyqi-mode.
This is what my .emacs file looks like for lilypond
(autoload 'LilyPond-mode "lilypond-mode" "LilyPond Editing Mode" t)
(add-to-list 'auto-mode-alist '("\\.ly$" . LilyPond-mode))
;; adds ~/.elisp/lyqi in the load path
(setq load-path (cons (expand-file-name "~/.elisp/lyqi") load-path))
;; when loading LilyPond-mode, lyqi-mode library will also be loaded.
;; type `C-c q' in LilyPond-mode to switch to lyqi-mode.
(eval-after-load "LilyPond-mode"
'(progn
(load-library "lyqi-mode")
(define-key LilyPond-mode-map "\C-cq" 'lyqi-mode)
(lambda () (turn-on-font-lock))))
Shelagh
--
----------------------------------------------------------------
Jabber: shelagh.manton@gmail.com
----------------------------------------------------------------
prev parent reply other threads:[~2008-07-14 2:40 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-12 2:12 LilyPond support in Emacs q10
2008-07-12 6:29 ` Bernardo Bacic
2008-07-12 7:49 ` Lennart Borgman (gmail)
[not found] ` <mailman.14609.1215848959.18990.help-gnu-emacs@gnu.org>
2008-07-12 13:14 ` henry atting
2008-07-14 2:40 ` Shelagh Manton [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080714124023.3b71eb7e@pandora \
--to=shelagh.manton@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).