From 97657e8e1164126327ecb828146c5772292385f6 Mon Sep 17 00:00:00 2001 From: Peng Li Date: Mon, 27 Jun 2016 02:36:57 +0800 Subject: [PATCH] emacs - orgmode refile config --- emacs.d/config.org | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/emacs.d/config.org b/emacs.d/config.org index 9df2d60..1f92827 100644 --- a/emacs.d/config.org +++ b/emacs.d/config.org @@ -661,6 +661,17 @@ All captured file which need next actions are stored in =refile.org=, ("h" "Habit" entry (file org-default-notes-file) "* NEXT %?\n%a\nSCHEDULED: %(format-time-string \"%<<%Y-%m-%d %a .+1d/3d>>\")\n:PROPERTITES:\n:STYLE: habit\n:REPEAT_TO_STATE: NEXT\n:END:\n ")))) #+END_SRC + +**** Refiling Tasks + +#+BEGIN_SRC emacs-lisp :tangle yes :results silent + (setq org-refile-targets (quote (;; (nil :maxlevel . 9) + (org-agenda-files :maxlevel . 9)))) + + (setq org-refile-use-outline-path t) + + (setq org-refile-allow-creating-parent-nodes (quote confirm)) +#+END_SRC *** Agenda Setup #+BEGIN_SRC emacs-lisp :tangle yes :results silent -- 2.11.0