lilypond-user
[Top][All Lists]
Advanced

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

Re: Understanding symbol-list? variable names


From: David Kastrup
Subject: Re: Understanding symbol-list? variable names
Date: Fri, 08 Jun 2018 20:01:27 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Urs Liska <address@hidden> writes:

> Am 08.06.2018 um 12:43 schrieb David Kastrup:
>
>> http://lilypond.org/doc/v2.19/Documentation/changes/index.html
>>
>>
>>
>>      Association list elements could previously be assigned values
>>      individually (for example, paper variables like
>>      system-system-spacing.basic-distance). They may now be also
>>      referenced in this manner, as with
>>
>>          \paper {
>>            \void \displayScheme \system-system-spacing.basic-distance
>>          }
>>
>>      In combination with the previously mentioned changes, this allows
>>      setting and referencing pseudovariables like violin.1.
>
> Is that also documented *in* the references (as opposed to only in the
> changes)?

I don't think so, but neither is assignment to association list members
I think.  They were some special case once written as

variable #'field #'field = #value

and syntax

variable.field.field = #value

was introduced way before that kind of syntax was used for context
subproperties and was only useful for setting rather than retrieving.

So this is heavily un(der)documented and it doesn't help that it's not
quite clear how much more can sensibly actually be achieved here.  As
you noticed, the currently supported set is not overly consistent.

-- 
David Kastrup



reply via email to

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