[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Setting context properties with \with
From: |
David Kastrup |
Subject: |
Re: Setting context properties with \with |
Date: |
Mon, 30 Dec 2024 10:59:37 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Werner LEMBERG <wl@gnu.org> writes:
>>> Anyway, both situations don't work; I would call it a bug.
>>
>> I would rather call it a doc issue. It doesn't make sense to me
>> that \with { x = y } would set a value that can never be unset.
>
> I think I've misunderstood how `\with` works. I have always thought
> that it sets default values for a specific instance of a context
> before this instance gets created. Apparently, I'm wrong – it doesn't
> set default values, it just sets values.
I don't know what you consider "default values", but not even context
definitions set anything that cannot be undone. That's the reason
defaults are established in the Global context rather than the Score
context where they could be overriden/unset without fallback.
--
David Kastrup