Ihor Radchenko <yanta...@posteo.net> writes:

> > #+begin_example
> > Debugger entered--Lisp error: (args-out-of-range #<buffer Beauty.org> 0
> > 3092985)

Looks like invalid match data could be the cause.  AFAIU match data is
set by this expression:

#+begin_src emacs-lisp
(or (looking-at (concat " +" org-todo-regexp "\\( +\\|[ \t]*$\\)"))
    (looking-at "\\(?: *\\|[ \t]*$\\)"))
#+end_src

at least in Emacs master.  Would be interesting whether the matching
fails in stardiviner's case or returns a bogus result.

The match data is then protected in the following code, I don't see how
a correct match data could produce a backtrace as posted.


Michael.

Reply via email to