From f1c10cd377fbcab33db16c4ccf964354863a2238 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sat, 24 Aug 2019 11:37:10 -0700 Subject: [org] set default file for inbox small change to the capture template --- emacs.d/custom/fcuny-org.el | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/emacs.d/custom/fcuny-org.el b/emacs.d/custom/fcuny-org.el index 4a14663..385394b 100644 --- a/emacs.d/custom/fcuny-org.el +++ b/emacs.d/custom/fcuny-org.el @@ -35,7 +35,8 @@ (org-startup-indented t) (org-directory (expand-file-name "~/Documents/notebooks")) - (org-default-notes-file (concat org-directory "/inbox.org")) + (org-default-inbox-file (concat org-directory "/gtd.org")) + (org-default-notes-file (concat org-directory "/gtd.org")) (org-agenda-start-on-weekday 1) (org-tags-column -120) @@ -130,13 +131,9 @@ (file ,(concat fcuny/path-emacs-etc "/interview.org")) :tree-type week) - ;; refile! - ("t" "Todo" entry - (file+headline ,(concat org-directory "/inbox.org") "Task") - "* TODO [#4] %? %^G\n:PROPERTIES:\n:Created: %U\n:END:") - ("i" "Inbox, refile later" entry - (file+headline ,(concat org-directory "/inbox.org") "Review") - "* %?\n:PROPERTIES:\n:Created: %U\n:END:")))) + ("t" "task entry" entry + (file ,org-default-inbox-file + "* TODO [#4] %? %^G\n:PROPERTIES:\n:CREATED: %U\n:END:\n\n%i\n\nfrom: %a")))) (use-package htmlize :ensure t) -- cgit 1.4.1