[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Context.Grob considered as symbol list
From: |
David Kastrup |
Subject: |
Re: Context.Grob considered as symbol list |
Date: |
Wed, 10 Oct 2012 18:28:38 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) |
Werner LEMBERG <address@hidden> writes:
>>> Would it be possible to have
>>>
>>> \override Accidental.color #red
>>> \override Voice.Accidental.color
>>>
>>> ? For me, this feels most natural.
>>
>> Won't work since you can't distinguish
>> \override Voice.Accidental.color
>>
>> from
>>
>> \override Accidental.bound-details.left
>>
>> and I really don't want to try picking this apart based on
>> uppercase/lowercase letter distinctions.
>
> In other words, `.' is used for two different purposes, namely to
> indicate hierarchy of Contexts and accessing properties of grobs.
No, it is used for tying several symbols into one list. \override takes
one list for specifying the grob, and one list for specifying the
property/subproperty of the grob.
\tweak takes just a single list for specifying the property, but that
list may include a grob at its start.
It's just that the lists for \override and \tweak are structured
differently when \tweak takes an optional grob specification. But the
purpose of '.' is the same in each case.
> What about to disunify these two purposes, introducing a different
> symbol? Something like
>
> \override Voice>Accidental.color
> \override Accidental.bound-details.left
That does not map to anything useful at the Scheme level. Nor does it
map to any useful concept.
--
David Kastrup
- [PATCH 09/16] Allow the string "xxx.yyy" to parse as a symbol list, (continued)
- [PATCH 09/16] Allow the string "xxx.yyy" to parse as a symbol list, David Kastrup, 2012/10/09
- [PATCH 06/16] Allow LilyPond strings to stand in for symbols when parsing, David Kastrup, 2012/10/09
- [PATCH 15/16] Run scripts/auxiliar/update-with-convert-ly.sh, David Kastrup, 2012/10/09
- [PATCH 10/16] Add symbol-list-or-music? predicate, David Kastrup, 2012/10/09
- Re: Context.Grob considered as symbol list, Colin Campbell, 2012/10/09
- Re: Context.Grob considered as symbol list, David Kastrup, 2012/10/10
- Re: Context.Grob considered as symbol list, Werner LEMBERG, 2012/10/10
- Re: Context.Grob considered as symbol list, David Kastrup, 2012/10/10
- Re: Context.Grob considered as symbol list, Werner LEMBERG, 2012/10/10
- Re: Context.Grob considered as symbol list, David Kastrup, 2012/10/10
- Re: Context.Grob considered as symbol list, David Kastrup, 2012/10/10
- Re: Context.Grob considered as symbol list, Werner LEMBERG, 2012/10/10
- Re: Context.Grob considered as symbol list, James, 2012/10/11
- Re: Context.Grob considered as symbol list, David Kastrup, 2012/10/11
- Re: Context.Grob considered as symbol list, Werner LEMBERG, 2012/10/11
- Re: Context.Grob considered as symbol list, David Kastrup, 2012/10/11