From: Carsten Dominik <carsten.dominik@gmail.com>
To: Bastien <bzg@altern.org>
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:03:19 +0200 [thread overview]
Message-ID: <0AE7682A-11CF-429D-851D-1608C899936F@gmail.com> (raw)
In-Reply-To: <878vc2xwec.fsf@bzg.ath.cx>
GReat, thanks!
- Carsten
On 22.9.2012, at 11:02, Bastien wrote:
> 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:03 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
2012-09-22 9:03 ` Carsten Dominik [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0AE7682A-11CF-429D-851D-1608C899936F@gmail.com \
--to=carsten.dominik@gmail.com \
--cc=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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.