v0.7
Added
- Commands
org-ql-find
,org-ql-find-heading
, andorg-ql-find-path
, which jump to entries selected using Emacs's built-in completion facilities and Org QL queries (likehelm-org-ql
, but doesn't require Helm.). - Command
org-ql-refile
, which refiles the entry at point to one selected using Org QL completion. - Predicate
rifle
, which matches an entry if each of the given arguments is found in either the entry's contents or its outline path. This provides very intuitive results, mimicing the behavior oforg-rifle
. In fact, the results are so useful that it's now the default predicate for plain-string query tokens. (It is also aliased tosmart
, since it's so "smart," and not all users have usedorg-rifle
.) - Option
org-ql-default-predicate
, applied to plain-string query tokens (before, theregexp
predicate was always used, but now it may be customized). - Alias
c
for predicatecategory
. - Predicate
property
now accepts the argument:inherit
to match entries with property inheritance, and when unspecified, the optionorg-use-property-inheritance
controls whether inheritance is used. - Predicate
blocked
. (Thanks to Akira Komamura.)
Changed
- Give more useful error message for invalid queries.
- Predicate
src
now matches case-insensitively. - Command
org-ql-sparse-tree
accepts both string and sexp queries. (Thanks to Akira Komamura.)
Fixed
- Predicate
link
matches links whose descriptions contain escaped brackets (changed in Org 9.3). (Thanks to Daniel Borchmann for reporting.) - Predicate
src
's matching of begin/end block lines, normalization of arguments, and handling in non-sexp queries. (Thanks to Akira Komamura for reporting.) - Predicate
src
's behavior with various arguments. - Various compilation warnings.
Internal
- Certain query predicates, when called multiple times in an
and
sub-expression, are optimized to a single call. - Use
buffer-chars-modified-tick
instead ofbuffer-modified-tick
. (Thanks to Ihor Radchenko.) - Implemented tests for
src
predicate.
Credits
- Thanks to Caleb Chase for help with #285, fixed in 9190818.