On Nov 14, 2011, at 12:46 AM, Nicolas Goaziou wrote: > Hello, > > Carsten Dominik <carsten.domi...@gmail.com> writes: > >> commit dfcb6faef11a2439b56b18a6289803361d402130 (Provide more consistent >> regexps for headlines) >> makes the global TODO list fail on headlines with a TODO keyword but no text >> following: >> >> * TODO This one works >> * TODO >> This one fails (note, there is not even a space after TODO. >> >> While I agree that a TODO line with not text is not good, I think >> it should not break the TODO list view. I am attaching the backtrace. > > It should now be fixed in master. Thanks.
Hi Nicolas, I think you meant to call org-trim on the results of buffer-substring. I just pushed a fix for this - please double-check that this is what you meant. Regards - Carsten