From 878963e67c86d9a20a542f8efd4f1877de31d7e6 Mon Sep 17 00:00:00 2001 From: Raul Benencia Date: Thu, 5 Aug 2021 11:18:54 -0700 Subject: org-roam, org-journal --- .emacs.local.d/modes/org.el | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to '.emacs.local.d/modes/org.el') 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 () -- cgit v1.2.3