[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
org-ql and inherited tags (?)
From: |
Christian Barthel |
Subject: |
org-ql and inherited tags (?) |
Date: |
Tue, 15 Aug 2023 22:19:52 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (berkeley-unix) |
Hello,
i am using Emacs 29 and org-ql (20230525.1548).
I am seeing an error message that I tracked down
to setting org-use-property-inheritance. Short
demo:
Here is a small org-file:
--8<---------------cut here---------------start------------->8---
## file: ~/.emacs_29_test/foo.org
* this
:PROPERTIES:
:ID: 123
:BLOCKEDBY: 123
:END:
--8<---------------cut here---------------end--------------->8---
An org-query like the one below works as expected.
--8<---------------cut here---------------start------------->8---
(setq org-agenda-files "~/.emacs_29_test/foo.org")
(org-ql-search org-agenda-files "(and (level <= 3) (property \"BLOCKEDBY\"
\"123\"))")
;; this finds one item `this`
--8<---------------cut here---------------end--------------->8---
When I am setting `org-use-property-inheritance` and use the same query,
I get an error message:
--8<---------------cut here---------------start------------->8---
(setq org-use-property-inheritance '("DIR"))
(setq org-agenda-files "~/.emacs_29_test/foo.org")
(org-ql-search org-agenda-files "(and (level <= 3) (property \"BLOCKEDBY\"
\"123\"))")
;; Error message:
byte-compile-log-warning: Invalid Org QL query: "Invalid Org QL query: \"‘DIR’
is a malformed function\", :warning", :error
--8<---------------cut here---------------end--------------->8---
I think that this might be related:
<https://github.com/alphapapa/org-ql/issues/356>
Any idea whats going wrong?
--
Christian Barthel
- org-ql and inherited tags (?),
Christian Barthel <=