[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Capture - add newline after new entry
From: |
Carsten Dominik |
Subject: |
Re: [O] Capture - add newline after new entry |
Date: |
Mon, 9 Jan 2012 07:53:11 +0100 |
On 8.1.2012, at 16:58, Adam wrote:
> I have a notes file which has a newline preceeding every entry.
>
> * A
> test
>
> * B
> test2
>
> ** B2
> test3
>
> Now I want to add other entries to my tree via org-capture. This is an
> extract of my org-capture-templates
>
> org-capture-templates
> `(("t" "test"
> entry (file+headline (concat org-directory "/notes.org") "B2")
> "* %? %^t\n%i\n"
> :kill-buffer))
>
> Unfortunately the final newline is honoured. It is in the capture
> buffer, but after I press C-c C-c, it is magically removed.
>
> Is this a bug? How can I capture new items while preserving my outline
> structure?
By reading the manual? Search for the :empty-lines property
in capture template setup.
- Carsten