emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ERROR] org-todo [C-c C-t] change task todo state raised error


From: Michael Heerdegen
Subject: Re: [ERROR] org-todo [C-c C-t] change task todo state raised error
Date: Wed, 15 Jan 2025 00:31:19 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Ihor Radchenko <yantar92@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

[Prev in Thread] Current Thread [Next in Thread]