This commit is contained in:
Adam Porter 2018-05-10 15:50:13 -05:00
parent 146772af67
commit 1d9a2cfc53

View file

@ -6,9 +6,9 @@ Here's an example of generating a kind of agenda view for today (note that the g
#+BEGIN_SRC elisp #+BEGIN_SRC elisp
(org-agenda-ng "~/src/emacs/org-super-agenda/test/test.org" (org-agenda-ng "~/src/emacs/org-super-agenda/test/test.org"
(and (or (date :date '= (org-today)) (and (or (date '= (org-today))
(date :deadline '<= (+ org-deadline-warning-days (org-today))) (deadline '<=)
(date :scheduled '<= (org-today))) (scheduled '<= (org-today)))
(not (done)))) (not (done))))
#+END_SRC #+END_SRC
@ -27,19 +27,19 @@ Here are some other examples:
(org-agenda-ng "~/org/main.org" (org-agenda-ng "~/org/main.org"
(or (habit) (or (habit)
(date :deadline '<= (org-today)) (deadline '<=)
(date :scheduled '<= (org-today)) (scheduled '<= (org-today))
(and (todo "DONE" "CANCELLED") (and (todo "DONE" "CANCELLED")
(date :closed '= (org-today))))) (closed '= (org-today)))))
(org-agenda-ng "~/org/main.org" (org-agenda-ng "~/org/main.org"
(or (habit) (or (habit)
(and (or (date :date '= (org-today)) (and (or (date '= (org-today))
(date :deadline '<=) (deadline '<=)
(date :scheduled '<= (org-today))) (scheduled '<= (org-today)))
(not (done))) (not (done)))
(and (todo "DONE" "CANCELLED") (and (todo "DONE" "CANCELLED")
(date :closed '= (org-today))))) (closed '= (org-today)))))
(org-agenda-ng "~/org/main.org" (org-agenda-ng "~/org/main.org"
(or (habit) (or (habit)