aboutsummaryrefslogtreecommitdiffstats
path: root/oni-org/oni-org.el
diff options
context:
space:
mode:
authorGravatar Tom Willemse2020-04-20 15:12:51 -0700
committerGravatar Tom Willemse2020-04-20 15:12:51 -0700
commitb4428f89c222c7a249beea087bd761bedc018afb (patch)
treef3cad1da07983a8c619ceef7bedc34543f05e3c4 /oni-org/oni-org.el
parent27260c2ef21cc3f8c5161d9c0a7f87348c533e34 (diff)
downloademacs-config-b4428f89c222c7a249beea087bd761bedc018afb.tar.gz
emacs-config-b4428f89c222c7a249beea087bd761bedc018afb.zip
Hide future scheduled items from tag searches
The value of the variable ‘org-agenda-todo-ignore-scheduled’ causes it to ignore any scheduled items that aren’t scheduled for today or in the past, ‘org-agenda-tags-todo-honor-ignore-options’ makes the value of ‘org-agenda-todo-ignore-scheduled’ also apply to tag searches. Since I’ve replaced my global todo list with a tag search, this is preferable.
Diffstat (limited to 'oni-org/oni-org.el')
-rw-r--r--oni-org/oni-org.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/oni-org/oni-org.el b/oni-org/oni-org.el
index a65cb9e..8284a71 100644
--- a/oni-org/oni-org.el
+++ b/oni-org/oni-org.el
@@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local
-;; Version: 2020.0420.151018
+;; Version: 2020.0420.151243
;; Package-Requires: (oni-yasnippet oni-alert oni-hydra org-plus-contrib org-bullets org-edna diminish all-the-icons)
;; This program is free software; you can redistribute it and/or modify
@@ -185,6 +185,7 @@ _l_: Store link ^^ _j_: Journal entry
(oni-org-expand-to-home "documents/gtd/inbox.org"))
(setq org-agenda-skip-function-global #'oni-org-skip-tasks)
+(setq org-agenda-tags-todo-honor-ignore-options t)
(setq org-agenda-todo-ignore-scheduled 'future)
(setq org-catch-invisible-edits 'error)
(setq org-clock-in-switch-to-state #'oni-org-maybe-change-todo-state)