I've installed the latest org-journal from ELPA, via package-install. When I create a new entry (C-c C-j), it correctly derives the name of the file from the date and opens the new file in the designated directory. However, rather than putting the buffer in org-journal-mode, it puts it in Fundamental instead.
This appears to be due to the following line in org-journal.el either not getting evaluated, or magic-mode-alist being nullified somewhere else:
I find that if I visit the org-journal.el file in a buffer and eval-last-sexp on that line, creating a journal entry will start using the correct buffer mode.
Describe the Bug
I've installed the latest
org-journal
from ELPA, viapackage-install
. When I create a new entry (C-c C-j
), it correctly derives the name of the file from the date and opens the new file in the designated directory. However, rather than putting the buffer inorg-journal-mode
, it puts it inFundamental
instead.This appears to be due to the following line in
org-journal.el
either not getting evaluated, ormagic-mode-alist
being nullified somewhere else:Either way, when I examine
magic-mode-alist
within emacs it is nil.Desktop Configuration
This is Emacs 27.1 on Ubuntu Linux 22.04.1.
Emacs Configuration
Relevant configuration: