My Journal was for a while built on top of org-journal, but I am finding it hard to work with these days, and I think returning to a 'vanilla' org-mode capture setup like my Practice Captures:
'org-capture
(with-eval-after-load 'org-capture-templates
(add-to-list
(cce-def-dynamic-org-capture"jj" "Journal Entry"
:name "journal"
"~/org/journal/daily/daily_%GW%V.org"
:capture-path-tmpl "~/org/cce/captures/journal-capture.org"))
:template-path
defun cce/open-journal (&optional goto)
("P")
(interactive if goto
(
(org-capture-goto-last-stored)"jj")))
(org-capture goto "j" #'cce/open-journal))
(evil-leader/set-key
provide 'cce/journal) (
* %U %?
Setting this up was a bit of a pain. org-capture-templates
can do a lot of
dynamic templating, but it's not quite enough – I want to have the date
encoded in the file name, I specifically want each week to be stored in
its own file. So I have this function cce/update-journal-capture
which removes the old
capture template, and generates a new one, re-running at 03:00 each
morning. I'll have to turn this in to a miniature library for my other
Practice Captures.
I think having them stored inside the daily files for the most part is a
smart thing, except for things which I need to review over longer
periods of time.
DONE org-protocol to capture things from browser in to journal
things not important enough to go in the archive on their own pages but still deserve an ID and a spot to be remembered.