Skip to content

Commit

Permalink
More...
Browse files Browse the repository at this point in the history
  • Loading branch information
alphapapa committed May 10, 2018
1 parent 146772a commit 1d9a2cf
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions README.org
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ Here's an example of generating a kind of agenda view for today (note that the g

#+BEGIN_SRC elisp
(org-agenda-ng "~/src/emacs/org-super-agenda/test/test.org"
(and (or (date :date '= (org-today))
(date :deadline '<= (+ org-deadline-warning-days (org-today)))
(date :scheduled '<= (org-today)))
(and (or (date '= (org-today))
(deadline '<=)
(scheduled '<= (org-today)))
(not (done))))
#+END_SRC

Expand All @@ -27,19 +27,19 @@ Here are some other examples:

(org-agenda-ng "~/org/main.org"
(or (habit)
(date :deadline '<= (org-today))
(date :scheduled '<= (org-today))
(deadline '<=)
(scheduled '<= (org-today))
(and (todo "DONE" "CANCELLED")
(date :closed '= (org-today)))))
(closed '= (org-today)))))

(org-agenda-ng "~/org/main.org"
(or (habit)
(and (or (date :date '= (org-today))
(date :deadline '<=)
(date :scheduled '<= (org-today)))
(and (or (date '= (org-today))
(deadline '<=)
(scheduled '<= (org-today)))
(not (done)))
(and (todo "DONE" "CANCELLED")
(date :closed '= (org-today)))))
(closed '= (org-today)))))

(org-agenda-ng "~/org/main.org"
(or (habit)
Expand Down

0 comments on commit 1d9a2cf

Please sign in to comment.