lilypond-devel
[Top][All Lists]
Advanced

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

Re: problems with \cueDuring


From: Han-Wen Nienhuys
Subject: Re: problems with \cueDuring
Date: Fri, 26 Nov 2004 12:50:30 +0100

address@hidden writes:
> > One of the options is to traverse all music expressions recursively,
> > and set the music property #'quoted-events to '() if it is defined
> > 
> > untested code: 
> > 
> > killCues =
> > #(def-music-function
> >   (location music) (ly:music?)
> >   (music-map (lambda (mus)
> > 
> > (set! (ly:music-property mus 'quoted-events '())
> > (set! (ly:music-property mus 'quoted-context-id '())
> > (set! (ly:music-property mus 'quoted-context-type '())
> > 
> > 
> > )) music))
> 
> Mhhm, this is indeed untested...  I can't make it work :-) The number
> of parentheses doesn't fit, and I couldn't find a combination which
> doesn't give a Scheme error.
> 
> Am I correct that it is to be used like this?

yup. See CVS for a better try.
-- 

 Han-Wen Nienhuys   |   address@hidden   |   http://www.xs4all.nl/~hanwen 





reply via email to

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