Thomas Morley <thomasmorle...@googlemail.com> writes:

> 2012/10/31 Janek Warchoł <janek.lilyp...@gmail.com>:
> [...]
>> Is it
>> possible to define (create) a new property from the user level?  I
>> don't recall any information about this.
>>
>> Janek
>
> see:
> http://lists.gnu.org/archive/html/lilypond-user/2012-05/msg00543.html
>
> But I didn't try it with latest devel-version.

Thanks for looking up the detailed answer.  It is likely still
accurate. The problem with the object property approach is that without
a reference to the symbol (like some data structure containing it, or
some code referencing it), the object property is volatile.

So if you use this sort of define-object-property before storing the
symbol elsewhere, it will evaporate at next garbage collection.

-- 
David Kastrup


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

Reply via email to