From mboxrd@z Thu Jan 1 00:00:00 1970 From: Amos Bird Subject: Re: make org-capture honor org-blank-before-new-entry settings Date: Tue, 19 Sep 2017 14:48:32 +0800 Message-ID: <87k20v89q7.fsf@gmail.com> References: <87lglb8a37.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57101) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1duCKk-0001Gd-Qj for emacs-orgmode@gnu.org; Tue, 19 Sep 2017 02:48:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1duCKj-0007fo-46 for emacs-orgmode@gnu.org; Tue, 19 Sep 2017 02:48:38 -0400 Received: from mail-pf0-x229.google.com ([2607:f8b0:400e:c00::229]:50307) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1duCKi-0007fT-Tx for emacs-orgmode@gnu.org; Tue, 19 Sep 2017 02:48:37 -0400 Received: by mail-pf0-x229.google.com with SMTP id m63so1522796pfk.7 for ; Mon, 18 Sep 2017 23:48:36 -0700 (PDT) Received: from localhost ([2604:180:3:28::c542]) by smtp.gmail.com with ESMTPSA id l30sm1806096pgc.78.2017.09.18.23.48.34 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 18 Sep 2017 23:48:34 -0700 (PDT) In-reply-to: <87lglb8a37.fsf@gmail.com> 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" To: Org Mode Mailing List --=-=-= Content-Type: text/plain #+OPTIONS: latex:t toc:nil H:3 Ah, just found these two properties #+BEGIN_EXAMPLE [X] Key: :empty-lines-before 1 [X] Key: :empty-lines-after 1 #+END_EXAMPLE Amos Bird writes: > #+OPTIONS: latex:t toc:nil H:3 > > Hi, > > I'm starting to use org-capture to create todo items. I set up a template like this > > #+BEGIN_SRC elisp > '(org-capture-templates > (quote > (("t" "todo" checkitem > (file+headline "~/org/todo.org" "Work") > "")))) > #+END_SRC > > and it generates new items next to the previous one without any blank line, neither one after it. > > #+BEGIN_EXAMPLE > * Work [0/4] > > - [ ] test1 > > - [ ] test2 > > - [ ] test3 > - [ ] captured > * Life [0/3] > #+END_EXAMPLE > > how can I make it generate like this > > #+BEGIN_EXAMPLE > * Work [0/4] > > - [ ] test1 > > - [ ] test2 > > - [ ] test3 > > - [ ] captured > > * Life [0/3] > #+END_EXAMPLE > > > regards, -- Amos Bird amosbird@gmail.com --=-=-= Content-Type: multipart/related; boundary="==-=-=" --==-=-= Content-Type: text/html

Ah, just found these two properties

[X] Key: :empty-lines-before 1
[X] Key: :empty-lines-after 1

Amos Bird <amosbird@gmail.com> writes:

> #+OPTIONS: latex:t toc:nil H:3
>
> Hi,
>
> I'm starting to use org-capture to create todo items. I set up a template like this
>
> #+BEGINSRC elisp
> '(org-capture-templates
> (quote
> (("t" "todo" checkitem
> (file+headline "~/org/todo.org" "Work")
> ""))))
> #+ENDSRC
>
> and it generates new items next to the previous one without any blank line, neither one after it.
>
> #+BEGINEXAMPLE
> * Work [0/4]
>
> - [ ] test1
>
> - [ ] test2
>
> - [ ] test3
> - [ ] captured
> * Life [0/3]
> #+ENDEXAMPLE
>
> how can I make it generate like this
>
> #+BEGINEXAMPLE
> * Work [0/4]
>
> - [ ] test1
>
> - [ ] test2
>
> - [ ] test3
>
> - [ ] captured
>
> * Life [0/3]
> #+ENDEXAMPLE
>
>
> regards,


Amos Bird
amosbird@gmail.com

--==-=-=-- --=-=-=--