Have a look at https://lilypond.org/doc/v2.21/Documentation/notation/spanners.fr.htmlLooking up the e-mail archive for 'lilypond-devel' I couldn't find relevant info. Do you have a link?
Apparently some spacing calculations need to be triggeredby hand. Jean