From: Peng Li Date: Sun, 26 Jun 2016 18:36:57 +0000 (+0800) Subject: emacs - orgmode refile config X-Git-Url: http://47.100.26.94:8080/?a=commitdiff_plain;h=97657e8e1164126327ecb828146c5772292385f6;p=dotfiles.git emacs - orgmode refile config --- 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