From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Witte Subject: Re: Visibility cycling with inline tasks Date: Sun, 23 Sep 2012 09:55:54 +0200 Message-ID: References: <87ehlypags.fsf@bzg.ath.cx> <878vc2xwec.fsf@bzg.ath.cx> <0AE7682A-11CF-429D-851D-1608C899936F@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:59738) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TFh2i-0007CB-Sr for emacs-orgmode@gnu.org; Sun, 23 Sep 2012 03:55:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TFh2i-0003hK-0K for emacs-orgmode@gnu.org; Sun, 23 Sep 2012 03:55:56 -0400 Received: from mail-ie0-f169.google.com ([209.85.223.169]:49135) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TFh2h-0003eM-RV for emacs-orgmode@gnu.org; Sun, 23 Sep 2012 03:55:55 -0400 Received: by ied10 with SMTP id 10so9635188ied.0 for ; Sun, 23 Sep 2012 00:55:54 -0700 (PDT) In-Reply-To: <0AE7682A-11CF-429D-851D-1608C899936F@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: Bastien , Org Mode Thanks Carsten and Bastien! On 22 September 2012 11:03, Carsten Dominik wrote: > GReat, thanks! > > - Carsten > > On 22.9.2012, at 11:02, Bastien wrote: > >> Hi Carsten, >> >> Carsten Dominik 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 >