bug-lilypond
[Top][All Lists]
Advanced

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

Re: Double transpose when in tags within music function


From: Ole V . Villumsen
Subject: Re: Double transpose when in tags within music function
Date: Sat, 11 Jan 2014 14:34:59 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

David Kastrup <dak <at> gnu.org> writes:

> No, it doesn't.  There are several other operations that will fail or
> cause surprises.  Your mistake is using #theMusic twice without creating
> a copy, so indeed the same music gets transposed twice and used twice.
> Write $theMusic instead: that creates an actual copy.  Or write
> #(ly:music-deep-copy theMusic) which is semantically the same as
> $theMusic.

Thank you, Urs, for the easy fix to my problem, and David for the
explanation. I'll go decide whether I think it's just me who needs
practicing reading the docs or it's also the docs that could use
clarification ... :-)

/Ole




reply via email to

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