Re: [O] [RFC] Properly handle keyword + COMMENT keyword

2014-04-16 Thread Bastien
Nicolas Goaziou writes: > Bastien writes: > >> I know, but the users should not have to guess this. >> Maybe a note about the allowed structure here in the >> manual would be useful. > > Done in e84c1d8442b857f9275e86bb34f12811f49fcdd6. Perfect, thanks, -- Bastien

Re: [O] [RFC] Properly handle keyword + COMMENT keyword

2014-04-12 Thread Nicolas Goaziou
Bastien writes: > I know, but the users should not have to guess this. > Maybe a note about the allowed structure here in the > manual would be useful. Done in e84c1d8442b857f9275e86bb34f12811f49fcdd6. Regards, -- Nicolas Goaziou

Re: [O] [RFC] Properly handle keyword + COMMENT keyword

2014-04-11 Thread Bastien
Hi Nicolas, Nicolas Goaziou writes: > So the COMMENT keyword in the second headline is not valid. I know, but the users should not have to guess this. Maybe a note about the allowed structure here in the manual would be useful. -- Bastien

Re: [O] [RFC] Properly handle keyword + COMMENT keyword

2014-04-11 Thread Nicolas Goaziou
Bastien writes: > Speaking of consistency, I noticed this minor glitch: > > * NEXT COMMENT A headline [0/2] > > - [ ] A > - [ ] B > > * NEXT [#A] [1/2] COMMENT Another headline > > - [X] A > - [ ] B > > See that the second COMMENT is not fontified and I think > it will not be processed correctly.

Re: [O] [RFC] Properly handle keyword + COMMENT keyword

2014-04-11 Thread Bastien
Hi Nicolas, Nicolas Goaziou writes: > Nicolas Goaziou writes: > >> Thus, this patch >> >> - properly fontifies headlines with both a regular keyword and >>a COMMENT keyword, >> >> - fixes `org-toggle-comment' and `org-todo' to handle both COMMENT >>keyword and another one >> >> - add

Re: [O] [RFC] Properly handle keyword + COMMENT keyword

2014-04-10 Thread Nicolas Goaziou
Nicolas Goaziou writes: > Thus, this patch > > - properly fontifies headlines with both a regular keyword and >a COMMENT keyword, > > - fixes `org-toggle-comment' and `org-todo' to handle both COMMENT >keyword and another one > > - adds some consistency to functions implementing their

Re: [O] [RFC] Properly handle keyword + COMMENT keyword

2014-03-24 Thread Nicolas Goaziou
Hello, Samuel Wales writes: > does this preserve todo keyword font locking This is one goal of the patch. > and sorting? IIRC, TODO-based sorting refers to `org-todo-keywords-1', which doesn't include "COMMENT", so I don't think this changes sorting (i.e., sorting ignores COMMENT keywords).

Re: [O] [RFC] Properly handle keyword + COMMENT keyword

2014-03-24 Thread Samuel Wales
does this preserve todo keyword font locking and sorting? it is an interesting change if so, and i would probably find it useful. does archive work the same way? i presume it is a coincidence that this message comes after mine which mentioned font locking and sorting, as the fix to that message

[O] [RFC] Properly handle keyword + COMMENT keyword

2014-03-24 Thread Nicolas Goaziou
Hello, COMMENT keyword is not always clearly defined in Org. Some parts consider it is a regular keyword as treat it as such (e.g. `org-todo') whereas some others see it as an additional keyword (e.g., `org-priority'). I think the latter makes more sense, and, as a consequence, Org Syntax (http:/