[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs lilypond-mode
From: |
David Kastrup |
Subject: |
Re: Emacs lilypond-mode |
Date: |
Tue, 13 Oct 2015 11:49:43 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Andrew Bernard <address@hidden> writes:
> Hi David,
>
> Really helpful advice. Except I need a hint or two.
>
> If I create .dir-locals.el thus:
>
> ((LilyPond-mode
> (LilyPond-lilypond-command . "lilypond -I /tmp")))
>
> when running C-c C-l then only the command ‘lilypond’ is run - the
> customisation is ignored. Do you have to customise the elisp
> definition in entirety?
>
> The idea is to just add -I for the include paths for the libraries of
> code that I have created.
This is rather awkward: all the commands refer to LilyPond-command-menu,
and LilyPond-command-menu evaluates the value of
LilyPond-lilypond-command when first loaded but not afterwards. So any
subsequent change or customization is ignored until Emacs is restarted,
but directory locals are applied when a mode is loaded and consequently
will always come too late. I'll take a look at the code and try fixing
it. Since the code was lifted from a very early version of AUCTeX,
making it work like AUCTeX should likely do the trick.
--
David Kastrup
- Emacs lilypond-mode, Andrew Bernard, 2015/10/12
- Re: Emacs lilypond-mode, David Kastrup, 2015/10/12
- Re: Emacs lilypond-mode, Urs Liska, 2015/10/12
- Re: Emacs lilypond-mode, Andrew Bernard, 2015/10/13
- Re: Emacs lilypond-mode,
David Kastrup <=
- Message not available
- Re: Emacs lilypond-mode, David Kastrup, 2015/10/13
- Re: Emacs lilypond-mode, Andrew Bernard, 2015/10/13
- Re: Emacs lilypond-mode, David Kastrup, 2015/10/14
- Re: Emacs lilypond-mode, Laura Conrad, 2015/10/18
- Re: Emacs lilypond-mode, David Kastrup, 2015/10/18
- Re: Emacs lilypond-mode, David Kastrup, 2015/10/18
- Re: Emacs lilypond-mode, Laura Conrad, 2015/10/19
- Re: Emacs lilypond-mode, David Kastrup, 2015/10/19
- Re: Emacs lilypond-mode, Simon Albrecht, 2015/10/19
- Re: Emacs lilypond-mode, Laura Conrad, 2015/10/19