On 2016/07/22 07:55:54, dak wrote:
On 2016/07/22 07:41:00, http://mark_opus11.net wrote:
> On 2016/07/22 04:26:01, lemzwerg wrote:
> > LGMT. Thanks a lot!
>
> Might it be a good idea to keep one example using the old define
method, which
> is still more convenient for setting the value for multiple usages
of
> \afterGrace (or globally)?

Frankly, I decided against doing so since redefining parser behavior
by
resetting a global variable controlling its behavior in the middle of
a music
expression is a complete abomination.  This is different to how
\tupletSpan (or
its equivalent \override) works since \tupletSpan becomes a _part_ of
the music
expression.

I appreciate that reasoning, however the ability to set global behaviour
is one
of lilypond's major strengths - if overriding a default has to be
entered at every
usage of \afterGrace then we are back to making changes with sed
scripts.

The default value of 3/4 is almost always not appropriate, and I
regularly set this globally after entering the music to find a suitable
value.

Perhaps afterGraceFraction could be somehow included in graceSettings or
some other property of the Voice context?

https://codereview.appspot.com/304200043/

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

Reply via email to