org-journal
org-journal copied to clipboard
Org-mode 9.7.x and warning: ‘org-element-at-point’ cannot be used in non-Org buffer
Describe the bug This feels like something that may not be org-journal specific, so apologies if this is misplaced, but...
The first time (and only the first time) I call org-journal-new-entry
or org-journal-search
, emacs generates nearly 3,000 warnings like this:
Warning (org-element): ‘org-element-at-point’ cannot be used in non-Org buffer #<buffer 2016-12.org> (fundamental-mode)
This does not happen when using Org 9.6x with the same config. Tested also with a barebones (emacs -q) config.
To Reproduce
When running Org-mode version 9.7.x, call org-journal-new-entry
Expected behavior No such warnings should appear
Desktop (please complete the following information):
- OS: [e.g. iOS] macOS 15 (beta 4) but this also happened using 14.x
- Emacs Version 29.4
- Org version 9.7.11
Your Emacs Configuration
(use-package org-journal
:ensure t
:defer t
:bind
("C-c o j" . org-journal-new-entry)
:config
(setq org-journal-dir "~/Documents/Notes/OrgJournal"
org-journal-file-type 'monthly
org-journal-file-format "%Y-%m.org"
org-journal-find-file #'find-file
org-journal-time-prefix ""
org-journal-time-format ""
org-journal-enable-agenda-integration nil
org-journal-enable-encryption nil
org-journal-date-format "%A, %B %d %Y"))