emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Visibility cycling with inline tasks


From: Bastien
Subject: Re: [O] Visibility cycling with inline tasks
Date: Sat, 22 Sep 2012 11:02:51 +0200
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2.50 (gnu/linux)

Hi Carsten,

Carsten Dominik <address@hidden> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]