A simple solution to that
is to explicitly include this line of "music" in an existing Staff
context. In your original example from
http://mail.gnu.org/archive/html/bug-lilypond/2004-01/msg00260.html
you could for example do the following change:
\score {
- <<
+ \context Staff = flute <<
\dyxxvicom
\property Score.skipBars = ##t
\property Score.MultiMeasureRest \override #'expand-limit = #1
\property Score.MultiMeasureRestNumber \override #'padding = #0
\property Score.DynamicLineSpanner \override #'padding = #1.0
- \context Staff = flute { \cli }
+ { \cli }
>>
- \paper { \translator { \RemoveEmptyStaffContext } }
+% \paper { \translator { \RemoveEmptyStaffContext } }
}