Docs: Update comparison

This commit is contained in:
Adam Porter 2020-02-04 02:47:53 -06:00
parent 538373bb48
commit 035c20fc28
2 changed files with 5 additions and 14 deletions

View file

@ -566,13 +566,7 @@ Of course, queries like these can already be written with Org Agenda searches, b
+lisp +{^\*+\s-+TO-READ\s-}
#+END_EXAMPLE
But with ~org-ql-agenda~, you would write:
#+BEGIN_SRC elisp
(org-ql-agenda
(and (regexp "lisp")
(todo "TO-READ")))
#+END_SRC
But with =org-ql-search=, you would write a query like =lisp todo:TO-READ=, or in Lisp syntax, ~(and "lisp" (todo "TO-READ"))~.
** org-sidebar

View file

@ -1032,11 +1032,8 @@ regular expression syntax, like this:
+lisp +{^\*+\s-+TO-READ\s-}
But with org-ql-agenda, you would write:
(org-ql-agenda
(and (regexp "lisp")
(todo "TO-READ")))
But with org-ql-search, you would write a query like
lisp todo:TO-READ, or in Lisp syntax, (and "lisp" (todo "TO-READ")).

File: README.info, Node: org-sidebar, Prev: Comparison with Org Agenda searches, Up: Notes
@ -1092,8 +1089,8 @@ Node: 0233622
Node: 0137655
Node: Notes37754
Node: Comparison with Org Agenda searches37916
Node: org-sidebar38787
Node: License39066
Node: org-sidebar38788
Node: License39067

End Tag Table