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: Christopher Witte
Subject: Re: [O] Visibility cycling with inline tasks
Date: Sun, 23 Sep 2012 09:55:54 +0200

Thanks Carsten and Bastien!

On 22 September 2012 11:03, Carsten Dominik <address@hidden> wrote:
> GReat, thanks!
>
> - Carsten
>
> On 22.9.2012, at 11:02, Bastien wrote:
>
>> 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]