Re: [O] [bug] TODO [/] cookie not updating if list has inline task

2015-06-11 Thread e.fraga
On Tuesday, 9 Jun 2015 at 17:09, Nicolas Goaziou wrote: e.fr...@ucl.ac.uk writes: coming back to my original problem: is there a consensus on how inline tasks should be treated within lists? Inline means to me that they should not break up a list... but I would like this resolved if

Re: [O] [bug] TODO [/] cookie not updating if list has inline task

2015-06-09 Thread Nicolas Goaziou
e.fr...@ucl.ac.uk writes: coming back to my original problem: is there a consensus on how inline tasks should be treated within lists? Inline means to me that they should not break up a list... but I would like this resolved if possible. Fixed in a4cc9d82d8069741be64c55f35f9d3ad7e2663d5.

Re: [O] [bug] TODO [/] cookie not updating if list has inline task

2015-05-20 Thread e.fraga
Hello again, coming back to my original problem: is there a consensus on how inline tasks should be treated within lists? Inline means to me that they should not break up a list... but I would like this resolved if possible. For the moment, Rasmus's patch works for me... Thanks, eric -- :

Re: [O] [bug] TODO [/] cookie not updating if list has inline task

2015-05-18 Thread Eric S Fraga
On Sunday, 17 May 2015 at 21:44, Rasmus wrote: Eric S Fraga e.fr...@ucl.ac.uk writes: I'm not sure I understand what is misleading about the above? The note is indeed intended to belong to the first item on the list. The misleading part, IMO, is that it is not obvious whether the

Re: [O] [bug] TODO [/] cookie not updating if list has inline task

2015-05-17 Thread Nicolas Goaziou
Rasmus ras...@gmx.us 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

Re: [O] [bug] TODO [/] cookie not updating if list has inline task

2015-05-17 Thread Nicolas Goaziou
Rasmus ras...@gmx.us writes: FWIW, I did not like the syntax Nicolas suggested in that thread. It reminded me too much of *XML (which is also true with inlinetasks BTW). Well, that's sad. It brings interesting features you cannot have with link-like syntax. Regards,

[O] [bug] TODO [/] cookie not updating if list has inline task

2015-05-17 Thread Eric S Fraga
Hello, I often use checkbox lists for particular tasks. If any of the list items has an inline task (whether a task or not), the updating of the [/] cookie in the headline does not work. Attached is an example. Backtrace is also attached. Thanks, eric -- : Eric S Fraga (0xFFFCF67D), Emacs

Re: [O] [bug] TODO [/] cookie not updating if list has inline task

2015-05-17 Thread Nicolas Goaziou
Hello, Rasmus ras...@gmx.us writes: Can you try the attached patch? It seems to work on my system, but probably more cleanup should be made wrt the old outline-functions. + (org-with-wide-buffer +(org-next-visible-heading 1) +

Re: [O] [bug] TODO [/] cookie not updating if list has inline task

2015-05-17 Thread Rasmus
Nicolas Goaziou m...@nicolasgoaziou.fr writes: Hello, Rasmus ras...@gmx.us writes: Can you try the attached patch? It seems to work on my system, but probably more cleanup should be made wrt the old outline-functions. + (org-with-wide-buffer +

Re: [O] [bug] TODO [/] cookie not updating if list has inline task

2015-05-17 Thread Eric S Fraga
On Sunday, 17 May 2015 at 20:51, Nicolas Goaziou wrote: [...] Anyway, we could fix it in another way. Eric's example, - [ ] the first task *** This is something to note *** END - [ ] another list of tasks is misleading because it's really the same

Re: [O] [bug] TODO [/] cookie not updating if list has inline task

2015-05-17 Thread Eric S Fraga
On Sunday, 17 May 2015 at 15:51, Rasmus wrote: Hi Eric, [...] Can you try the attached patch? It seems to work on my system, but probably more cleanup should be made wrt the old outline-functions. Hi Rasmus, your patch eems to work just fine. I haven't done exhaustive testing but no error

Re: [O] [bug] TODO [/] cookie not updating if list has inline task

2015-05-17 Thread Eric S Fraga
eems -- seems (must learn to read my emails before I C-c C-c... ;-) -- : Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.1, Org release_8.3beta-1147-g0e5069

Re: [O] [bug] TODO [/] cookie not updating if list has inline task

2015-05-17 Thread Rasmus
Eric S Fraga e.fr...@ucl.ac.uk writes: I'm not sure I understand what is misleading about the above? The note is indeed intended to belong to the first item on the list. The misleading part, IMO, is that it is not obvious whether the inlinetasks belong to the list item or not. Normally

Re: [O] [bug] TODO [/] cookie not updating if list has inline task

2015-05-17 Thread Eric S Fraga
Please ignore my bug report for the moment. org works if I don't invoke any of my customisations. I have obviously set something that makes the updating of the cookie fail. Not sure what, mind you... Any suggestions welcome, of course. Sorry for the noise. -- : Eric S Fraga (0xFFFCF67D),

Re: [O] [bug] TODO [/] cookie not updating if list has inline task

2015-05-17 Thread Eric S Fraga
Mind you, having played around with emacs -Q and my test file, I have run into another bug. If I specify org-indent in the startup options, I get a very strange indentation. See attached screenshot. I wonder if this is related to my problem? Thanks, eric -- : Eric S Fraga (0xFFFCF67D), Emacs

Re: [O] [bug] TODO [/] cookie not updating if list has inline task

2015-05-17 Thread Rasmus
Eric S Fraga e.fr...@ucl.ac.uk writes: Mind you, having played around with emacs -Q and my test file, I have run into another bug. If I specify org-indent in the startup options, I get a very strange indentation. See attached screenshot. I wonder if this is related to my problem? Probably

Re: [O] [bug] TODO [/] cookie not updating if list has inline task

2015-05-17 Thread Rasmus
Hi Eric, Eric S Fraga e.fr...@ucl.ac.uk writes: I often use checkbox lists for particular tasks. If any of the list items has an inline task (whether a task or not), the updating of the [/] cookie in the headline does not work. Attached is an example. Backtrace is also attached. Thanks.