lilypond-auto
[Top][All Lists]
Advanced

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

Re: [Lilypond-auto] Issue 4083 in lilypond: \keepWithTag does not nest w


From: lilypond
Subject: Re: [Lilypond-auto] Issue 4083 in lilypond: \keepWithTag does not nest well
Date: Fri, 05 Sep 2014 11:36:51 +0000


Comment #22 on issue 4083 by address@hidden: \keepWithTag does not nest well
https://code.google.com/p/lilypond/issues/detail?id=4083

I hate to flipflop like that, but the current implementation does not meet the criteria outlined in comment #20.

After \tagGroup #'(a b)
\keepWithTag #'(a c) \tag #'(a d) ...
_will_ keep the respective music since "at least one tag matches", namely "a". That means that \keepWithTag #'(a c) is _not_ equivalent to \keepWithTag #'a \keepWithTag #'c here.

In fact, the same logic as combining multiple tags of one group into one command applies here: If \keepWithTag finds a matching tag in _any_ of the given groups, it will keep the music. This difference will only be apparent when multiple tags are given on the _same_ piece of music. If they are applied at _different_ levels, the inner music will be removed or kept according to its own tag level, and the outer music will be removed or kept according to its own tag level.

If tag levels are supposed to be orthogonal, however, the depth of tagged music should not make a difference.

\keepWithTag #'(a c) \tag #'a \tag #'d { ... }
should not be kept while
\keepWithTag #'(a c) \tag #'a { \tag #'d { ... } }
has the inner music removed.

So while the original comment #14 was actually correct about the implemented behavior, we don't want it to be correct.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings



reply via email to

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