[Top][All Lists]

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

Re: Issue 3958: Give examples of \applyContext usage. (issue 110060045 b

From: dak
Subject: Re: Issue 3958: Give examples of \applyContext usage. (issue 110060045 by address@hidden)
Date: Tue, 24 Jun 2014 19:35:17 +0000
File Documentation/extending/programming-interface.itely (right):
Documentation/extending/programming-interface.itely:1339: @end lilypond
This passage is too long.  One thing that is worth mentioning is that
\applyContext tends to be a last resort.  When one quotes music or
otherwise manipulates or replays it, the actions taken by applyContext
are basically opaque.  \set/\override/\revert are turned into
corresponding stream events and one can simulate or interpret the
actions they are taking and knows which properties are affected.

\applyContext, in contrast, has arbitrary effects.  While it also can be
recorded and replayed as a stream event, there is no way of knowing its
effects on the context's properties without actually making the call and
comparing the context properties before and afterwards.  And its effects
will depend on the status of the current context, to boot.

reply via email to

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