Han-Wen Nienhuys <[EMAIL PROTECTED]> writes:
> I don't see the point. Why doesn't it work when you use $name ?
> \context should also be able to take a STRING_IDENTIFIER for the id.
#{ \context Voice = $myname { ... } #}
==> (approximatively)
{ #(define gensymAAA myname) % actually, this happens outside
% the generated lily expression
\context Voice = \gensymAAA { ... } }
which is not legal.
> I would try to excercise extreme caution in adding such
> functionality. Once you add it, you have a certain reponsibility to
> keep supporting this. If you add too much things, it easily becomes
> spaghetti.
>
> In addition, your feature (textual substitution), can easily lead to
> confusing syntactical errors, which is why I have been so strongly
> against macro languages (textual substitution) in the past.
Ok, I understand your point. I'll keep it in my user files then.
nicolas
_______________________________________________
lilypond-devel mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-devel