So I had a conversation with a different room-mate and I think we found
the word we're looking for.  "Flatten".  I think this has precedence in
Emacs with 'imenu-flatten'.  It does not seem to have precedence within
Org Mode though.

We are taking a hierarchy and treating everything equally.  Just as if
we had flattened that hierarchy!

Please let me know what you think of that word!


Slawomir Grochowski <[email protected]> writes:

> Thanks, I understand your point now: both modes scan the same region, so
> “subtree” as a description of the region doesn’t distinguish them. I
> agree with that.

:D

> But I see the names differently: not as a description of the region that
> is scanned, but of what ends up being counted. And Org already has a
> precedent for exactly this pair. Visibility cycling rotates between
> FOLDED, CHILDREN and SUBTREE. To show the CHILDREN state, Org also has
> to know the whole region, yet the names work well, because they describe
> what the user sees, not how Org computes it.

So you're trying to use the same language as 'org-cycle'.  That does
seem like a pretty strong argument.  It does indeed defeat the argument
from my previous email which relied heavily on what region is being
used.

However, my emails have also hinted at another argument which I will now
make explicit.

In 'org-cycle' we are choosing how much of a region to reveal.  When we
reveal parts of the region they still retain their hierarchical value.
We can still see if heading is 4 levels deep or not.

What this patch is doing is taking a hierarchy and saying that every
part of it should be treated as if it has equal weight.

I think that is an important distinction that requires us to change our
language.  Recursive functions tends to flatten a hierarchy which is why
I gravitated to that word.  However, it would be nice to use a more
common word.  So I think we should use the word "flatten".

I will admit though that your arguments have softened my opposition to
using the word "subtree" a little.  I do appreciate you taking the time
to indulge me in this discussion :)

Perhaps all this bike-shedding is a waste of time, but it is important
to me that things are named in a way that is precise and intuitive.

I do apologize for arguing my point by using the calculated region.
You're right.  That's a dumb argument that wasted our time :P

Reply via email to