From 7ed354203b28a7c3b2efc87d726f4f2f6ec52be7 Mon Sep 17 00:00:00 2001 From: James Patrick Date: Sat, 18 Feb 2023 16:21:11 -0500 Subject: [PATCH] Added drawers --- emacs/+orgmode.el | 4 ++++ emacs/config.org | 12 ++++++++++++ 2 files changed, 16 insertions(+) diff --git a/emacs/+orgmode.el b/emacs/+orgmode.el index e1f526c..4febe77 100644 --- a/emacs/+orgmode.el +++ b/emacs/+orgmode.el @@ -128,6 +128,10 @@ (add-hook 'post-command-hook 'rasmus/org-prettify-src t t)) (add-hook 'org-mode-hook #'rasmus/org-prettify-symbols)) +(setq org-log-into-drawer t) + +(setq org-clock-into-drawer t) + (setq org-roam-dailies-capture-templates '(("l" "Log" entry "* %T %?" :target (file+head+olp "%<%Y-%m-%d>.org" diff --git a/emacs/config.org b/emacs/config.org index c110047..27786ad 100644 --- a/emacs/config.org +++ b/emacs/config.org @@ -741,6 +741,18 @@ this makes the beginning / ending of both source and quote blocks, & headers for (add-hook 'post-command-hook 'rasmus/org-prettify-src t t)) (add-hook 'org-mode-hook #'rasmus/org-prettify-symbols)) #+end_src +*** Drawers +https://orgmode.org/manual/Drawers.html +**** State Change Log +Logs updates can bleed into the notes. Sticking them in a drawer works as a better escape then indentations. + +#+begin_src emacs-lisp :tangle "+orgmode.el" :noweb no-export :comments no +(setq org-log-into-drawer t) +#+end_src +**** Clock drawers +#+begin_src emacs-lisp :tangle "+orgmode.el" :noweb no-export :comments no +(setq org-clock-into-drawer t) +#+end_src *** Roam I use =org-roam= v2 for most of my note taking. TODO expand this section. **** Dailies Templates