emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@altern.org>
To: Christopher Witte <chris@witte.net.au>
Cc: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: Visibility cycling with inline tasks
Date: Wed, 19 Sep 2012 12:34:43 +0200	[thread overview]
Message-ID: <87ehlypags.fsf@bzg.ath.cx> (raw)
In-Reply-To: <CAALnB3FKgtDDJvWv7oyi_ZsvY0ct0NVbRDmaOwO=8pvSQMFn3Q@mail.gmail.com> (Christopher Witte's message of "Thu, 13 Sep 2012 15:38:01 +0200")

Hi Christopher,

Christopher Witte <chris@witte.net.au> writes:

> I have a document with lots of inline tasks scattered throughout it. I
> want to get an overview of the document so I use S-<TAB> to cycle to
> CONTENTS, when I do that all of the inline tasks are displayed like
> this:

You can add this hook:

(add-hook 'org-cycle-hook
  (lambda (state) (when (eq state 'contents) (hide-sublevels 6))))

> Should this be the default? Is this also the behaviour that other
> people expect?

I tend to think this should be the default but I'm not using inline
tasks at all, so I'll wait other users' feedback on this.

HTH,

-- 
 Bastien

  reply	other threads:[~2012-09-19 10:35 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-13 13:38 Visibility cycling with inline tasks Christopher Witte
2012-09-19 10:34 ` Bastien [this message]
2012-09-19 10:59   ` Carsten Dominik
2012-09-22  9:02     ` Bastien
2012-09-22  9:03       ` Carsten Dominik
2012-09-23  7:55         ` Christopher Witte

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=87ehlypags.fsf@bzg.ath.cx \
    --to=bzg@altern.org \
    --cc=chris@witte.net.au \
    --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).