aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-13 13:04:50 -0500
committerCraig Jennings <c@cjennings.net>2026-05-13 13:04:50 -0500
commit5dbe032d3a9746a32fe40785eadda78f3e0476ac (patch)
tree92a97eb376f32e4db2ab1d0e3476e201d1dbf9ba /scripts
parent2db16de600c0edc7bbe723f97041f1a46bd4a611 (diff)
downloaddotemacs-5dbe032d3a9746a32fe40785eadda78f3e0476ac.tar.gz
dotemacs-5dbe032d3a9746a32fe40785eadda78f3e0476ac.zip
fix(org-agenda): skip CANCELLED entries from main agenda SCHEDULE
The "d" command's (agenda ...) block had no org-agenda-skip-function. The global org-agenda-skip-scheduled-if-done is nil. CANCELLED tasks with a SCHEDULED date rendered in the forward-looking schedule unfiltered. The fix adds an org-agenda-skip-function to the SCHEDULE block: (org-agenda-skip-entry-if 'todo '("CANCELLED")). The scope is deliberate. Only CANCELLED is filtered, not DONE or FAILED. A scheduled DONE task is a record of when something happened and stays visible. Tests cover the configuration: the form must appear on the agenda block and must not appear on the overdue, hi-pri, or priority-B blocks.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions