diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-13 13:04:50 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-13 13:04:50 -0500 |
| commit | 77862853ad01b10c02beebab79cc8a48892313f6 (patch) | |
| tree | d85766205b0138deb4e536349bfe48347fb8ba7f /tests/test-coverage-core--intersect.el | |
| parent | eaef768f97945577200252fa9dec3e2b8a7e7dc6 (diff) | |
| download | dotemacs-77862853ad01b10c02beebab79cc8a48892313f6.tar.gz dotemacs-77862853ad01b10c02beebab79cc8a48892313f6.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 'tests/test-coverage-core--intersect.el')
0 files changed, 0 insertions, 0 deletions
