[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Visibility cycling with inline tasks
From: |
Carsten Dominik |
Subject: |
Re: [O] Visibility cycling with inline tasks |
Date: |
Sat, 22 Sep 2012 11:03:19 +0200 |
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