"Phil Holmes" <m...@philholmes.net> writes: > ----- Original Message ----- > From: "David Kastrup" <d...@gnu.org> > To: <lilypond-devel@gnu.org> > Sent: Tuesday, July 31, 2012 12:04 PM > Subject: Re: Set indent based on instrument name (issue 6457049) > > >> "Phil Holmes" <m...@philholmes.net> writes: >> >>> I'd be happy to change it if someone could suggest an improvement. >>> When I initially asked how this could be done, Keith said: >>> >>> "Maybe each Instrument_name_engraver, one for each staff, could push >>> information to a central location" >>> >>> which does sound rather like a global variable. >> >> More like a Score-level context property. And/or a grob announced on an >> interface that an engraver at Score level listens to. >> >> -- >> David Kastrup > > Whoosh. Straight over my head...
It may be worth asking on the user list. That's the sort of thing Thomas Morley and David Nalesnik are constantly cranking out in Scheme. > Question is - is it OK to modify my code to use statics, No. Even engravers at score level are running in parallel, like when using a \score markup or using the part combiner or quoting music and so on. Static variables just don't work in this setting. > or should I bother you with trying to understand what this means and > how to do it? Since Keith were making the suggestions, he would know better what he was envisioning here. -- David Kastrup _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-devel