[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [bug] TODO [/] cookie not updating if list has inline task
From: |
Nicolas Goaziou |
Subject: |
Re: [O] [bug] TODO [/] cookie not updating if list has inline task |
Date: |
Sun, 17 May 2015 23:56:38 +0200 |
Rasmus <address@hidden> writes:
>> You shouldn't use `org-next-visible-heading' as statistics cookie
>> updates shouldn't depend on current visibility.
>
> That's why I used org-with-wide-buffer.
This is orthogonal. `o-w-w-b' is about narrowing. `o-n-v-h' ignores
inlinetasks.
> But perhaps a better solution would be an org-next-heading or
> whatever, that considered inlinetasks.
I'm not sure what you mean. `outline-next-heading'?
>> Also, the problem is more subtle: you have to check if you're within an
>> inlinetask, in which case you don't want to use
>> `org-with-limited-levels' or not.
>
> Is that saying that org-with-wide-buffer is no good here?
I'm saying `org-next-visible-heading', or, more precisely,
`org-with-limited-levels' is no good here. See `org-get-property-block'
for an example.
Regards,
- [O] [bug] TODO [/] cookie not updating if list has inline task, Eric S Fraga, 2015/05/17
- Re: [O] [bug] TODO [/] cookie not updating if list has inline task, Eric S Fraga, 2015/05/17
- Re: [O] [bug] TODO [/] cookie not updating if list has inline task, Rasmus, 2015/05/17
- Re: [O] [bug] TODO [/] cookie not updating if list has inline task, Eric S Fraga, 2015/05/17
- Re: [O] [bug] TODO [/] cookie not updating if list has inline task, Rasmus, 2015/05/17
- Re: [O] [bug] TODO [/] cookie not updating if list has inline task, Nicolas Goaziou, 2015/05/17
- Re: [O] [bug] TODO [/] cookie not updating if list has inline task, Eric S Fraga, 2015/05/18