From: Ali Tofigh <alix.tofigh@gmail.com>
To: Bernt Hansen <bernt@norang.ca>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: CONTENTS visibility for subtrees
Date: Mon, 26 Apr 2010 17:41:04 -0400 [thread overview]
Message-ID: <n2qc8f5e1e41004261441sbf729c20k9b9c44df01065ace@mail.gmail.com> (raw)
In-Reply-To: <87sk6hsy6a.fsf@gollum.intra.norang.ca>
On Mon, Apr 26, 2010 at 17:26, Bernt Hansen <bernt@norang.ca> wrote:
> Ali Tofigh <alix.tofigh@gmail.com> writes:
>
>> Hi everyone,
>>
>> I love the CONTENTS visibility state for my org documents. But when I
>> visit headings and use TAB to expand them revealing the text they
>> contain, I want to be able to fold some of them back and show only the
>> subheadings (all sublevels). Is there a way of accomplishing this? I
>> can't find it in the manual.
>
> TAB both folds and unfolds. You can use S-TAB to do this globally
> getting back to your contents view.
True, but TAB on a headline will not give you the CONTENTS visibility
for a subtree, i.e, using TAB on a heading never gets to a point where
only the subheadings are shown. And S-TAB is global, while I want
something local: I don't want to fold all the trees that I have
previously opened.
As an example:
* H1
** H11
** H12
* H2
** H21
** H22
First, I want to see the text under H1 so I use TAB on it. Then I want
to see the text on H2 so I use TAB on that. Now I want to basically
undo my use of TAB: I want to fold H2 so that I can still see the
subheadings (H21 and H22) but no text, and I want to keep the
visibility state of H1 intact.
Cheers,
/Ali
prev parent reply other threads:[~2010-04-26 21:41 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-26 17:37 CONTENTS visibility for subtrees Ali Tofigh
2010-04-26 21:26 ` Bernt Hansen
2010-04-26 21:36 ` Stephan Schmitt
2010-04-26 21:44 ` Ali Tofigh
2010-04-26 21:41 ` Ali Tofigh [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=n2qc8f5e1e41004261441sbf729c20k9b9c44df01065ace@mail.gmail.com \
--to=alix.tofigh@gmail.com \
--cc=bernt@norang.ca \
--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).