emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Inconsistent usage of "overview"
@ 2021-11-03  3:31 Carlos Pita
  2021-11-03 20:14 ` Carlos Pita
  0 siblings, 1 reply; 3+ messages in thread
From: Carlos Pita @ 2021-11-03  3:31 UTC (permalink / raw)
  To: emacs-orgmode

Hi all,

Here is something I find very confusing. In [1]:

    #+STARTUP: overview
    #+STARTUP: content
    #+STARTUP: showall
    #+STARTUP: show<n>levels
    #+STARTUP: showeverything

In org-startup-folded docstring it is said that it takes values equivalent to:

   #+STARTUP: fold              (or ‘overview’, this is equivalent)
   #+STARTUP: nofold            (or ‘showall’, this is equivalent)
   #+STARTUP: content
   #+STARTUP: show<n>levels (<n> = 2..5)
   #+STARTUP: showeverything

The fact that "overview" is also called "fold" doesn't make what
follows simpler, but so far so good.

Then there is the function org-overview, which:

    Switch to overview mode, showing only top-level headlines.

But org-overview shows drawers unfolded while "overview" mode folds
drawers at startup. That is, if you start in "fold" or "overview" mode
(as in #+STARTUP or org-startup-folder) and then cycle visibility all
the way back to "overview" (now as in org-overview) you're not at the
beginning again.

I would say that this is not intentional but an inconsistency in what
"overview" means that should be resolved some way or another. For me
it makes sense that drawers begin folded in an overview and the
docstring of org-overview seems to suggest that. Moreover, while
cycling the rest of the "more expanded" visibility states fold
drawers.

And sometimes properties represent a disproportionate part of the
document when compared to folded top-level headlines. For example, I'm
thinking of brief org-roam notes showing an awful UUID at the top
which is IMO not relevant to an overview.

Best regards,
Carlos

---

[1] https://orgmode.org/manual/Initial-visibility.html


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-02-11 12:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-03  3:31 Inconsistent usage of "overview" Carlos Pita
2021-11-03 20:14 ` Carlos Pita
2024-02-11 12:43   ` Ihor Radchenko

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).