From a8fee5f044d64eb8ba2d5f5bcc3f53e525cd2be8 Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Wed, 7 Sep 2022 18:40:12 +0200 Subject: [PATCH] Add temporary fix for org-ql not recognizing timestamps with range --- init.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/init.el b/init.el index a82c50a..80c6f05 100644 --- a/init.el +++ b/init.el @@ -964,12 +964,16 @@ ;; Extended query language and dynamic blocks (use-package org-ql-search :ensure org-ql + ;; XXX: Remove the following as soon as this is fixed in upstream + :init (setq org-ql-regexp-part-ts-time + (rx " " (repeat 1 2 digit) ":" (repeat 2 digit) + (optional "-" (repeat 1 2 digit) ":" (repeat 2 digit)))) :commands (org-ql-view org-ql-search org-dblock-write:org-ql) - :config (progn + ;; XXX: Remove the following as soon as this is fixed in upstream ;; Redefine the regular expression for link searches to allow ;; brackets in the description. This function comes straight from ;; org-ql.el