Docs: Update examples

I think that's all of them now...
This commit is contained in:
Adam Porter 2019-08-19 13:34:29 -05:00
parent 027bb89373
commit b4066607ec

View file

@ -302,8 +302,9 @@ Which presents this buffer:
Here are some other examples: Here are some other examples:
#+BEGIN_SRC elisp #+BEGIN_SRC elisp
;; Show an agenda-like view of items in "~/org/main.org" with TODO and SOMEDAY keywords which are ;; Show an agenda-like view of items in "~/org/main.org" with TODO and
;; tagged "computer" or "Emacs" and in the category "main": ;; SOMEDAY keywords which are tagged "computer" or "Emacs" and in the
;; category "main":
(org-ql-agenda "~/org/main.org" (org-ql-agenda "~/org/main.org"
(and (todo "TODO" "SOMEDAY") (and (todo "TODO" "SOMEDAY")
(tags "computer" "Emacs") (tags "computer" "Emacs")
@ -313,14 +314,16 @@ Here are some other examples:
(org-ql-agenda (org-ql-agenda
(habit)) (habit))
;; Show an agenda-like view similar to a "traditional" Org agenda. ;; Show an agenda-like view similar to a "traditional" Org Agenda with
;; Log Mode turned on.
(org-ql-agenda (org-ql-agenda
(or (and (not (done))
(or (habit) (or (habit)
(date = today) (deadline auto)
(deadline <=) (scheduled :to today)
(scheduled <= today) (ts-active :on today)))
(and (todo "DONE" "CANCELLED") (closed :on today))
(closed = today)))) :sort (date priority todo))
#+END_SRC #+END_SRC
*** Listing / acting-on results *** Listing / acting-on results