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

Issue 289980043: Introduce markup-list-command table (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
8 years, 2 months ago by thomasmorley651
Modified:
8 years, 2 months ago
Reviewers:
dak, carl.d.sorensen, Carl
CC:
lilypond-devel_gnu.org
Visibility:
Public.

Description

Introduce markup-list-command table

Patch Set 1 #

Total comments: 8

Patch Set 2 : Carl's and David's comments #

Patch Set 3 : correct oversight #

Total comments: 3

Patch Set 4 : (partly) adressing David's comment #

Patch Set 5 : fully adressing David's comments #

Patch Set 6 : further improvements #

Unified diffs Side-by-side diffs Delta from patch set Stats (+164 lines, -0 lines) Patch
M Documentation/changes.tely View 1 2 3 4 1 chunk +18 lines, -0 lines 0 comments Download
M scm/define-markup-commands.scm View 1 2 3 4 5 1 chunk +146 lines, -0 lines 0 comments Download

Messages

Total messages: 14
thomasmorley651
8 years, 2 months ago (2016-01-30 22:48:21 UTC) #1
Carl
LGTM -- just a couple of minor changes in documentation/comments https://codereview.appspot.com/289980043/diff/1/scm/define-markup-commands.scm File scm/define-markup-commands.scm (right): https://codereview.appspot.com/289980043/diff/1/scm/define-markup-commands.scm#newcode4724 ...
8 years, 2 months ago (2016-01-30 23:02:10 UTC) #2
dak
https://codereview.appspot.com/289980043/diff/1/scm/define-markup-commands.scm File scm/define-markup-commands.scm (right): https://codereview.appspot.com/289980043/diff/1/scm/define-markup-commands.scm#newcode4767 scm/define-markup-commands.scm:4767: ;; -> (list 0 1 3 6 10) It's ...
8 years, 2 months ago (2016-01-30 23:32:17 UTC) #3
thomasmorley651
Carl's and David's comments
8 years, 2 months ago (2016-01-31 11:16:18 UTC) #4
thomasmorley651
https://codereview.appspot.com/289980043/diff/1/scm/define-markup-commands.scm File scm/define-markup-commands.scm (right): https://codereview.appspot.com/289980043/diff/1/scm/define-markup-commands.scm#newcode4724 scm/define-markup-commands.scm:4724: The amount of columns is specifies by @var{columns}. Each ...
8 years, 2 months ago (2016-01-31 11:18:40 UTC) #5
thomasmorley651
correct oversight
8 years, 2 months ago (2016-01-31 13:05:57 UTC) #6
dak
https://codereview.appspot.com/289980043/diff/40001/scm/define-markup-commands.scm File scm/define-markup-commands.scm (right): https://codereview.appspot.com/289980043/diff/40001/scm/define-markup-commands.scm#newcode4724 scm/define-markup-commands.scm:4724: The number of columns is specifies by @var{columns}. Each ...
8 years, 2 months ago (2016-01-31 13:43:31 UTC) #7
thomasmorley651
(partly) adressing David's comment
8 years, 2 months ago (2016-01-31 14:31:56 UTC) #8
thomasmorley651
https://codereview.appspot.com/289980043/diff/40001/scm/define-markup-commands.scm File scm/define-markup-commands.scm (right): https://codereview.appspot.com/289980043/diff/40001/scm/define-markup-commands.scm#newcode4724 scm/define-markup-commands.scm:4724: The number of columns is specifies by @var{columns}. Each ...
8 years, 2 months ago (2016-01-31 14:34:22 UTC) #9
dak
https://codereview.appspot.com/289980043/diff/40001/scm/define-markup-commands.scm File scm/define-markup-commands.scm (right): https://codereview.appspot.com/289980043/diff/40001/scm/define-markup-commands.scm#newcode4724 scm/define-markup-commands.scm:4724: The number of columns is specifies by @var{columns}. Each ...
8 years, 2 months ago (2016-01-31 14:56:37 UTC) #10
thomasmorley651
fully adressing David's comments
8 years, 2 months ago (2016-01-31 15:27:28 UTC) #11
thomasmorley651
On 2016/01/31 14:56:37, dak wrote: > https://codereview.appspot.com/289980043/diff/40001/scm/define-markup-commands.scm > File scm/define-markup-commands.scm (right): > > https://codereview.appspot.com/289980043/diff/40001/scm/define-markup-commands.scm#newcode4724 > ...
8 years, 2 months ago (2016-01-31 15:29:37 UTC) #12
thomasmorley651
further improvements
8 years, 2 months ago (2016-02-01 21:40:23 UTC) #13
thomasmorley651
8 years, 2 months ago (2016-02-01 21:48:45 UTC) #14
On 2016/01/30 23:32:17, dak wrote:

>
https://codereview.appspot.com/289980043/diff/1/scm/define-markup-commands.sc...
> scm/define-markup-commands.scm:4783: (split-lst lst columns '())))
> We've had this a few times.  A markup-list? argument is not necessarily a list
> of markups.  It can also be a markup list command call.  The only thing you
can
> reliably do before starting list processing is to call interpret-markup-list
on
> the _whole_ markup-list argument.  Only _then_ can you start splitting the
> resulting list of stencils.

Thinking more about: it's not easily predictable how many stencils a markup list
command call will return.
Thus I extended the code, adding point-stencils to last row of the table, if
needed, i.e. if (pseudo-code) 
(/ (length stencils) number-of-columns)
is not integer.
Sign in to reply to this message.

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