Closed DominikMendel closed 3 years ago
I figured it out. Sorry about that.
(add-hook 'org-journal-after-header-create-hook 'org-create-new-id-journal) (defun org-create-new-id-journal () (goto-char (point-min)) (org-id-get-create) (goto-char (point-max)))
Describe the bug When I create a new journal file with a daily format inside org-roam directory it doesn't create a properties ID. I know I can add hooks to either "org-journal-after-(header/entry)-create -hook", but I am unsure how to properly use "org-id-get-create" in these hooks. Any help would be much appreciated.
This happens on both daily and weekly set ups.
To Reproduce Steps to reproduce the behavior: Run New Entry in a roam directory.
Expected behavior A clear and concise description of what you expected to happen. The new org file should be created and created with an org-id property.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Your Emacs Configuration The part relevant to org-journal.