diff options
Diffstat (limited to '.emacs.local.d/modes/org.el')
-rw-r--r-- | .emacs.local.d/modes/org.el | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/.emacs.local.d/modes/org.el b/.emacs.local.d/modes/org.el index 809e288..e0e2e83 100644 --- a/.emacs.local.d/modes/org.el +++ b/.emacs.local.d/modes/org.el @@ -56,26 +56,26 @@ (setq org-log-reschedule (quote time)) ;; CAPTURE ;; -(setq org-default-notes-file org-refile-path) +(setq org-default-notes-file my-org-refile-path) ;; I use C-c c to start capture mode (global-set-key (kbd "C-c c") 'org-capture) ;; Capture templates for: TODO tasks, Notes, appointments, phone calls, meetings, and org-protocol (setq org-capture-templates - (quote (("t" "todo" entry (file org-refile-path) + (quote (("t" "todo" entry (file my-org-refile-path) "* TODO %?\n%U\n%a\n" :clock-in t :clock-resume t) - ("r" "respond" entry (file org-refile-path) + ("r" "respond" entry (file my-org-refile-path) "* NEXT Respond to %:from on %:subject\nSCHEDULED: %t\n%U\n%a\n" :clock-in t :clock-resume t :immediate-finish t) - ("n" "note" entry (file org-refile-path) + ("n" "note" entry (file my-org-refile-path) "* %? :NOTE:\n%U\n%a\n" :clock-in t :clock-resume t) - ("w" "org-protocol" entry (file org-refile-path) + ("w" "org-protocol" entry (file my-org-refile-path) "* TODO Review %c\n%U\n" :immediate-finish t) - ("m" "Meeting" entry (file org-refile-path) + ("m" "Meeting" entry (file my-org-refile-path) "* MEETING with %? :MEETING:\n%U" :clock-in t :clock-resume t) - ("p" "Phone call" entry (file org-refile-path) + ("p" "Phone call" entry (file my-org-refile-path) "* PHONE %? :PHONE:\n%U" :clock-in t :clock-resume t) - ("h" "Habit" entry (file org-refile-path) + ("h" "Habit" entry (file my-org-refile-path) "* NEXT %?\n%U\n%a\nSCHEDULED: %(format-time-string \"%<<%Y-%m-%d %a .+1d/3d>>\")\n:PROPERTIES:\n:STYLE: habit\n:REPEAT_TO_STATE: NEXT\n:END:\n")))) (add-hook 'org-capture-mode-hook 'delete-other-windows) @@ -98,7 +98,7 @@ ; Targets include this file and any file contributing to the agenda - up to 9 levels deep (setq org-refile-targets (quote ((nil :maxlevel . 9) - (org-agenda-files :maxlevel . 9)))) + (my-org-agenda-files :maxlevel . 9)))) ; Exclude DONE state tasks from refile targets (defun bh/verify-refile-target () |