From: Michael Heerdegen <michael_heerdegen@web.de>
To: Ihor Radchenko <yantar92@posteo.net>
Cc: stardiviner <numbchild@gmail.com>,
Org mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: [ERROR] org-todo [C-c C-t] change task todo state raised error
Date: Wed, 15 Jan 2025 00:31:19 +0100 [thread overview]
Message-ID: <87wmexx9a0.fsf@web.de> (raw)
In-Reply-To: <87tta27hi0.fsf@localhost> (Ihor Radchenko's message of "Mon, 13 Jan 2025 17:25:59 +0000")
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.
next prev parent reply other threads:[~2025-01-14 23:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-13 5:04 [ERROR] org-todo [C-c C-t] change task todo state raised error stardiviner
2025-01-13 17:25 ` Ihor Radchenko
2025-01-14 23:31 ` Michael Heerdegen [this message]
2025-01-14 23:37 ` Michael Heerdegen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87wmexx9a0.fsf@web.de \
--to=michael_heerdegen@web.de \
--cc=emacs-orgmode@gnu.org \
--cc=numbchild@gmail.com \
--cc=yantar92@posteo.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).