-
Notifications
You must be signed in to change notification settings - Fork 118
Closed
Description
Good evening all,
I've had a small agenda-like org-ql setup that I used with org-mode for a while.
After not using it for a month or two, I've gotten back to using it and I've discovered that it throws an error.
"replace-regexp-in-string: Wrong type argument: stringp, [org-element-deferred org-element--headline-parse-title (nil) nil]"
(defun kr/agenda-next-month ()
(interactive)
(require 'org-ql)
(org-ql-search (org-agenda-files)
'(and (or (deadline :to 30)
(scheduled :to 30)
(todo :to 30))
(not (done))
(not (tags "tag"))
)
:title "My next month"
:super-groups '(
(:name "Today"
:scheduled today
:deadline today
:date today)
(:name "Due soon"
:scheduled future
:deadline auto)
(:name "Overdue"
:scheduled past
:deadline past)
(:name "Bills soon"
:tag "bills")
(:name "Due later"
:scheduled future
:deadline future)
(:name "Projects"
:tag "projects")
(:name "Misc"
:todo "TODO")
(:todo "READ"
:order 7)
(:todo "WAIT"
:order 6)
(:priority "A" :order 1)
(:priority "B" :order 2)
(:priority "C" :order 3)))
)
Anybody facing something similar?
Any hints on tracking down this issue?
Thank you kindly!
IceAsteroid