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.
This commit is contained in:
parent
27260c2ef2
commit
b4428f89c2
1 changed files with 2 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
;; Author: Tom Willemse <tom@ryuslash.org>
|
;; Author: Tom Willemse <tom@ryuslash.org>
|
||||||
;; Keywords: local
|
;; 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)
|
;; 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
|
;; 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"))
|
(oni-org-expand-to-home "documents/gtd/inbox.org"))
|
||||||
|
|
||||||
(setq org-agenda-skip-function-global #'oni-org-skip-tasks)
|
(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-agenda-todo-ignore-scheduled 'future)
|
||||||
(setq org-catch-invisible-edits 'error)
|
(setq org-catch-invisible-edits 'error)
|
||||||
(setq org-clock-in-switch-to-state #'oni-org-maybe-change-todo-state)
|
(setq org-clock-in-switch-to-state #'oni-org-maybe-change-todo-state)
|
||||||
|
|
Loading…
Reference in a new issue