And I just found a solution that works even better for me...

%%% previous stuff
  \cadenzaOff
  \bar "|"
  \appoggiatura b4
  \set Timing.measurePosition = #(ly:make-moment 0 4)
%%% subsequent stuff


...by setting the measurePosition *after* the grace/appoggiatura and
before the first "beat" of the measure, the beams remain intact and
the warning disappears. Huzzah.

But still "strange" if you consider the bar numbering (the same goes with your accidentals' problem):

\relative c' {
\override Score.BarNumber #'break-visibility = #'#(#t #t #t)
\set Score.currentBarNumber = #11
\bar ""
    \time 2/4
    c2
    \cadenzaOn
    c2 d8-[ e \bar "|" f g-]
    \cadenzaOff
    \bar "|"
    \grace b8  \bar "|"
    a4. \bar "|" gis8 \bar "|"
    e'8 \bar "|" e \bar "|" e \bar "|" e
}

Cheers,
Jean-Charles

_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to