-
Notifications
You must be signed in to change notification settings - Fork 118
Closed
Description
OS/platform
Arch Linux
Emacs version and provenance
Emacs-wayland v29.3 from Arch repositories
Emacs command
COLORTERM=truecolor emacs -nw
Org version and provenance
Org commit: f398724bd53eb6af3cf4187c864ec6f89a22ef59
From doom emacs
org-ql package version and provenance
Actions taken
I am probably missing something obvious here. But
- I created a heading with the property "QL_DEPTH: 3"
- I ran
(org-ql-search (current-buffer) '(property "QL_DEPTH"))
, which worked correctly - I tried
(org-ql-search (current-buffer) '(property "QL_DEPTH" :inherit t))
, which returned no results - I tried
(org-ql--predicate-property "QL_DEPTH" :inherit t)
for testing purposes which produced an error (see backtrace)
Observed results
The :inherit keyword argument either caused errors or produced no results, even when there were results when :inherit
wasn`t specified.
Expected results
The :inherit keyword argument should produce results
Backtrace
Results of (org-ql--predicate-property "QL_DEPTH" :inherit t)
:
Debugger entered--Lisp error: (error "Keyword argument t not one of (:inherit)")
error("Keyword argument %s not one of (:inherit)" t)
org-ql--predicate-property("QL_DEPTH" :inherit t)
eval-expression((org-ql--predicate-property "QL_DEPTH" :inherit t) nil nil 127)
funcall-interactively(eval-expression (org-ql--predicate-property "QL_DEPTH" :inherit t) nil nil 127)
command-execute(eval-expression)
Removing t
avoided the error but did not produce the correct result.
Etc.
Setting org-use-property-inheritance
to t
also had no effect on the queries.