Skip to content

Removing / overriding inherited attributes #2142

Answered by b3taman
b3taman asked this question in Ideas
Discussion options

You must be logged in to vote

[Just discovered one cannot mark part of a thread in a discussion as being the answer, so am trying this approach.]

Hi, there's actually an existing way how to achieve that. When some algorithm expects only one attribute of a given name, then in case there's more than 1 (e.g. through inheritance) then the "closest one" will be used. In practice this allows local overriding.

I just implemented #sorted=off - if you use that on a subtree then this will become "closest label" and will be thus in effect, thus disabling the sorting (for the given note, if you set it as inheritable then for the whole subtree).

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@zadam
Comment options

zadam Sep 2, 2021
Maintainer

Comment options

You must be logged in to vote
2 replies
@zadam
Comment options

zadam Sep 3, 2021
Maintainer

@b3taman
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by b3taman
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants