[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] Org-capture, empty lines and date tree
From: |
Dominik Schrempf |
Subject: |
[O] Org-capture, empty lines and date tree |
Date: |
Fri, 06 Apr 2018 14:40:02 +0200 |
User-agent: |
mu4e 1.0; emacs 25.3.1 |
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [O] Org-capture, empty lines and date tree,
Dominik Schrempf <=