From 197b132429560e3410280b7ac8e31dca44ab4c66 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Sat, 11 Apr 2020 23:32:19 +0200 Subject: [PATCH] Better journal setup --- config.org | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/config.org b/config.org index a0d6969..26f8d29 100644 --- a/config.org +++ b/config.org @@ -210,7 +210,14 @@ For [[https://github.com/bastibe/org-journal][org-journal]] I want weekly entrie #+BEGIN_SRC emacs-lisp (after! org-journal - (setq org-journal-file-type 'weekly)) + (setq org-journal-date-format "%A (%d/%m/%Y)") + (setq org-journal-file-type 'weekly) + (setq org-journal-file-format "%Y-%m-%d.org") + + ;; see `org-journal-dir-and-format->regex' documentation + (setq org-journal-file-pattern (org-journal-dir-and-format->regex + org-journal-dir org-journal-file-format)) + (add-to-list 'auto-mode-alist (cons org-journal-file-pattern 'org-journal-mode))) #+END_SRC ** Doom specific