Richard Shann <rich...@rshann.plus.com> writes:

[...]

>> You could try
>> 
>> denemo-transpose = cis'
>
> ah - this is also Mark's suggestion. So a LilyPond assignment like that
> is defining a scheme variable of the given name to be the scheme
> structure that right hand side parses to. I get it (?). 
> (I wonder, does that mean that all sorts of standard scheme variable
> names such as "format" need to be avoided as names for LilyPond
> assignments?

Basically, yes.

> Or is some scoping stuff in play here ...)

That too.  Most uses of format before redefinition will continue to work
just fine as they are bound to the variable in the underlying GUILE
module.

-- 
David Kastrup

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to