bug-lilypond
[Top][All Lists]
Advanced

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

Re: Issue 1110 in lilypond: Wrong octave of repetition chord with \relat


From: lilypond
Subject: Re: Issue 1110 in lilypond: Wrong octave of repetition chord with \relative and #{ #} syntax
Date: Sun, 16 Oct 2011 06:41:24 +0000


Comment #13 on issue 1110 by address@hidden: Wrong octave of repetition chord with \relative and #{ #} syntax
http://code.google.com/p/lilypond/issues/detail?id=1110

Regarding comment #11: see comment #12. If you want a reliable indicator for mismatching chord associations when relativizing, one possibibility would be to let q give the source chord a unique chordId, and give the same chordId to repeated chords. A mismatch when relativizing in the manner given in comment #12 would then be flagged as an error.

One possibility for unique chordId is just using (make-symbol "chordId"). This creates an eq?-unique uninterned symbol on each call, and the uniqueness survives any kind of deep copying.

Personally, I prefer them over the symbol table garbage that gensym leaves around, but some people might be annoyed about Id values that all _look_ the same while comparing as different.




reply via email to

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