emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Show first leaf heading on startup
@ 2015-10-19 19:38 Shankar Rao
  2015-10-20  7:22 ` Christian Moe
  0 siblings, 1 reply; 2+ messages in thread
From: Shankar Rao @ 2015-10-19 19:38 UTC (permalink / raw)
  To: Org-Mode

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

If I have the following org document:

* Heading A
** Subheading AA
*** Subsubheading AAA
Stuff about topic AAA
*** Subsubheading AAB
Stuff about topic AAB
** Subheading AB
*** Subheading ABA
Stuff about topic ABA
*** Subheading ABB
Stuff about topic ABB
* Heading B
** Subheading BA
*** Subheading BAA
Stuff about topic BAA

How can I make it so that on startup, only the content of the first "leaf"
heading is revealed, so that the document looks like:

* Heading A
** Subheading AA
*** Subsubheading AAA
Stuff about topic AAA
*** Subsubheading AAB ...
** Subheading AB ...
* Heading B ...

Shankar Rao

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

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

* Re: Show first leaf heading on startup
  2015-10-19 19:38 Show first leaf heading on startup Shankar Rao
@ 2015-10-20  7:22 ` Christian Moe
  0 siblings, 0 replies; 2+ messages in thread
From: Christian Moe @ 2015-10-20  7:22 UTC (permalink / raw)
  To: Shankar Rao; +Cc: Org-Mode


You could set a VISIBILITY property manually, but that solution of
course is not robust to changes in outline and does not automatically
carry over to other documents.

[[info:org#Initial visibility]]

Yours,
Christian

Shankar Rao writes:

> How can I make it so that on startup, only the content of the first "leaf"
> heading is revealed, so that the document looks like:
>
> * Heading A
> ** Subheading AA
> *** Subsubheading AAA
> Stuff about topic AAA
> *** Subsubheading AAB ...
> ** Subheading AB ...
> * Heading B ...
>
> Shankar Rao

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

end of thread, other threads:[~2015-10-20  7:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-19 19:38 Show first leaf heading on startup Shankar Rao
2015-10-20  7:22 ` Christian Moe

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).