emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Christopher Witte <chris@witte.net.au>
To: Carsten Dominik <carsten.dominik@gmail.com>
Cc: Bastien <bzg@altern.org>, Org Mode <emacs-orgmode@gnu.org>
Subject: Re: Visibility cycling with inline tasks
Date: Sun, 23 Sep 2012 09:55:54 +0200	[thread overview]
Message-ID: <CAALnB3FXWZdjNo5F+miXJQMzPpzot3pMKdWLorae+D2z6wH-AA@mail.gmail.com> (raw)
In-Reply-To: <0AE7682A-11CF-429D-851D-1608C899936F@gmail.com>

Thanks Carsten and Bastien!

On 22 September 2012 11:03, Carsten Dominik <carsten.dominik@gmail.com> wrote:
> 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
>

      reply	other threads:[~2012-09-23  7:55 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
2012-09-23  7:55         ` Christopher Witte [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=CAALnB3FXWZdjNo5F+miXJQMzPpzot3pMKdWLorae+D2z6wH-AA@mail.gmail.com \
    --to=chris@witte.net.au \
    --cc=bzg@altern.org \
    --cc=carsten.dominik@gmail.com \
    --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).