lilypond-user
[Top][All Lists]
Advanced

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

Re: question about overrides within repeats


From: Simon Albrecht
Subject: Re: question about overrides within repeats
Date: Sun, 22 Nov 2015 21:52:16 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

On 22.11.2015 21:44, David Kastrup wrote:
Thomas Morley <address@hidden> writes:

Though, why it is that arbitrary?

Look at this variation and the attached image:

\version "2.19.29"
#(define test-nmbrs
   (let ((nmbrs (circular-list 1 2 3 4)))
     (lambda (grob)
       (let ((n (car nmbrs)))
         (set! nmbrs (cdr nmbrs))
         (grob-interpret-markup grob (number->string n))))))

{
   \repeat unfold 8 {
     \once \override TextScript.stencil = #test-nmbrs
     c''4^\markup "foo"
   }
}
Well, it is exactly 2 variants of 1, 2, 3, 4 each.  I suspect that the
order of grob evaluation at some point when a system is printed depends
on the order of memory addresses.

Find that point and you'll likely also have the culprit for various
other stuff behaving non-deterministically, like what is drawn on top of
what and other things frequently turning up in "make check".


Should I open a tracker issue for that? Defect or Enhancement?

Yours, Simon



reply via email to

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