Commit f6e310dc authored by Victor A. Stoichiţă's avatar Victor A. Stoichiţă
Browse files

[org] refile targets specifi to gtd

parent fdd5ec5f
......@@ -262,13 +262,23 @@
org-icalendar-use-scheduled (quote (event-if-not-todo todo-start)))
;;; REFILE:
(defvar vic/org-gtd-directory "~/org/" "The directory where I keep my Get Things Done files")
(defun vic/org-gtd-refile-targets ()
"List of refile targets for my Getting Things Done files.
Set in the respective files through file-local variables"
(let ((gtd-dir "~/org/")
(gtd-files '("in.org" "unjour.org" "encours.org" "tickler.org")))
(mapcar
(lambda (x)
(concat vic/org-gtd-directory x)) gtd-files)))
(setq org-refile-targets (quote ((nil :maxlevel . 5) ;current buffer up to level 5
;; ("~/calendriers/victor.org" :level . 1)
("~/admin/bricolages.org" :level . 1)
("~/notes/general.org" . (:maxlevel . 2))))
("~/notes/idees.org" . (:maxlevel . 2))
("~/bib/reading_notes.org" . (:maxlevel . 3))))
org-refile-allow-creating-parent-nodes 'confirm
org-outline-path-complete-in-steps nil
org-refile-use-outline-path t)
org-refile-use-outline-path 'file)
;;; ORG-CALDAV:
(require 'org-caldav)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment