2015-02-15 20:14 GMT+01:00 David Nalesnik <david.nales...@gmail.com>:
>
>
> On Sun, Feb 15, 2015 at 12:34 PM, Thomas Morley <thomasmorle...@gmail.com>
> wrote:
>>
>> 2015-02-15 19:28 GMT+01:00 Thomas Morley <thomasmorle...@gmail.com>:
>
>
>>
>>
>> Oops, definition for 'grob-name' is missing:
>>
>> #(define grob-name
>>   (lambda (x)
>>     (if (ly:grob? x)
>>         (assq-ref (ly:grob-property x 'meta) 'name)
>>         (ly:error "~a is not a grob" x))))
>>
>
> Now, a function to get a grob's name would certainly be useful.  I'm sick to
> death of constantly recreating it or looking it up (as I bet you are)!

Yeah!

> If there's a question of usefulness, I think we've established the need...

Indeed.

> The benefit of doing this in C++ is that there's probably something in place
> already and it will get automatically documented in the Scheme functions
> list.

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

Reply via email to