Updates:
        Status: Invalid

Comment #1 on issue 1764 by n.putt...@gmail.com: \displayLilyMusic causes error with \addFingering from LSR 768
http://code.google.com/p/lilypond/issues/detail?id=1764

The LSR snippet is really at fault here; it shouldn't set 'tweaks to #f.

Note that there are many ways to cause \displayLilyMusic to crash if you fiddle with music properties; things like 'articulations and 'tweaks are expected to be (possibly empty) lists.

\displayMusic \addFingering a #"-5"

(make-music
  'EventChord
  'elements
  (list (make-music
          'NoteEvent
          'articulations
          (list (make-music
                  'FingeringEvent
                  'digit
                  5
                  'direction
                  -1
                  'tweaks ;; this is bad
                  #f))
          'elements
          '()
          'duration
          (ly:make-duration 0 0 1 1)
          'pitch
          (ly:make-pitch -1 5 0))))

If there are no tweaks to set, it shouldn't set the property (or if that's too difficult, set it to the empty list).


_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to