emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Christian Barthel <bch@online.de>
To: emacs-orgmode@gnu.org
Subject: Emacs 29.1, org-agenda and SCHEDULED entries
Date: Sat, 05 Aug 2023 10:20:31 +0200	[thread overview]
Message-ID: <87edkhnbn4.fsf@shell.onfire.org> (raw)

Hi,

while upgrading from emacs 28.1 to 29.1, my org-agenda stopped working.
The message in the echo area was:

--8<---------------cut here---------------start------------->8---
    Search failed: "\\<SCHEDULED: *<\\([^>]+\\)>"
--8<---------------cut here---------------end--------------->8---

The search seemed to fail in an old org file:

--8<---------------cut here---------------start------------->8---
  * someentry
    SCHEDULED: [2017-12-12 Tue 17:42]
--8<---------------cut here---------------end--------------->8---

Not sure why I've used an inactive timestamp there but it shouldn't
be a problem I guess?

As a workaround, I have updated the `org-schedule-time-regexp` to
match the brackets as well:

--8<---------------cut here---------------start------------->8---
(setq org-scheduled-time-regexp
  (concat "\\<" org-scheduled-string " *[[<]\\([^]>]+\\)[]>]"))
--8<---------------cut here---------------end--------------->8---

With that new regexp, my agenda loads again without errors but
I do wonder:


Was/Is that change on purpose? (I haven't seen anything in the
ChangeLog)

-- 
Christian Barthel


             reply	other threads:[~2023-08-05  8:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-05  8:20 Christian Barthel [this message]
2023-08-05 11:18 ` Emacs 29.1, org-agenda and SCHEDULED entries Ihor Radchenko
2023-08-18 12:24   ` Ihor Radchenko

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=87edkhnbn4.fsf@shell.onfire.org \
    --to=bch@online.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).