Le 06/06/2022 à 19:07, Knute Snortum a écrit :
On Mon, Jun 6, 2022 at 9:37 AM Jean Abou Samra <j...@abou-samra.fr> wrote:
The commit message might not have been clear enough. \spacingTweaks
was not just unused; I don't remove functions not used in LilyPond
itself for the sake of removing them (I add tests for them instead).
\spacingTweaks was just *broken*: there was no way it could work.
Understood. I didn't think you would remove a function willy nilly.
This is fine, except it *was* documented in v2.22
through v2.20 at least. My questions are:
Where do you see that?
(https://lilypond.org/doc/v2.22/Documentation/notation/available-music-functions)
(https://lilypond.org/doc/v2.22/Documentation/notation/lilypond-command-index)
(https://lilypond.org/doc/v2.22/Documentation/notation/lilypond-index)
Ah, yes, there is autogenerated documentation listing available music
functions. Is anyone using that to find functions, though? I always
thought you'd use it for remembering what a particular function does,
but not to discover the available possibilities since the list is large.
* should there be a mention on the Changes manual page that it's gone?
Possibly. I didn't think anybody would notice given it had no effect before.
It's quite possible it hasn't been used. I only came across it when I
was updating the Frescobaldi syntax highlighting program. I'm
thinking "do nothing" is a fine option at this point.
I just did some tests and I am not seeing an effect of
\spacingTweaks in a version as early as 2.8 (the earliest
I could download from lilypond.org). LilyPond 2.8 is from
2006. Thus, I think it's fine as well. Thanks for raising it
nevertheless -- it's good to have users reporting potential
oversights.
Best,
Jean