Hi David, On Sun, 09 Jan 2011 15:31:10 +0100 David Maus <dm...@ictsoc.de> wrote:
> At Tue, 28 Dec 2010 00:50:00 -0800, > Suvayu Ali wrote: > > > > 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) > > )) > > > > 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. ... > I can confirm that :emtpy-lines 1 seems to have no effect in a > datetree capture template. I filed two with the template > > ,---- > | (setq org-capture-templates > | '(("X" "FOO" entry (file+datetree "/tmp/org/datetree.org" > "Place table here" "" :empty-lines 1)))) `---- > > And ended up with: ... > Using > > Org-mode version 7.4 (release_7.4.135.g84087) > > GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0) > of 2010-12-11 on raven, modified by Debian > Thanks a lot for confirming this, its reassuring to know it wasn't a fault on my part. :) Emacs and org-mode version: Org-mode version 7.4 (release_7.4.135.g84087.dirty) GNU Emacs 24.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.20.1) of 2011-01-06 > Best, > -- David -- Suvayu Open source is the future. It sets us free. _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode