From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adam Subject: Capture - add newline after new entry Date: Sun, 08 Jan 2012 16:58:56 +0100 Message-ID: <87k452i428.fsf@earth.home> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:54028) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rjv9K-00043f-1B for emacs-orgmode@gnu.org; Sun, 08 Jan 2012 10:59:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rjv9I-0006uo-M3 for emacs-orgmode@gnu.org; Sun, 08 Jan 2012 10:59:09 -0500 Received: from nm31-vm5.bullet.mail.ne1.yahoo.com ([98.138.229.45]:43081) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1Rjv9I-0006uW-F3 for emacs-orgmode@gnu.org; Sun, 08 Jan 2012 10:59:08 -0500 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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?