Aaron Hill <lilyp...@hillvisions.com> writes:

> On 2018-09-13 4:42 am, David Kastrup wrote:
>> [...] If you write something like
>>
>> \stemDown \once \stemUp \stemNeutral
>>
>> what's the expectation for the current timestep, and what's the
>> expectation for afterwards?
>
> If \stem(Up|Down|Neutral) were as simple as "Stem.direction :=
> (Up|Down|Neutral)" and \once pushes a new value onto a stack that will
> be popped at some later time to restore the original value, then the
> property could have a well-defined* value during evaluation:

Huh.  I forgot issue 4609.  \once stemUp is independent of \stemNeutral
nowadays.  \stemNeutral cancels \stemDown but you'll only get to see it
at the next timestep.

This is not the behavior we want for

\grace { \stemNeutral ... }

(namely \stemNeutral only becoming effective after the \grace is ended)
so one has to design that behavior differently.

-- 
David Kastrup

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to