From: Bastien <bzg@altern.org>
To: Carsten Dominik <carsten.dominik@gmail.com>
Cc: Org Mode <emacs-orgmode@gnu.org>, Christopher Witte <chris@witte.net.au>
Subject: Re: Visibility cycling with inline tasks
Date: Sat, 22 Sep 2012 11:02:51 +0200 [thread overview]
Message-ID: <878vc2xwec.fsf@bzg.ath.cx> (raw)
In-Reply-To: <AEF00FC9-5C3B-4744-B23B-AE40D935D915@gmail.com> (Carsten Dominik's message of "Wed, 19 Sep 2012 12:59:19 +0200")
Hi Carsten,
Carsten Dominik <carsten.dominik@gmail.com> writes:
> I agree that this would be a good default, but not with a hard-coded 6.
>
> (add-hook 'org-cycle-hook
> (lambda (state) (when (eq state 'contents)
> (and (boundp 'org-inlinetask-min-level)
> org-inlinetask-min-level
> (hide-sublevels (1- org-inlinetask-min-level))))))
>
>
> And it is probably better to wrap this into a function and add that function
> to the default value of org-cycle-hook, after org-cucle-hide-drawers
Done in master. Thanks!
--
Bastien
next prev parent reply other threads:[~2012-09-22 9:02 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
2012-09-19 10:59 ` Carsten Dominik
2012-09-22 9:02 ` Bastien [this message]
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=878vc2xwec.fsf@bzg.ath.cx \
--to=bzg@altern.org \
--cc=carsten.dominik@gmail.com \
--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).