lilypond-user
[Top][All Lists]
Advanced

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

Re: Tie with slash (caesura) on the curve


From: Pierre Perol-Schneider
Subject: Re: Tie with slash (caesura) on the curve
Date: Thu, 10 Nov 2022 11:37:24 +0100

Hi Jean,

Le jeu. 10 nov. 2022 à 11:23, Jean Abou Samra <jean@abou-samra.fr> a écrit :
...
This is nice! Just a thought: why use after-line-breaking
here?
...

Bad habit? Respond without thinking long enough? Too proud it'd worked? Missing knowledge? All?... Yeah, probably all...
 
This is the sort of thing that can cause mysterious bugs
if something else reads the stencil property before your
after-line-breaking callback is executed. In general, it's
good practice to stick with normal callbacks in most cases,
and only use after-line-breaking if you really need it.
Also, you can use grob-transformer to get the default value.
This way, if the default changes in a future version, the code
will still work. (grob-transformer is documented here:
https://lilypond.org/doc/v2.22/Documentation/extending/callback-functions)

Thanks for the tip Jean, I'll keep that in mind ;)
Cheers,
Pierre

reply via email to

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