Closed Alexander-Miller closed 3 years ago
Describe the bug When org-journal-file-header is set to a value containing newlines only the first line stays at the top of the file, the rest becomes mixed up with the first entry.
org-journal-file-header
To Reproduce
Configure org-journal like this:
(setf org-journal-file-type 'weekly org-journal-file-header "#+TITLE: Log %Y-%m-%d\n#+STARTUP: showall" org-journal-date-prefix "\n* ")
Call org-journal-new-entry.
org-journal-new-entry
The content of the journal buffer looks like this, the #+STARTUP header is inside the first entry:
#+STARTUP
#+TITLE: Log 2021-08-07 * Samstag, 07.08.2021 :PROPERTIES: :CREATED: 20210807 :END: #+STARTUP: showall ** 14:46
Expected behavior The header properties should all be at the top:
#+TITLE: Log 2021-08-07 #+STARTUP: showall * Samstag, 07.08.2021 :PROPERTIES: :CREATED: 20210807 :END: ** 14:46
Desktop (please complete the following information):
Describe the bug When
org-journal-file-header
is set to a value containing newlines only the first line stays at the top of the file, the rest becomes mixed up with the first entry.To Reproduce
Configure org-journal like this:
Call
org-journal-new-entry
.The content of the journal buffer looks like this, the
#+STARTUP
header is inside the first entry:Expected behavior The header properties should all be at the top:
Desktop (please complete the following information):