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 not clear why rl is even a list if it always has to have exactly one member. And the (reverse rl) indicates that this function does something else. Also the comment does not mention the function of "padding". So the function description tries to be sort-of abstract by avoiding to mention what the function is actually being used for, but there are lots of missing pieces which can only be guessed if you actually know what is being done here. Bad combination. Try being more complete. I suspect that this will yield to a call of fold, but it's hard to say with the documentation not really matching the code. https://codereview.appspot.com/289980043/diff/1/scm/define-markup-commands.scm#newcode4783 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. https://codereview.appspot.com/289980043/ _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-devel