Simon Albrecht <simon.albre...@mail.de> writes:

> Hi Harm,
>
> thanks for the patch.
>
> As for the user-interface, I’d prefer something like
>
> \unfoldRepeats tremolo \m
> \unfoldRepeats volta,tremolo \m
>
> IIUC, that would require using predicate symbol-or-symbol-list? for
> the optional argument.

I don't think so: LilyPond will try a symbol list when a symbol doesn't
work.  However, people might get surprised by

#(unfoldRepeats 'tremolo m)

not working.  So it's probably less surprising to use
symbol-or-symbol-list? overall.

> (I hope that works… didn’t test TBH) Also, I think we shouldn’t
> require the user to give the technical names for the music types, but
> just the term as used with \repeat.

As a user interface, that sounds very much desirable.  I don't like
converting symbols to strings, putting stuff on them, and converting
them back again.

But it's probably the lesser evil.

-- 
David Kastrup

_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to