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

[org] explicitly specify org-refile-targets

parent ab8099ba
......@@ -290,20 +290,14 @@ TYPES is a list of todo states to check and maybe skip."
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)
("~/notes/idees.org" . (:maxlevel . 2))
("~/bib/reading_notes.org" . (:maxlevel . 3))))
(setq org-refile-targets (quote
((nil :maxlevel . 5) ;current buffer up to level 5
("~/org/encours.org" . (:maxlevel . 2))
("~/org/tickler.org" . (:level . 1))
("~/org/unjour.org" . (:maxlevel . 2))
("~/notes/idees.org" . (:level . 1))
("~/Terrain/rubrique_terrain.org" . (:maxlevel . 3))
("~/bib/reading_notes.org" . (:level . 1))))
org-refile-allow-creating-parent-nodes 'confirm
org-outline-path-complete-in-steps nil
org-refile-use-outline-path 'file)
......
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