Browse Source

capture templates now with variable dir names

master
Marc 2 weeks ago
parent
commit
3c27b2fce2
1 changed files with 9 additions and 9 deletions
  1. 18
      config.org

18
config.org

@ -1242,26 +1242,26 @@ nil)))
(setq org-todo-keywords (setq org-todo-keywords
'((sequence "WAIT" "OPEN" "NEXT" "TODO" "|" "DONE" "DROP"))) '((sequence "WAIT" "OPEN" "NEXT" "TODO" "|" "DONE" "DROP")))
(setq org-capture-templates (setq org-capture-templates
'(("p" "telephone call"
entry (file+olp+datetree "p:/Eigene Dateien/Notizen/phone_calls.org")
`(("p" "telephone call"
entry (file+olp+datetree ,(concat MY--PATH_ORG_FILES "phone_calls.org"))
"* call [%<%Y-%m-%d %H:%M>] %?" "* call [%<%Y-%m-%d %H:%M>] %?"
:empty-lines 0 :empty-lines 0
:prepare-finalize (org-id-get-create) :prepare-finalize (org-id-get-create)
:jump-to-captured t) :jump-to-captured t)
("t" "simple task" ("t" "simple task"
entry (file+headline "p:/Eigene Dateien/Notizen/tasks.org" "Todos")
entry (file+headline ,(concat MY--PATH_ORG_FILES "tasks.org" "Todos"))
"* TODO %?\n :PROPERTIES:\n :CREATED: %U\n :END:\n" "* TODO %?\n :PROPERTIES:\n :CREATED: %U\n :END:\n"
:prepend t :prepend t
:prepare-finalize (org-id-get-create) :prepare-finalize (org-id-get-create)
:jump-to-captured t) :jump-to-captured t)
("n" "simple note" ("n" "simple note"
entry (file "p:/Eigene Dateien/Notizen/notes.org")
entry (file ,(concat MY--PATH_ORG_FILES "notes.org"))
"* %?\n :PROPERTIES:\n :CREATED: %U\n :END:\n" "* %?\n :PROPERTIES:\n :CREATED: %U\n :END:\n"
:prepend t :prepend t
:prepare-finalize (org-id-get-create) :prepare-finalize (org-id-get-create)
:jump-to-captured t) :jump-to-captured t)
("o" "OP-Verwaltung neuer Eintrag" ("o" "OP-Verwaltung neuer Eintrag"
entry (file+olp+datetree "p:/Eigene Dateien/Notizen/op-verwaltung.org")
entry (file+olp+datetree ,(concat MY--PATH_ORG_FILES "op-verwaltung.org"))
"* OP [%<%Y-%m-%d %H:%M>] %?" "* OP [%<%Y-%m-%d %H:%M>] %?"
:prepare-finalize (org-id-get-create) :prepare-finalize (org-id-get-create)
:jump-to-captured t) :jump-to-captured t)
@ -1274,7 +1274,7 @@ nil)))
;; entry for a todo in a todo file ;; entry for a todo in a todo file
;; add an entry to a new or existing node ;; add an entry to a new or existing node
;; which is not in the org-node exclusion list ;; which is not in the org-node exclusion list
'(("i" "capture into node"
`(("i" "capture into node"
entry (function org-node-capture-target) nil entry (function org-node-capture-target) nil
:jump-to-captured t :jump-to-captured t
:empty-lines-after 1) :empty-lines-after 1)
@ -1284,19 +1284,19 @@ nil)))
:jump-to-captured t :jump-to-captured t
:immediate-finish t) :immediate-finish t)
("t" "simple task" ("t" "simple task"
entry (file "~/archiv/notes/tasks.org")
entry (file ,(concat MY--PATH_ORG_FILES "tasks.org"))
"* TODO %?\n :PROPERTIES:\n :CREATED: %U\n :END:\n" "* TODO %?\n :PROPERTIES:\n :CREATED: %U\n :END:\n"
:prepend t :prepend t
:prepare-finalize (org-id-get-create) :prepare-finalize (org-id-get-create)
:jump-to-captured t) :jump-to-captured t)
("n" "simple note" ("n" "simple note"
entry (file "~/archiv/notes/notes.org")
entry (file ,(concat MY--PATH_ORG_FILES "notes.org"))
"* %?\n :PROPERTIES:\n :CREATED: %U\n :END:\n" "* %?\n :PROPERTIES:\n :CREATED: %U\n :END:\n"
:prepend t :prepend t
:prepare-finalize (org-id-get-create) :prepare-finalize (org-id-get-create)
:jump-to-captured t) :jump-to-captured t)
("p" "phone call" ("p" "phone call"
entry (file+olp+datetree "~/archiv/notes/phonecalls.org")
entry (file+olp+datetree ,(concat MY--PATH_ORG_FILES "phonecalls.org"))
"* call [%<%Y-%m-%d %H:%M>] %?" "* call [%<%Y-%m-%d %H:%M>] %?"
:empty-lines 0 :empty-lines 0
:prepare-finalize (org-id-get-create) :prepare-finalize (org-id-get-create)

Loading…
Cancel
Save