lilypond-user
[Top][All Lists]
Advanced

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

Re: Creating an ly:pitch? value


From: David Kastrup
Subject: Re: Creating an ly:pitch? value
Date: Sun, 20 Jul 2014 22:16:51 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

Richard Shann <address@hidden> 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



reply via email to

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