Keith OHara <[email protected]> writes:

>
> I looked for a case in my scores where I wanted a stack, where I wanted to
> temporarily override something that I had already overridden, and then put
> back my first override.  I did not find any.

I love having the ability to write a music function that will set desired 
properties,
and then put them back to their original state.

For example, suppose I want to write a function that emphasizes the notes in 
the music argument by making all the noteheads red.  But it should only apply 
to the music argument.  Then, I want to set things back to what they were when 
the function exits.  If I use revert, it will set the note heads back to black. 
 But if I call the function from a voice that has green note heads, it won't 
set them back to green; it will always set them back to black.

For a couple of years, I've wanted to have the ability to easily do a push/pop 
pair for use in writing music functions.

I'm excited about this option, and fully support it.

Thanks, David!

Carl

_______________________________________________
lilypond-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to