Hi,
I am using date trees with org-capture with the =:empty-lines n= directive.
The list item of =org-capture-templates= looks similar to this one:
#+BEGIN_EXAMPLE
(list "j" "Journal" 'entry
(list 'file+olp+datetree journal-file)
"* %^{Entry}\n%?\n"
:empty-lines 1)
#+END_EXAMPLE
Now, whenever a new day is inserted, for instance today,
: *** 2018-04-06 Friday
There is no empty line before that line but between this line and the actual
headline of the captured entry. So the complete captured entry looks like this:
: Some text in the file that was already present before the Org capture process.
: Bla.
: *** 2018-04-06 Friday
:
: **** TODO The newly captured entry
: Some text.
However, I think it should rather look like this:
: Some text in the file that was already present before the Org capture process.
: Bla.
:
: *** 2018-04-06 Friday
: (OPTIONAL EMPTY LINE HERE)
: **** TODO The newly captured entry
: Some text.
Only, if I enter another entry, the line should be left empty, like
: Some text in the file that was already present before the Org capture process.
: Bla.
:
: *** 2018-04-06 Friday
: (OPTIONAL EMPTY LINE HERE)
: **** TODO The newly captured entry
: Some text.
: (MANDATORY EMPTY LINE HERE)
: **** TODO The new newly captured entry
: Bla bla bla.
Please let me know what you think.
Dominik