lilypond-devel
[Top][All Lists]
Advanced

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

Re: Shortcut for \repeat unfold


From: David Kastrup
Subject: Re: Shortcut for \repeat unfold
Date: Tue, 28 Sep 2021 09:34:19 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Jean Abou Samra <jean@abou-samra.fr> writes:

> This seems a likely cause for current success:
>
>
> commit b0c6d48388c66aa12a472a6069f5b2ec07c579b2
> Author: Han-Wen Nienhuys <hanwenn@gmail.com>
> Date:   Sun Feb 14 11:15:17 2021 +0100
>
>     Initialize session from a dedicated parser
>
>     The session mechanism reads the initialization .ly files, to setup
>     variable assignments to replay for later files.  This mechanism
>     inherently retains the module associated with the parser for
>     initializing the session.
>
>     Before, if the first .ly file assigned something to an identifier,
> the value
>     would be retained, leading to "parsed-object is dead" warnings.
>
>     By executing the initialization in a separate parser, we avoid the
>     warnings. It also ensures that the first file is processed in the same
>     way as later files.

Oh, ok.  It would have been my expectation though possibly to be
adjusted for macro usage because macro replacements are not module
specific.  Good thing then Han-Wen made that change.

-- 
David Kastrup



reply via email to

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