Michael Heerdegen <[email protected]> writes:
> #+begin_src emacs-lisp
> (or (looking-at (concat " +" org-todo-regexp "\\( +\\|[ \t]*$\\)"))
> (looking-at "\\(?: *\\|[ \t]*$\\)"))
> #+end_src
If you replace that part of `org-todo' with
#+begin_src emacs-lisp
(or (looking-at (concat " +" org-todo-regexp "\\( +\\|[ \t]*$\\)"))
(looking-at "\\(?: *\\|[ \t]*$\\)")
(error "This should not be reached"))
#+end_src
and you get the error raised when trying to reproduce, we would have
made progress, unless I don't understand the code.
Michael.