Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Victor Stoichita
emacs-config
Commits
7b71d822
Commit
7b71d822
authored
Oct 13, 2020
by
Victor A. Stoichiţă
Browse files
[org] explicitly specify org-refile-targets
parent
ab8099ba
Changes
1
Hide whitespace changes
Inline
Side-by-side
orgmode_init.el
View file @
7b71d822
...
...
@@ -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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment