From 4ecafaa411c847c61d07f392cfd99d08e20317ea Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Mon, 12 Oct 2020 16:28:43 +0200 Subject: [PATCH] Allow to refile under periodic tasks MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sometimes an instance of a periodic tasks requires individual subtasks. In this case, refiling there is very helpful. In other cases, the extra entries should not be disturbing too much, I think … I hope. --- site-lisp/db-org.el | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/site-lisp/db-org.el b/site-lisp/db-org.el index cbd454c..33fb5cf 100644 --- a/site-lisp/db-org.el +++ b/site-lisp/db-org.el @@ -255,9 +255,7 @@ tag PERIODIC." (and ;; Exclude DONE state tasks from refile targets (from bh) (not (member (nth 2 (org-heading-components)) - org-done-keywords)) - ;; Don't refile to elements of periodic tasks - (not (member "PERIODIC" (org-get-tags))))) + org-done-keywords)))) ;;; Reset checklists