[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Emacs 29.1, org-agenda and SCHEDULED entries
From: |
Christian Barthel |
Subject: |
Emacs 29.1, org-agenda and SCHEDULED entries |
Date: |
Sat, 05 Aug 2023 10:20:31 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (berkeley-unix) |
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
- Emacs 29.1, org-agenda and SCHEDULED entries,
Christian Barthel <=