From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shankar Rao Subject: Show first leaf heading on startup Date: Mon, 19 Oct 2015 12:38:19 -0700 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113dd9d29bab8705227a49d7 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48593) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZoGGE-0005lF-Jy for emacs-orgmode@gnu.org; Mon, 19 Oct 2015 15:38:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZoGGC-0002m5-NK for emacs-orgmode@gnu.org; Mon, 19 Oct 2015 15:38:21 -0400 Received: from mail-oi0-x22a.google.com ([2607:f8b0:4003:c06::22a]:34494) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZoGGC-0002lw-IL for emacs-orgmode@gnu.org; Mon, 19 Oct 2015 15:38:20 -0400 Received: by oies66 with SMTP id s66so65173612oie.1 for ; Mon, 19 Oct 2015 12:38:19 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Org-Mode --001a113dd9d29bab8705227a49d7 Content-Type: text/plain; charset=UTF-8 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 --001a113dd9d29bab8705227a49d7 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
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 a= bout 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 "l= eaf" heading is revealed, so that the document looks like:
<= br>
* Heading A
** Subheading AA
*** Sub= subheading AAA
Stuff about topic AAA
*** Subsubheading = AAB ...
** Subheading AB ...
* Heading B ...

Shankar Rao

--001a113dd9d29bab8705227a49d7--