Add: Negation in plain queries

This commit is contained in:
Adam Porter 2019-10-09 19:05:11 -05:00
parent 6b2004e678
commit 949a06c3ab
4 changed files with 43 additions and 21 deletions

View file

@ -339,6 +339,7 @@ Sexp syntax Non-sexp syntax
(heading "quoted phrase" "word") heading:"quoted phrase",word
(and (tags "book" "books") (priority "A")) tags:book,books priority:A
(src :lang "elisp" :regexps ("defun")) src:defun,lang=elisp or src:lang=elisp,defun
(and (tags "space") (not (regexp "moon"))) tags:space !moon
(priority >= B) priority:A,B
Note that the priority predicate does not support comparators in the
@ -695,6 +696,8 @@ File: README.info, Node: 04-pre, Next: 031, Up: Changelog
===========
*Added*
• Negation of terms in plain queries using !. For example,
tags:space !moon to exclude entries which contain moon.
• Predicates outline-path (alias olp) and outline-path-segment (alias
olps).
• Info manual.
@ -980,24 +983,24 @@ Node: org-ql-view-recent-items6452
Node: org-ql-sparse-tree6936
Node: Queries7736
Node: Non-sexp query syntax8578
Node: Predicates10198
Node: Date/time predicates15312
Node: Functions / Macros17947
Node: Agenda-like views18134
Node: Listing / acting-on results19539
Node: Changelog24141
Node: 04-pre24663
Node: 03125607
Node: 0325805
Node: 02328778
Node: 02229004
Node: 02129270
Node: 0229467
Node: 0133500
Node: Notes33599
Node: Comparison with Org Agenda searches33761
Node: org-sidebar34632
Node: License34911
Node: Predicates10277
Node: Date/time predicates15391
Node: Functions / Macros18026
Node: Agenda-like views18213
Node: Listing / acting-on results19618
Node: Changelog24220
Node: 04-pre24742
Node: 03125830
Node: 0326028
Node: 02329001
Node: 02229227
Node: 02129493
Node: 0229690
Node: 0133723
Node: Notes33822
Node: Comparison with Org Agenda searches33984
Node: org-sidebar34855
Node: License35134

End Tag Table