Re: Shortcut for \repeat unfold

2021-09-27 Thread David Kastrup
Carl Sorensen writes: > On 9/27/21, 3:52 PM, "lilypond-devel on behalf of David Kastrup" > behalf of d...@gnu.org> wrote: > > Jean Abou Samra writes: > > > is not entirely true: once a function is defined, it can be > > relied on internally. Imagine my embarrassment when I had

Re: Shortcut for \repeat unfold

2021-09-27 Thread David Kastrup
Jean Abou Samra writes: > I *think* it means a token of lookahead is required > after most curly braces, which *may* have consequences > on synchronization between lexer and parser around mode > boundaries — at any rate, parser.yy contains the comment > > // We must not have lookahead tokens pars

Re: Shortcut for \repeat unfold

2021-09-27 Thread Carl Sorensen
On 9/27/21, 3:52 PM, "lilypond-devel on behalf of David Kastrup" wrote: Jean Abou Samra writes: > is not entirely true: once a function is defined, it can be > relied on internally. Imagine my embarrassment when I had to > explain on -user-fr the cause of the error occur

Re: Shortcut for \repeat unfold

2021-09-27 Thread David Kastrup
Jean Abou Samra writes: > is not entirely true: once a function is defined, it can be > relied on internally. Imagine my embarrassment when I had to > explain on -user-fr the cause of the error occurring with > the code (minimized here): > > cons = \markup \tiny "conséquent" > > { >   \stemDown >

Re: Shortcut for \repeat unfold

2021-09-27 Thread Jean Abou Samra
Le 25/09/2021 à 17:25, Dan Eble a écrit : On Sep 25, 2021, at 06:32, Lukas-Fabian Moser wrote: "\*" = #(define-music-function (n mus) (index? ly:music?) #{ \repeat $repeat-shorthand $n { #mus } #}) Instead of debating a default repeat type and function, why not provide access to repetit