Comment #13 on issue 1110 by [email protected]: 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.


_______________________________________________
bug-lilypond mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to