Status: Started Owner: [email protected] Labels: Type-Enhancement Patch-new
New issue 3118 by [email protected]: Patch: Define utility macro make-relative http://code.google.com/p/lilypond/issues/detail?id=3118 Define utility macro make-relative This is actually a whole bunch of different interesting issues that are intertwined enough to actually warrant about three different issues after another. However, since make-relative is what has actually been asked for, and most of the other work is just related to making the regtest work out usefully, I am sorting this under "make-relative". The sequence of commits (as usual in reverse) is Add make-relative regtest This steals a bit of the Bach prelude #1 in the Well-Tempered Piano for demonstrating how to create a relative-cooperating utility macro. Define utility macro make-relative This is useful for creating music functions getting pitch arguments that behave "naturally" when placed within \relative. Let \parallelMusic deal with barchecks at arbitrary depth This lets \parallelMusic react to bar checks at arbitrary depth to make it more useful in connection with music functions. Use new music-clone arguments in \endSpanners Give music-clone additional rest argument to justify its existence Otherwise we could just use ly:music-deep-copy http://codereview.appspot.com/7124056
