emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Capture - add newline after new entry


From: Adam
Subject: [O] Capture - add newline after new entry
Date: Sun, 08 Jan 2012 16:58:56 +0100

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?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]