bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

\context + \set ineffective


From: Dan Eble
Subject: \context + \set ineffective
Date: Sun, 15 Apr 2018 19:26:44 -0400

See comment.  I am currently working in the guts of the context code, so I 
could try to improve this while I’m there, but I would like to hear 
confirmation that it is a bug first.  Thanks.

\version "2.19.80" % the version I tested
\score {
  \new StaffGroup = "A" \with { shortInstrumentName = "XXX" } <<
    \new StaffGroup = "B" {
      c'1

      %% I expected this to change shortInstrumentName in the
      %% StaffGroup with ID "A", but it does not appear to.
      \context StaffGroup = "A" {
        \set StaffGroup.shortInstrumentName = "OK"
      }

      \break
      c'1
    }
  >>
}

— 
Dan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]