From b4428f89c222c7a249beea087bd761bedc018afb Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Mon, 20 Apr 2020 15:12:51 -0700 Subject: 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. --- oni-org/oni-org.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'oni-org/oni-org.el') 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 ;; 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) -- cgit v1.2.3-54-g00ecf