From 0852c1f2c385530c50647e6da76be7dee9eb60f0 Mon Sep 17 00:00:00 2001 From: ndwarshuis Date: Sun, 12 Dec 2021 19:10:03 -0500 Subject: [PATCH] ENH don't show metablox in archive --- etc/conf.org | 5 ++++- local/lib/org-x/org-x.el | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/etc/conf.org b/etc/conf.org index d5e88cb..e821780 100644 --- a/etc/conf.org +++ b/etc/conf.org @@ -3208,7 +3208,10 @@ original function being advised and ARGS are the arguments." ("A" "Archivable Tasks and Projects" ((tags - ,(nd/org-mk-match-string - org-x-tag-no-agenda - org-x-tag-refile) + ,(nd/org-mk-match-string + - org-x-tag-no-agenda + - org-x-tag-refile + - org-x-tag-no-archive) ((org-agenda-overriding-header "Archive") (org-agenda-skip-function #'org-x-archive-skip-function) (org-agenda-sorting-strategy '(category-keep)) diff --git a/local/lib/org-x/org-x.el b/local/lib/org-x/org-x.el index 6b64ef0..b0dfe67 100644 --- a/local/lib/org-x/org-x.el +++ b/local/lib/org-x/org-x.el @@ -167,6 +167,9 @@ (defconst org-x-tag-no-agenda "NA" "Tag denoting a headlines that shouldn't go in the agenda.") +(defconst org-x-tag-no-archive "NRXIV" + "Tag denoting a headlines that shouldn't go in the archive.") + (defconst org-x-tag-refile "REFILE" "Tag denoting a headlines that are to be refiled.")