> Today I saw some bad (too wide) spacing when an extra-slim clef is
> used in a score with no time signature. Please see the attached
> image.
>
> I think I’ve found a solution (see the code below). Is this a good
> approach? [...]
>
> % The default listed at
> % https://lilypond.org/doc/v2.27/Documentation/internals/clef
> % is (minimum-fixed-space . 5.0)
> \override Staff.Clef.space-alist.first-note = #'(minimum-space . 2)
Yes. LilyPond uses, as you've correctly observed, quite a large
default value for this distance, and you have to adjust it to your
needs.
You might look up the definition of the `VaticanaStaff` context
(around line 1375 in file `engraver-init.ly`) to get some more ideas.
Werner