\with mods targeting parents

Dan Eble <[email protected]>
Newsgroups gmane.comp.gnu.lilypond.devel
Message-ID <[email protected]>
This currently compiles without warnings.

```
\version "2.25.30"
\new Voice \with {
   \propertySet Staff.instrumentName "Quack"
} {
   \contextPropertyCheck Staff.instrumentName #'()
   \contextPropertyCheck Voice.instrumentName "Quack"
   R1
}
```

It seems wrong to set the property in Voice quietly when the user wrote 
"Staff".  What would be ideal?

A. warn about it (and do whatever is easily maintained)
B. allow setting properties in enclosing contexts
C. ...
-- 
Dan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.