emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* CONTENTS visibility for subtrees
@ 2010-04-26 17:37 Ali Tofigh
  2010-04-26 21:26 ` Bernt Hansen
  0 siblings, 1 reply; 5+ messages in thread
From: Ali Tofigh @ 2010-04-26 17:37 UTC (permalink / raw)
  To: emacs-orgmode

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.

Cheers,
/Ali

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

* Re: CONTENTS visibility for subtrees
  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:41   ` Ali Tofigh
  0 siblings, 2 replies; 5+ messages in thread
From: Bernt Hansen @ 2010-04-26 21:26 UTC (permalink / raw)
  To: Ali Tofigh; +Cc: emacs-orgmode

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.

HTH,
Bernt

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

* Re: Re: CONTENTS visibility for subtrees
  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
  1 sibling, 1 reply; 5+ messages in thread
From: Stephan Schmitt @ 2010-04-26 21:36 UTC (permalink / raw)
  To: Bernt Hansen; +Cc: emacs-orgmode, Ali Tofigh

or try C-c C-k (org-kill-note-or-show-branches) on a folded heading.

Bernt Hansen 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.
> 
> HTH,
> Bernt
> 
> 
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

* Re: CONTENTS visibility for subtrees
  2010-04-26 21:26 ` Bernt Hansen
  2010-04-26 21:36   ` Stephan Schmitt
@ 2010-04-26 21:41   ` Ali Tofigh
  1 sibling, 0 replies; 5+ messages in thread
From: Ali Tofigh @ 2010-04-26 21:41 UTC (permalink / raw)
  To: Bernt Hansen; +Cc: emacs-orgmode

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

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

* Re: Re: CONTENTS visibility for subtrees
  2010-04-26 21:36   ` Stephan Schmitt
@ 2010-04-26 21:44     ` Ali Tofigh
  0 siblings, 0 replies; 5+ messages in thread
From: Ali Tofigh @ 2010-04-26 21:44 UTC (permalink / raw)
  To: Stephan Schmitt; +Cc: Bernt Hansen, emacs-orgmode

On Mon, Apr 26, 2010 at 17:36, Stephan Schmitt <drmabuse@cs.tu-berlin.de> wrote:
> or try C-c C-k (org-kill-note-or-show-branches) on a folded heading.

Thanks. I believe this does the trick.

/Ali

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

end of thread, other threads:[~2010-04-26 21:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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

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