Docs: Update examples
I think that's all of them now...
This commit is contained in:
parent
027bb89373
commit
b4066607ec
1 changed files with 12 additions and 9 deletions
19
README.org
19
README.org
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue