emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Michael Heerdegen <michael_heerdegen@web.de>
To: 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:37:45 +0100	[thread overview]
Message-ID: <87seplx8za.fsf@web.de> (raw)
In-Reply-To: <87wmexx9a0.fsf@web.de> (Michael Heerdegen's message of "Wed, 15 Jan 2025 00:31:19 +0100")

Michael Heerdegen <michael_heerdegen@web.de> 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.


      reply	other threads:[~2025-01-14 23:37 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
2025-01-14 23:37     ` Michael Heerdegen [this message]

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=87seplx8za.fsf@web.de \
    --to=michael_heerdegen@web.de \
    --cc=emacs-orgmode@gnu.org \
    /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).