From 43d90493076c43b140b5d6f8f5a4229db239ee50 Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Fri, 28 Oct 2022 16:02:56 +0200 Subject: [PATCH] Remove redundant agenda prefix definitions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit These definitions are easily covered by the global setting of `org-agenda-prefix-format` and can thus also be customized now. Note that this yields some extra space with the default setting, as the entries of the custom project agenda usually do not have an effort property set – but I think this is easily bearable. --- init.el | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/init.el b/init.el index 1c4d74c..2e0ac0d 100644 --- a/init.el +++ b/init.el @@ -1207,14 +1207,11 @@ respectively." ((stuck "" ((org-agenda-overriding-header "Stuck Complex Tasks"))) (tags "TAGS={NOTE}-TODO={CANC\\|DONE\\|MRGD}-HOLD-NOP-SCHEDULED>=\"<+0d>\"" - ((org-agenda-overriding-header "Project Notes (items explicitly tagged with NOTE but not NOP, not scheduled now or in the future)") - (org-agenda-prefix-format '((tags . "%-8c "))))) + ((org-agenda-overriding-header "Project Notes (items explicitly tagged with NOTE but not NOP, not scheduled now or in the future)"))) (tags "TAGS={TOPIC}-TODO={DONE\\|CANC\\|MRGD}-SCHEDULED>=\"<+0d>\"-HOLD-WAIT" - ((org-agenda-overriding-header "Topics") - (org-agenda-prefix-format '((tags . "%-8c "))))) + ((org-agenda-overriding-header "Topics"))) (tags "TAGS={PERIODIC}-TODO={DONE\\|CANC\\|MRGD}-HOLD-SCHEDULED>=\"<+0d>\"-HOLD-WAIT" - ((org-agenda-overriding-header "Periodic Projects (PERIODIC, not scheduled in the future, not done, not on hold)") - (org-agenda-prefix-format '((tags . "%-8c "))))))) + ((org-agenda-overriding-header "Periodic Projects (PERIODIC, not scheduled in the future, not done, not on hold)"))))) ("W" "Weekly Review" ((agenda ""