-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Before first heading" error in heading-free files #440
Comments
It is because Simple workaround may be to add Beginning-of-String Like (add-hook 'org-journal-mode-hook
(lambda ()
(setq outline-regexp (rx (or bos (seq (+ "*") " ")))))) |
Is this caused by your customizations, or always a problem? |
It wasn't a problem when I went with a non-blank time prefix:
so I inferred that it has to do with some Org code not behaving as expected when point is before the first heading (a common problem). I'm actually gonna use a homegrown system rather than org-journal, so it's not important to me to fix this, but let me know if you don't get the error with the reproduction steps suggested in OP. I will be surprised (is your value of |
I guess this is expected behavior, in some sense. |
Describe the bug
I get a "Before first heading" error message when I call
org-journal-new-entry
.To Reproduce
Set these settings:
Now do
M-x org-journal-new-entry
.Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: