On Monday 06 November 2006 17:02, Han-Wen Nienhuys wrote: > Erik Sandberg escreveu: > >>> I think this will be an improvement, because we remove the concept of > >>> aliases, which confuses users (at least it confuses me a bit); in > >>> addition we don't need to do anything extra to softcode aliases. > >> > >> I don't understand. How will this work in practice? Ie. if I do > >> > >> \set Timing.measurePosition = #.. > >> > >> how will it be processed? > > > > We will have to change that to an \applyContext which finds/creates a > > context with the 'timing property set, something like > > \findContextWithPredicate #'timing \set measurePosition = #... > > I still don't understand why you want to scrap it.
The main reason is to have one event less in the stream API (if we will keep the current alias mechanism, I will have to create an add-alias stream event). IWBN to keep that API minimal, and to me it seems that aliases aren't much used anyways. However, you have a very point that functions like \applyoutput will get more complicated if we want to keep full backward compatibility. -- Erik _______________________________________________ lilypond-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/lilypond-devel
