Exclude NOTEs as refile targets

NOTEs are meant to hold information for the project at hand, and not to collect
tasks, because NOTEs are meant to live longer than those tasks.  Use dedicated
subprojects to group tasks.  Task may (and probably should) refer to NOTEs for
keeping long lasting information, though.
This commit is contained in:
Daniel Borchmann 2021-10-16 10:12:51 +02:00
parent b952504c81
commit 90b6e91051
Signed by: exot
GPG Key ID: 1C7071A75BB72D64

View File

@ -297,7 +297,9 @@ tag PERIODIC."
(and
;; Exclude DONE state tasks from refile targets (from bh)
(not (member (nth 2 (org-heading-components))
org-done-keywords))))
org-done-keywords))
;; Do not refile to NOTEs, as those are meant to keep information, not tasks
(not (member "NOTE" (org-get-tags)))))
;;; Reset checklists