lilypond-user
[Top][All Lists]
Advanced

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

Re: Text Spanner auto expand to end of duration


From: Thomas Morley
Subject: Re: Text Spanner auto expand to end of duration
Date: Mon, 8 Feb 2021 01:59:45 +0100

Am Mo., 8. Feb. 2021 um 00:29 Uhr schrieb Jean Abou Samra <jean@abou-samra.fr>:
>
>       ((finalize this-engraver)
>         ;; house keeping
>         (set! trill-spanner #f)
>         (set! rhythmic-events '())
>         (set! bar-line #f)))))
>
>
> Hi Harm,
>
> Is there a reason to reset variables in 'finalize'
> methods like this?
>
> I've done without so far and never had any
> problem; engravers in scm/scheme-engravers.scm
> only do it when you are their author ;-)
>
> Just curious.
>
> Thanks,
> Jean

Well, I seem to remember that there was a problem, if a
custom-engraver was consisted in various files all compiled in one go
like
lilypond file-1.ly file-2.ly.
Some bleed over, iirc. I didn't test recently, though. It doesn't hurt
to reset the variables, imho.

Cheers,
  Harm



reply via email to

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