Hi Ihor,

I'm sorry it took so much of your time, though honestly, this seemingly
simple change cost me a lot of time too and went through several different
iterations.

At first, I also thought "recursive" was the right term. Later on, however,
I realized that every pass is recursive anyway, and that recursion is an
implementation detail the user shouldn't have to care about. I'd stick with
"subtree" because it describes the scope--that checkboxes are counted
across the entire subtree--rather than the mechanism of how they are
counted.

Best,
Sławek

On Sun, Nov 15, 2026 10:12 PM, Morgan Smith <[email protected]>
wrote:

> Slawomir Grochowski <[email protected]> writes:
>
> > Attached is the patch adding the subtree checkbox summary operators
> > ("Xs", "Xs/", and "Xs%") to column view. I decided to keep the
> > COOKIE_DATA change separate and will follow up on that later to keep
> > this patch focused.
>
> I've spent like 2 hours writing and re-writing this email trying to
> figure out what is actually the source of my confusion when it comes to
> the naming scheme you're trying to make.
>
> I think in my mind "subtree" and "subheading" are synonyms.  However,
> "subtree" can also refer to the tree-like structure of a list.
>
> So that is one source of confusion for me, but I don't know if people in
> general would find it confusing.
>
> Another source is that the term "subtree" actually does not tell you if
> you're just looking at immediate children or if you are recursing the
> whole way down.
>
> So to try and make it simple we can think of a selection as having two
> parts, a type and a depth.
>
> The type would be "list" or "heading".
>
> The depth would be 1 for immediate children, and infinite for recursion.
>
> Here is a quick example of this framework:
>
> #+begin_src org
> ,* test [0/1]
> type: list
> depth: 1
> - [ ] a
>   - [ ] b
> ,** blee
> - [ ] n
> ,* test [0/2]
> :PROPERTIES:
> :COOKIE_DATA: recursive
> :END:
> type: list
> depth: infinite
> - [ ] a
>   - [ ] b
> ,** blee
> - [ ] n
> #+end_src
>
> You are trying to use the term "subtree" to refer to infinite depth.
> Personally, I don't think that term is correct.  I think the correct
> term is "recursive".
>

Reply via email to