From c5388db0a8eb31afdc2a0861d7dba577adaa607b Mon Sep 17 00:00:00 2001 From: Marcel Kapfer Date: Sun, 25 Nov 2018 11:06:32 +0100 Subject: [PATCH] Emacs Org Refile: allow creation of parents and enabled all files --- emacs/emacs.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/emacs/emacs.el b/emacs/emacs.el index f2b902a..ef3c308 100644 --- a/emacs/emacs.el +++ b/emacs/emacs.el @@ -471,7 +471,10 @@ "* %? \n CREATED: %u\n %i\n"))) ;; set org refile targets - (setq org-refile-targets '(("~/cloud/org/projects.org" :maxlevel . 3))) + (setq org-refile-targets '((org-agenda-files :maxlevel . 3))) + + ;; allow creating new targets on refile + (setq org-refile-allow-creating-parent-nodes 'confirm) ;; warn of deadlines in the next seven days (setq org-deadline-warning-days 7)