bug-lilypond
[Top][All Lists]
Advanced

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

Re: Error in Extending Lilypond example


From: Thomas Morley
Subject: Re: Error in Extending Lilypond example
Date: Wed, 1 Feb 2023 11:22:53 +0100

Am Mi., 1. Feb. 2023 um 04:16 Uhr schrieb Saul Tobin
<saul.james.tobin@gmail.com>:
>
> 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



reply via email to

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