Hello,
this was also posted on MusicSE, for reference here my reply:
You are not getting some barlines as
s1^"text" \bar "!"
will insert the bar line after the skip, which is in your case in a random
position later. Rather do
\bar "!" s1^"text"
to have the bar line at the exact posit
This is expected. The beam damping is, well, a damping. If the slope
is already horizontal, it won't change it.
What is not expected is that changing positions gives warnings. It's a bug:
https://gitlab.com/lilypond/lilypond/-/issues/3415
This workaround almost works except that it still gives a