lilypond-devel
[Top][All Lists]
Advanced

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

Re: Auto-resetting of context properties


From: Werner LEMBERG
Subject: Re: Auto-resetting of context properties
Date: Fri, 26 Jan 2024 20:55:34 +0000 (UTC)

> So: Wouldn't it be more consistent to turn those context properties
> that (to the user) create "one-time only effects" into persistent
> ones (so forceClef = ##t _would_ actually create a clef at each
> timestep forward) and instead create dedicated user interfaces using
> music functions, like
> 
> forceClef  = \once \set forceClef = ##t
> 
> etc.? In a similar vein, wouldn't
> 
> stanzaNumber = \set stanza = \etc (plus some extra features like
> auto-adding dots when given an integer)
> 
> be more consistent than forcing the users to remember that (and
> understand why) stanza numbers have to be created by \set'ting a
> context property?

Sounds sensible, but I can't answer whether this can be easily be
implemented.  David?


    Werner

reply via email to

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