lilypond-auto
[Top][All Lists]
Advanced

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

[Lilypond-auto] Issue 2897 in lilypond: Patch: Create \temporary for doi


From: lilypond
Subject: [Lilypond-auto] Issue 2897 in lilypond: Patch: Create \temporary for doing overrides without pop-first set
Date: Sat, 13 Oct 2012 14:25:26 +0000

Status: New
Owner: ----
Labels: Type-Enhancement Patch-new

New issue 2897 by address@hidden: Patch: Create \temporary for doing overrides without pop-first set
http://code.google.com/p/lilypond/issues/detail?id=2897

Create \temporary for doing overrides without pop-first set

Normal overrides change the top of the current property stack rather
than pushing to it, by having the pop-first property set in the music.

\temporary will remove this property from its argument's overrides.
For property-changing music that is not an override, a warning will be
generated.

Calling \temporary \override and \revert in succession on the same
property will have a net effect of zero.  Similarly, pairing
\temporary and \undo on the same music containing overrides will have
a net effect of zero.

In more complex arrangements, \revert will revert to the state before
the last (matching) \temporary override of the same property.

Properties are maintained conceptually using one stack per property
per grob per context.  Using \push/\pop instead of \temporary/\undo
was deemed unsuitable for a musician-accessible user interface.

http://codereview.appspot.com/6687044




reply via email to

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