Re: Error in Extending Lilypond example
Thomas Morley <[email protected]>
| Newsgroups | gmane.comp.gnu.lilypond.general,gmane.comp.gnu.lilypond.bugs |
|---|---|
| Message-ID | <CABsfGyVRnMuYmitBzty+g21O8BO=f8iP4P-MBEfiJVAU8ncWFg@mail.gmail.com> |
Am Mi., 1. Feb. 2023 um 04:16 Uhr schrieb Saul Tobin <[email protected]>: > > The fourth example engraver here: > https://extending-lilypond.readthedocs.io/en/latest/extending/translation.html#fourth-engraver-example > > Running this code in 2.24 crashes on initializing the engraver with In > procedure ly:spanner-set-bound!: Wrong type argument in position 3 > (expecting Item): (). Fwiw, looks like (ly:context-property ctx 'currentCommandColumn) is not longer available in the initialize-step of an engraver. Not the time to bisect when and why this happened, Here a stripped down code-example: \version "2.24.0" \new Voice \with { \consists #(lambda (ctx) (make-engraver ((initialize this-engraver) (newline)(display (ly:context-property ctx 'currentCommandColumn))))) } { b1 } Cheers, Harm