[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to procede with \override/\revert business
From: |
Janek Warchoł |
Subject: |
Re: How to procede with \override/\revert business |
Date: |
Wed, 31 Oct 2012 18:34:21 +0100 |
On Wed, Oct 31, 2012 at 12:01 PM, David Kastrup <address@hidden> wrote:
> Janek Warchoł <address@hidden> writes:
>> I'm not sure if i understand you correctly.
>>
>> Currently (checked with 2.17.3) i can write this in LilyPond code
>> (verbatim):
>
> It likely does not pass 2.17.6.
good to know.
>> {
>> \override Stem #'my-funky-property = #5
>> }
>> LilyPond will complain about an unknown property name, but the
>> property will be set anyway, and i'll be able to access it later.
>
> Unless it makes LilyPond crash.
>
>> I like this possibility. Is this what you call "using properties
>> before defining them"?
>
> That's not even "before defining them" but rather "without defining
> them". Properties are typechecked, and they are maintained in a stack
> starting from the Global context. We have far enough possibilities to
> let LilyPond crash with segmentation faults from bad code, and I am not
> interested in creating more of them. In general, if LilyPond has no
> idea how to do something reasonably, it is much better if it does
> nothing at all rather than letting its internals be poked with a stick
> on the assumption that somebody must know what he is doing.
ok, i see that doing what i demonstrated was a bad idea. Is it
possible to define (create) a new property from the user level? I
don't recall any information about this.
Janek
- How to procede with \override/\revert business, David Kastrup, 2012/10/28
- Re: How to procede with \override/\revert business, David Kastrup, 2012/10/28
- Re: How to procede with \override/\revert business, Trevor Daniels, 2012/10/28
- Re: How to procede with \override/\revert business, Keith OHara, 2012/10/29
- Re: How to procede with \override/\revert business, David Kastrup, 2012/10/30
- Re: How to procede with \override/\revert business, Keith OHara, 2012/10/31
- Re: How to procede with \override/\revert business, David Kastrup, 2012/10/31
- Re: How to procede with \override/\revert business, Janek Warchoł, 2012/10/31
- Re: How to procede with \override/\revert business, David Kastrup, 2012/10/31
- Re: How to procede with \override/\revert business,
Janek Warchoł <=
- Re: How to procede with \override/\revert business, David Kastrup, 2012/10/31
- Re: How to procede with \override/\revert business, Thomas Morley, 2012/10/31
Re: How to procede with \override/\revert business, David Kastrup, 2012/10/28
Re: How to procede with \override/\revert business, Francisco Vila, 2012/10/28