lilypond-user
[Top][All Lists]
Advanced

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

Re: an emacs question


From: Alexander Kobel
Subject: Re: an emacs question
Date: Sun, 12 Dec 2010 10:07:21 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7

On 2010-12-12 09:48, James Bailey wrote:

How can I pass an argument to the emacs compile command? Usually, when I 
compile something on the command line, I include a directory with tons of style 
sheets with the -I argument. Is it possible to add this to emacs, or can I only 
do it on the command line? Thanks in advance,

Hi, James,

C-h v LilyPond-command-alist gives me this:

Documentation:
AList of commands to execute on the current document.

The key is the name of the command as it will be presented to the
user, the value is a cons of the command string handed to the shell
after being expanded, and the next command to be executed upon
success.  The expansion is done using the information found in
LilyPond-expand-list. [...]

Value:
(("LilyPond" "Lilypond %s" "%s" "%l" "View")
 [...])

So I assume it should be enough to customize the "LilyPond" entry to
 ("LilyPond" "Lilypond <your-options> %s" "%s" "%l" "View")
and go for it. (You can click on the customize text in the variable documentation to yield the corresponding customization buffer.) Of course, this only applies to the C-c C-c compilation command of the LilyPond-mode; if you use the default M-x compile, you're both free and forced to give a shell command, and override the default as well.


Cheers,
Alexander



reply via email to

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