lilypond-devel
[Top][All Lists]
Advanced

[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: Sat, 03 Dec 2016 12:34:39 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

address@hidden writes:

> On 2016/12/03 11:28:24, dak wrote:
>> mailto:address@hidden writes:
>
>> > On 2016/12/02 19:45:02, dak wrote:
>> >> However, people might get surprised by
>> >
>> >> #(unfoldRepeats 'tremolo m)
>> >
>> >> not working.
>> >
>> > Btw, it turned out the previous unfold-repeats destructively changed
> the
>> > music-argument, if called directly.
>
>> That's common for LilyPond functions.
>
>> --
>> David Kastrup
>
> Ok.
> Should I remove the call for ly:music-deep-copy?

In the function, I think that is only consistent with what we do and
expect elsewhere.  Of course, that might mean you have to review its
callers to make sure they don't get tripped up by that.

-- 
David Kastrup



reply via email to

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