From: Carlos Pita <carlosjosepita2@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Inconsistent usage of "overview"
Date: Wed, 3 Nov 2021 17:14:19 -0300 [thread overview]
Message-ID: <CAEOO5TeKMe87we5oZSxoL3=oAK_f+N2+x-anVPH95G36th2ZMw@mail.gmail.com> (raw)
In-Reply-To: <CAEOO5TcBr2Yz9gEhkvHWGcnCBozkrLA4pd4+htjQr3ahKJ5sgA@mail.gmail.com>
I believe my confusion was due to the fact that the docstring of
org-startup-folded is not particularly precise regarding to its
possible values. On the one hand it seems to be a toggle, but its
initial value is nevertheless showeverything and not t. On the other
hand it states that "This can also be configured on a per-file basis
by adding one of the following lines anywhere in your buffer..." but
it's not clear whether these values may also be assigned directly to
the variable. If you do that, then inconsistencies appear: when they
are options in a buffer, showall and nofold are both mapped to nil,
fold and overview are both mapped to t; but when they are directly set
this mapping obviously doesn't take place. Following a suggestion I'd
read elsewhere, I set org-startup-folded to fold (and, later, to
overview), and this is not really calling org-overview but instead
ends up in a catch-all clause that hides drawers. By the same token I
could have set org-startup-folded to foobar.
The point still stands that showall and contents fold drawers but
overview (aka fold) doesn't fold drawers, which seems extremely odd to
me.
Best regards,
Carlos
next prev parent reply other threads:[~2021-11-03 20:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-03 3:31 Inconsistent usage of "overview" Carlos Pita
2021-11-03 20:14 ` Carlos Pita [this message]
2024-02-11 12:43 ` Ihor Radchenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAEOO5TeKMe87we5oZSxoL3=oAK_f+N2+x-anVPH95G36th2ZMw@mail.gmail.com' \
--to=carlosjosepita2@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).