From mboxrd@z Thu Jan 1 00:00:00 1970 From: Suvayu Ali Subject: empty lines in datetree capture templates Date: Tue, 28 Dec 2010 00:50:00 -0800 Message-ID: <20101228005000.1ce74e0f@bhishma.homelinux.net> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=33991 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PXVH3-0007G2-0x for emacs-orgmode@gnu.org; Tue, 28 Dec 2010 03:51:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PXVH1-0001tb-VU for emacs-orgmode@gnu.org; Tue, 28 Dec 2010 03:51:16 -0500 Received: from mail-gw0-f41.google.com ([74.125.83.41]:62329) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PXVH1-0001tI-Ry for emacs-orgmode@gnu.org; Tue, 28 Dec 2010 03:51:15 -0500 Received: by gwj22 with SMTP id 22so4791903gwj.0 for ; Tue, 28 Dec 2010 00:51:14 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-org Hi everyone, I am having some problems with a capture template for datetrees. (setq org-capture-templates '(("m" "Select meeting templates") ("ms" "Schedule a meeting" entry (file+headline "~/org/meetings.org" "Meetings") "** %? %^t%^{CATEGORY}p\n" :empty-lines 1) ("mm" "Meeting minutes w/ clock" entry (file+datetree "~/org/meetings.org") "**** %^{prompt} %U%^{CATEGORY}p\n\n %?" :prepend t :clock-in :empty-lines 1 :immediate-finish) )) I prefer to have empty lines between two headlines and headlines and text. When I use the above "Meeting minutes w/ clock" template, the new entry to the date tree is inserted as below despite the ":empty-lines 1" argument. If I try to end the older entry with a blank line, the empty like is removed and the new entry is placed like this again. Any one knows what I am doing wrong? Thank you in advance, e.g. entry from above template * 2010 ** 2010-12 December *** 2010-12-16 Thursday **** Some meeting [2010-12-16 Thu] :tag1: :PROPERTIES: :CATEGORY: bla :END: 1. some notes 2. and pointers <-- I am expecting an empty line here --> *** 2010-12-28 Tuesday <-- and preferably here too --> **** Some new meeting [2010-12-28 Tue 00:34] :LOGBOOK: CLOCK: [2010-12-28 Tue 00:34]--[2010-12-28 Tue 00:35] => 0:01 :END: :PROPERTIES: :CATEGORY: test :END: + some pointers + some thoughts -- Suvayu Open source is the future. It sets us free.