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

Issue 2145047: Fix #1205. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 7 months ago by Neil Puttock
Modified:
13 years, 2 months ago
CC:
lilypond-devel_gnu.org
Visibility:
Public.

Description

Fix #1205. Reinstate an event for \tempo, instead of relying on context property changes.

Patch Set 1 #

Patch Set 2 : Major rebase. #

Total comments: 1

Patch Set 3 : Fix indentation inside `with-music-match' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+140 lines, -190 lines) Patch
M input/regression/metronome-range.ly View 1 2 chunks +7 lines, -4 lines 0 comments Download
M input/regression/metronome-text.ly View 1 2 chunks +19 lines, -17 lines 0 comments Download
M lily/metronome-engraver.cc View 1 4 chunks +17 lines, -41 lines 0 comments Download
M lily/parser.yy View 1 1 chunk +4 lines, -10 lines 0 comments Download
M scm/define-context-properties.scm View 1 2 1 chunk +1 line, -4 lines 0 comments Download
M scm/define-event-classes.scm View 1 1 chunk +1 line, -1 line 0 comments Download
M scm/define-music-display-methods.scm View 1 2 6 chunks +31 lines, -58 lines 0 comments Download
M scm/define-music-properties.scm View 1 1 chunk +1 line, -1 line 0 comments Download
M scm/define-music-types.scm View 1 1 chunk +5 lines, -0 lines 0 comments Download
M scm/ly-syntax-constructors.scm View 1 1 chunk +28 lines, -27 lines 0 comments Download
M scm/song.scm View 1 1 chunk +20 lines, -25 lines 0 comments Download
M scm/translation-functions.scm View 1 2 1 chunk +6 lines, -2 lines 0 comments Download

Messages

Total messages: 9
Neil Puttock
Hi, This patch changes the internal representation of \tempo so it uses an event to ...
13 years, 7 months ago (2010-09-12 21:42:50 UTC) #1
Valentin Villenave
On 2010/09/12 21:42:50, Neil Puttock wrote: > This patch changes the internal representation of \tempo ...
13 years, 4 months ago (2010-11-27 00:27:27 UTC) #2
Neil Puttock
On 2010/11/27 00:27:27, Valentin Villenave wrote: > Wow, I can understand why my patch would ...
13 years, 4 months ago (2010-11-27 00:57:24 UTC) #3
Graham Percival (old account)
Unfortunately this patch no longer applies cleanly to git master.
13 years, 3 months ago (2011-01-22 20:34:05 UTC) #4
Neil Puttock
On 2011/01/22 20:34:05, Graham Percival wrote: > Unfortunately this patch no longer applies cleanly to ...
13 years, 2 months ago (2011-02-04 10:31:40 UTC) #5
Graham Percival (old account)
LGTM
13 years, 2 months ago (2011-02-04 13:15:51 UTC) #6
Graham Percival (old account)
argh, I just sent the 48-hour notice before checking the regtests. Minor issue: input/regression/display-lily-tests.log no ...
13 years, 2 months ago (2011-02-06 20:47:32 UTC) #7
nicolas.sceaux
http://codereview.appspot.com/2145047/diff/6001/scm/define-music-display-methods.scm File scm/define-music-display-methods.scm (right): http://codereview.appspot.com/2145047/diff/6001/scm/define-music-display-methods.scm#newcode927 scm/define-music-display-methods.scm:927: (format #f "\\tempo ~{~a~a~}~a = ~a~a" The indentation is ...
13 years, 2 months ago (2011-02-06 21:13:34 UTC) #8
Neil Puttock
13 years, 2 months ago (2011-02-07 21:27:33 UTC) #9
On 2011/02/06 21:13:34, nicolas.sceaux wrote:
>
http://codereview.appspot.com/2145047/diff/6001/scm/define-music-display-meth...
> File scm/define-music-display-methods.scm (right):
> 
>
http://codereview.appspot.com/2145047/diff/6001/scm/define-music-display-meth...
> scm/define-music-display-methods.scm:927: (format #f "\\tempo ~{~a~a~}~a =
~a~a"
> The indentation is wrong.
> The usual indentation with this kind of macro is:
> (with-xxx something
>   body) ; two spaces
> or:
> (with-xxx
>     something ; four spaces
>   body) ; two spaces
> so that the special 'something' argument is not confused with the regular
body.
> 
> For the same reason, the new indentation of "\\melismaEnd" on line 915 is
> incorrect.

Thanks, fixed.

I relied on the default indentation provided by emacs, but I've added the
following to my .emacs file to make sure:

(put 'with-music-match 'scheme-indent-function 1)

Cheers,
Neil
Sign in to reply to this message.

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