aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2022-04-24 02:53:18 -0700
committerGravatar Tom Willemse2022-04-24 02:53:18 -0700
commit297df3579d5f321de194683c92e958736037247f (patch)
treea5f0551dcce9dd31db09b915e280ae2faf96e077
parent40919f0fe9763f1851a0df2753d8dde3807cecf3 (diff)
downloademacs-config-297df3579d5f321de194683c92e958736037247f.tar.gz
emacs-config-297df3579d5f321de194683c92e958736037247f.zip
[oni-org] Add agenda to overview command and show 10 items each
-rw-r--r--oni-org/oni-org.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/oni-org/oni-org.el b/oni-org/oni-org.el
index 93c19ca..3948aea 100644
--- a/oni-org/oni-org.el
+++ b/oni-org/oni-org.el
@@ -604,11 +604,12 @@ also move point to the start of the heading."
("wr" "Topics for Remy" tags-todo "+work+1o1+FOR=\"Remy\"")
("S" "Shopping" tags-todo "+shopping")
("o" "Overview"
- ((tags-todo "TODO=\"TODO\"-CATEGORY=\"inbox\"+SCHEDULED=\"\"")
+ ((agenda "" ((org-agenda-span 'day)))
+ (tags-todo "TODO=\"TODO\"-CATEGORY=\"inbox\"+SCHEDULED=\"\"")
(tags-todo "TODO=\"READ\"-CATEGORY=\"inbox\"")
(tags-todo "TODO=\"WATCH\"-CATEGORY=\"inbox\"")
(tags-todo "TODO=\"LISTEN\"-CATEGORY=\"inbox\""))
- ((org-agenda-max-effort 200)))))
+ ((org-agenda-max-todos 10)))))
(add-hook 'org-mode-hook #'oni-org-initialize-agenda-category-icons)