[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: music-function for ending TextSpanners sometimes fail for skip-event
From: |
David Kastrup |
Subject: |
Re: music-function for ending TextSpanners sometimes fail for skip-events |
Date: |
Thu, 25 Oct 2018 14:35:49 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Thomas Morley <address@hidden> writes:
> I'm tempted to create a patch along these lines.
> Though, there is no other usage of 'music-clone' in our code-base, afaict.
> It's far to useful to risk someone deletes it lateron regarding it as
> unused function.
Its functionality is rather similar to ly:music-deep-copy and, actually,
make-music (which can take existing music as a template for filling in
the mutable elements of a music expression).
So there is a fair bit of redundancy here though not a perfect
replacement.
> I think a regtest for 'music-clone' should be created, probably a
> snippet (which may be a doc-tagged-LSR-snippet) as well.
> I'll have a look through my local usage of 'music-clone', coming back,
> if I find some nice usage.
--
David Kastrup