Jean Abou Samra <j...@abou-samra.fr> writes: > Le 23/09/2022 à 14:02, David Kastrup a écrit : >> Jean Abou Samra <j...@abou-samra.fr> writes: >> >>> I believe this exhibits a bug: >>> >>> \version "2.23.14" >>> >>> { >>> \new Staff { c'1 } >>> \new Devnull { s1 } >>> } >>> >>> >>> I would have expected the staff to stop after one measure. >>> >>> Does anyone see a reason for this behavior being correct, >>> or am I right that it is another bug similar to the “temporary >>> staff not ending” bug fixed by Dan in 74af697126? >> It is documented behavior. "Keeping contexts alive" starts with it: >> >> [...] >> >> You can either enclose your Staff in << ... >> or you can end its visual >> impact using \stopStaff . > > > > Thanks, that is helpful. I don't fully understand the quoted > documentation passage to be honest, but at least I know how to > deal with it.
Well, in \new Staff { c4'( << g' \\ e' >> c') } you would not want the Voice context where the slur starts to be terminated because it is a) implicit b) dormant from timestep 2/4 up to 4/4 . So it is being kept alive in spite of being implicit and dormant. -- David Kastrup