[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Accessing Context Properties
From: |
David Kastrup |
Subject: |
Re: Accessing Context Properties |
Date: |
Thu, 25 Feb 2016 20:15:13 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
tisimst <address@hidden> writes:
> On Thu, Feb 25, 2016 at 11:03 AM, David Kastrup [via Lilypond] <
> address@hidden> wrote:
>
>> tisimst <[hidden email]
>> <http:///user/SendEmail.jtp?type=node&node=187726&i=0>> writes:
>>
>> > David,
>> >
>> >> All of that cannot be done from within a music function. I repeat:
>> >> All they can do is create music expressions (typically overrides or
>> >> applyContext calls, possibly as context modifications) that contain
>> >> callbacks of some form that, when ultimately called during iteration
>> >> of the music expression, will be able to access actual properties.
>> >>
>> >> That has nothing to do with music functions at all but rather with
>> >> the kind of music expressions you'd want the music function to
>> >> create.
>> >
>> > I got that from your first message. I promise. I just am not sure what
>> > this means. Can you point me to a snippet (in the LSR?) that shows
>> > this?
>>
>> Shows _what_?
>
>
> Shows an example of a "kind of music expression you'd want the music
> function to create." If that's too broad a request, don't worry about
> it. I just learn lots better when I have a concrete example to
> dissect. That's all I meant.
git grep ly:context-property
in the top LilyPond directory will dig up a number of "concrete
examples", partly in the documentation, partly in snippets, partly in
code.
--
David Kastrup
- Accessing Context Properties, Abraham Lee, 2016/02/25
- Re: Accessing Context Properties, David Kastrup, 2016/02/25
- Re: Accessing Context Properties, tisimst, 2016/02/25
- Re: Accessing Context Properties, David Kastrup, 2016/02/25
- Re: Accessing Context Properties, tisimst, 2016/02/25
- Re: Accessing Context Properties, Ben Strecker, 2016/02/25
- Re: Accessing Context Properties, David Kastrup, 2016/02/25
- Re: Accessing Context Properties, tisimst, 2016/02/25
- Re: Accessing Context Properties,
David Kastrup <=
- Re: Accessing Context Properties, tisimst, 2016/02/25
- Re: Accessing Context Properties, Paul Morris, 2016/02/25
- Re: Accessing Context Properties, tisimst, 2016/02/25