[Top][All Lists]

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

Re: Set indent based on instrument name (issue 6457049)

From: David Kastrup
Subject: Re: Set indent based on instrument name (issue 6457049)
Date: Tue, 31 Jul 2012 13:50:27 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux)

"Phil Holmes" <address@hidden> writes:

> ----- Original Message ----- 
> From: "David Kastrup" <address@hidden>
> To: <address@hidden>
> Sent: Tuesday, July 31, 2012 12:04 PM
> Subject: Re: Set indent based on instrument name (issue 6457049)
>> "Phil Holmes" <address@hidden> 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

reply via email to

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