lilypond-devel
[Top][All Lists]
Advanced

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

Re: rendering differences if using `-j12 CPU_COUNT=12`


From: Jonas Hahnfeld
Subject: Re: rendering differences if using `-j12 CPU_COUNT=12`
Date: Sat, 01 May 2021 11:16:29 +0200
User-agent: Evolution 3.40.0

Am Samstag, dem 01.05.2021 um 10:16 +0200 schrieb Jean Abou Samra:
> Since commit 4751d0a66e97a61c763c150bb38f0446cc945f4d,
> ly/turkish-makam.ly contains this:
> 
> #(set! standard-alteration-glyph-name-alist
>         (append turkishMakamGlyphs
>                 standard-alteration-glyph-name-alist))
> 
> 
> which changes the shared variable
> standard-alteration-glyph-name-alist, used by the
> \sharp markup command among others.
> 
> [...]
> 
> This means that if a snippet using turkish-makam.ly
> is compiled, in the same session, before a file
> using \markup \sharp, the glyph changes.
> 
> Basically the mechanism should be changed so that
> set! is no longer needed.

I think all that's needed is changing
    (define-public standard-alteration-glyph-name-alist
to
    (define-session-public standard-alteration-glyph-name-alist
and the session mechanism will take care to restore the initial value
after each file (as lang as you don't use destructive operations on
that initial value).

Jonas

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

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