feat: add high priority unscheduled agenda view

Adds a new custom agenda view (key "u") that shows high priority (A/B)
items that don't have a scheduled date or deadline. Useful for finding
important tasks that might be falling through the cracks.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-25 17:54:01 -08:00
parent d64a97e2c1
commit f280b91595

View File

@@ -500,7 +500,11 @@ that have a SCHEDULED date before today to the current date."
(missing-priority (missing-priority
'(tags-todo "-PRIORITY={.}/!" '(tags-todo "-PRIORITY={.}/!"
((org-agenda-overriding-header ((org-agenda-overriding-header
"These don't have priorities:"))))) "These don't have priorities:"))))
(high-priority-unscheduled
'(tags-todo "+PRIORITY<\"C\"-SCHEDULED={.}-DEADLINE={.}/!"
((org-agenda-overriding-header
"High priority without scheduled/deadline:")))))
(setq org-agenda-custom-commands (setq org-agenda-custom-commands
`(("M" "Main agenda view" `(("M" "Main agenda view"
@@ -533,7 +537,8 @@ that have a SCHEDULED date before today to the current date."
,(cons "i" (cons "Inbox" inbox)) ,(cons "i" (cons "Inbox" inbox))
,(cons "n" (cons "Next" next)) ,(cons "n" (cons "Next" next))
("w" "Wait" todo "WAIT" ("w" "Wait" todo "WAIT"
((org-agenda-overriding-header "Waiting:")))))) ((org-agenda-overriding-header "Waiting:")))
,(cons "u" (cons "High priority unscheduled" high-priority-unscheduled)))))
#+end_src #+end_src
*** Filters *** Filters
**** Regexp Presets **** Regexp Presets