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: Jean Abou Samra
Subject: Re: Error in Extending Lilypond example
Date: Wed, 1 Feb 2023 11:36:14 +0100


> Le 1 févr. 2023 à 11:23, Thomas Morley <thomasmorley65@gmail.com> a écrit :
> 
> 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,

It’s this: 
https://gitlab.com/lilypond/lilypond/-/commit/7a09ffee2c69ab9617289afd21dae1b9198a9fee

Perfectly intentional.

Also, reading it in initialize was a bad idea in 2.22 in the first place. That 
creates a dependency on the order in which engravers are \consists-ed between 
your engraver and Paper_column_engraver. I’ll fix it by doing it in the first 
run of process-music. It should have been like that in the first place.



reply via email to

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