From c2ceb3ab222d041a1b729dc7e0935afe49b6e3f5 Mon Sep 17 00:00:00 2001 From: James Patrick Date: Sun, 5 Feb 2023 20:21:41 -0500 Subject: [PATCH] Attempted fix for better structured Daily Template --- emacs/+orgmode.el | 10 +++++----- emacs/config.org | 13 ++++++------- 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/emacs/+orgmode.el b/emacs/+orgmode.el index 8438c87..e1f526c 100644 --- a/emacs/+orgmode.el +++ b/emacs/+orgmode.el @@ -129,13 +129,13 @@ (add-hook 'org-mode-hook #'rasmus/org-prettify-symbols)) (setq org-roam-dailies-capture-templates - '(("l" "Log" entry "* %T %?" + '(("l" "Log" entry "* %T %?" :target (file+head+olp "%<%Y-%m-%d>.org" - "#+title: %<%Y-%m-%d>\n#+filetags: %<:%Y:%B:>\n" - ("Log"))) - ("g" "Goal" entry "* TODO %? :mit:" + "#+title: %<%Y-%m-%d>\n#+filetags: %<:%Y:%B:daily:>\n\n* Goals\n* Logs" + ("Logs"))) + ("g" "Goal" entry "* TODO %?" :target (file+head+olp "%<%Y-%m-%d>.org" - "#+title: %<%Y-%m-%d>\n#+filetags: %<:%Y:%B:>\n" + "#+title: %<%Y-%m-%d>\n#+filetags: %<:%Y:%B::daily>\n\n* Goals\n* Logs" ("Goals"))))) (defun org-babel-execute:diff (body params) diff --git a/emacs/config.org b/emacs/config.org index 1a84a6d..355f450 100644 --- a/emacs/config.org +++ b/emacs/config.org @@ -739,19 +739,18 @@ this makes the beginning / ending of both source and quote blocks, & headers for *** Roam I use =org-roam= v2 for most of my note taking. TODO expand this section. **** Dailies Templates -#+begin_src emacs-lisp :tangle "+orgmode.el" :noweb no-export :comments no +#+begin_src emacs-lisp :tangle "+orgmode.el" :noweb no-export :comments no :results output silent (setq org-roam-dailies-capture-templates - '(("l" "Log" entry "* %T %?" + '(("l" "Log" entry "* %T %?" :target (file+head+olp "%<%Y-%m-%d>.org" - "#+title: %<%Y-%m-%d>\n#+filetags: %<:%Y:%B:>\n" - ("Log"))) - ("g" "Goal" entry "* TODO %? :mit:" + "#+title: %<%Y-%m-%d>\n#+filetags: %<:%Y:%B:daily:>\n\n* Goals\n* Logs" + ("Logs"))) + ("g" "Goal" entry "* TODO %?" :target (file+head+olp "%<%Y-%m-%d>.org" - "#+title: %<%Y-%m-%d>\n#+filetags: %<:%Y:%B:>\n" + "#+title: %<%Y-%m-%d>\n#+filetags: %<:%Y:%B::daily>\n\n* Goals\n* Logs" ("Goals"))))) #+end_src -We'll **** Keybinds These were declared in [[id:f9ffe9df-a417-45c4-8bf2-6ee655140648][Roam Keybinds]] section above. See there for more details.