[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: unfoldRepeats can be restricted to certain repeat-types (issue 31889

From: David Kastrup
Subject: Re: unfoldRepeats can be restricted to certain repeat-types (issue 318890043 by address@hidden)
Date: Fri, 02 Dec 2016 20:44:52 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Simon Albrecht <address@hidden> 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]