emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@gmail.com>
To: Axel Svensson <mail@axelsvensson.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: [Bug] org-startup-folded documentation
Date: Sat, 10 Jul 2021 09:56:49 +0800	[thread overview]
Message-ID: <87h7h32aou.fsf@localhost> (raw)
In-Reply-To: <CAJ40yay3wzMD1bjfaEYSjqktLOdZcbAX7xexkm5Pi8eqCEbRTg@mail.gmail.com>

Axel Svensson <mail@axelsvensson.com> writes:

> org-version: 9.4.6
>
> The documentation for the variable org-startup-folded is not up to date. It
> states that the variable can be nil or non-nil, but the program logic makes
> a difference between the values 't, 'content, 'showeverything,
> 'show2levels, 'show3levels, 'show4levels, and 'show5levels.

The docstring mentions fold, nofold, and other options on master and
maint, albeit not stating that you can set those values with setq:

> Non-nil means entering Org mode will switch to OVERVIEW.
> 
> This can also be configured on a per-file basis by adding one of
> the following lines anywhere in the buffer:
> 
>    #+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
> 
> Set org-agenda-inhibit-startup to a non-nil value if you want
> to ignore this option when Org opens agenda files for the first
> time.

Best,
Ihor


      reply	other threads:[~2021-07-10  1:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-09 15:48 [Bug] org-startup-folded documentation Axel Svensson
2021-07-10  1:56 ` Ihor Radchenko [this message]

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=87h7h32aou.fsf@localhost \
    --to=yantar92@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=mail@axelsvensson.com \
    /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).