lilypond-auto
[Top][All Lists]
Advanced

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

Re: [Lilypond-auto] Issue 2872 in lilypond: Patch: Provide define-sessio


From: lilypond
Subject: Re: [Lilypond-auto] Issue 2872 in lilypond: Patch: Provide define-session and define-session-public commands
Date: Wed, 03 Oct 2012 12:04:27 +0000


Comment #9 on issue 2872 by address@hidden: Patch: Provide define-session and define-session-public commands
http://code.google.com/p/lilypond/issues/detail?id=2872

Another example found by accident.
(Thinking about Eluze's post
http://lists.gnu.org/archive/html/bug-lilypond/2012-10/msg00001.html
)

I found (define-public (add-new-clef ...
in parser-clef.scm
and tested this with:

\version "2.16.0"

#(add-new-clef "mySillyClef" "clefs.G" 5 0 -11)
\relative c' { \clef "mySillyClef" c1 }

stored in a file, and another file _without_ #(add-new-clef ...

Calling lilypond file-1.ly file-2.ly
or lilypond *.ly
showed that "mySillyClef" is available in _both_ files.

But I didn't understand how to change (define-public (add-new-clef ...
Testing the simple change to define-session-public or define-session, with the files above returns:
GNU LilyPond 2.17.4
<unnamed port>: In expression (apply f (cdr exp)):
<unnamed port>: Wrong number of arguments to #<procedure #f (name value)>




reply via email to

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