Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(796)

Issue 7124056: Define utility macro make-relative (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 4 months ago by dak
Modified:
11 years, 2 months ago
Reviewers:
CC:
lilypond-devel_gnu.org
Visibility:
Public.

Description

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

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+244 lines, -101 lines) Patch
A input/regression/make-relative.ly View 1 chunk +82 lines, -0 lines 0 comments Download
M ly/music-functions-init.ly View 2 chunks +97 lines, -90 lines 0 comments Download
M scm/music-functions.scm View 2 chunks +65 lines, -11 lines 0 comments Download

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b