David Kastrup <[email protected]> writes: > Carl Sorensen <[email protected]> writes: > >> To me as an experienced user who has not followed the evolution of the >> usage of \with blocks, it seems a bit surprising that after explicitly >> requesting the Staff.instrumentName property to be changed, the >> Voice.instrumentName property is what is actually changed. > > There is no difference between "explicitly requested" and "implicitly > requested" in the form of predefined commands to LilyPond. > > The current behavior was a design decision along with the implementation > of allowing property-setting music in \with-blocks to be converted. > > We actually went through all this once already including actual code, > and the results were unhelpful. > > Please check > > <https://gitlab.com/lilypond/lilypond/-/issues/2982>
It also turns out that if you really want the settings constrained to those matching a particular context type, the optional argument of \settingsFrom will allow you to filter in that manner. -- David Kastrup
