emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [Bug] org-startup-folded documentation
@ 2021-07-09 15:48 Axel Svensson
  2021-07-10  1:56 ` Ihor Radchenko
  0 siblings, 1 reply; 2+ messages in thread
From: Axel Svensson @ 2021-07-09 15:48 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 295 bytes --]

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.

[-- Attachment #2: Type: text/html, Size: 385 bytes --]

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

* Re: [Bug] org-startup-folded documentation
  2021-07-09 15:48 [Bug] org-startup-folded documentation Axel Svensson
@ 2021-07-10  1:56 ` Ihor Radchenko
  0 siblings, 0 replies; 2+ messages in thread
From: Ihor Radchenko @ 2021-07-10  1:56 UTC (permalink / raw)
  To: Axel Svensson; +Cc: emacs-orgmode

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


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

end of thread, other threads:[~2021-07-10  1:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-09 15:48 [Bug] org-startup-folded documentation Axel Svensson
2021-07-10  1:56 ` 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).