Add temporary fix for org-ql not recognizing timestamps with range
This commit is contained in:
parent
5ab5ec6aec
commit
a8fee5f044
6
init.el
6
init.el
|
@ -964,12 +964,16 @@
|
||||||
;; Extended query language and dynamic blocks
|
;; Extended query language and dynamic blocks
|
||||||
(use-package org-ql-search
|
(use-package org-ql-search
|
||||||
:ensure org-ql
|
: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
|
:commands (org-ql-view
|
||||||
org-ql-search
|
org-ql-search
|
||||||
org-dblock-write:org-ql)
|
org-dblock-write:org-ql)
|
||||||
|
|
||||||
:config (progn
|
:config (progn
|
||||||
|
|
||||||
|
;; XXX: Remove the following as soon as this is fixed in upstream
|
||||||
;; Redefine the regular expression for link searches to allow
|
;; Redefine the regular expression for link searches to allow
|
||||||
;; brackets in the description. This function comes straight from
|
;; brackets in the description. This function comes straight from
|
||||||
;; org-ql.el
|
;; org-ql.el
|
||||||
|
|
Loading…
Reference in New Issue