From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carlos Pita Subject: Re: Newlines in capture templates Date: Wed, 03 Sep 2014 16:24:41 -0300 Message-ID: <87vbp4wlqe.fsf@gmail.com> References: <871trs660d.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54876) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPGAv-0004VF-LE for emacs-orgmode@gnu.org; Wed, 03 Sep 2014 15:25:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XPGAm-0000rE-Ef for emacs-orgmode@gnu.org; Wed, 03 Sep 2014 15:25:01 -0400 Received: from mail-qa0-x230.google.com ([2607:f8b0:400d:c00::230]:41637) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPGAm-0000f9-96 for emacs-orgmode@gnu.org; Wed, 03 Sep 2014 15:24:52 -0400 Received: by mail-qa0-f48.google.com with SMTP id m5so8471337qaj.35 for ; Wed, 03 Sep 2014 12:24:45 -0700 (PDT) Received: from carlos ([181.228.217.164]) by mx.google.com with ESMTPSA id 33sm9427225qgx.2.2014.09.03.12.24.42 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 03 Sep 2014 12:24:43 -0700 (PDT) In-Reply-To: <871trs660d.fsf@gmail.com> (Carlos Pita's message of "Wed, 03 Sep 2014 13:08:50 -0300") 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 Well, I've figured it out myself, it wasn't that hard. Here it is in case someone else comes here looking for an answer in the future: C-h v org-capture-templates: [...] :empty-lines Set this to the number of lines the should be inserted before and after the new item. Default 0, only common other value is 1. :empty-lines-before Set this to the number of lines the should be inserted before the new item. Overrides :empty-lines for the number lines inserted before. :empty-lines-after Set this to the number of lines the should be inserted after the new item. Overrides :empty-lines for the number of lines inserted after. Cheers -- Carlos Carlos Pita writes: > Hi all, > > I would like to separate the items in my capture files by a number of > newlines, as in: > > ** item 1 > > content 1 > > ** item 2 > > content 2 > > ** item 3 > > content 3 > > instead of: > > ** item 1 > > content 1 > ** item 2 > > content 2 > ** item 3 > > content 3 > > But org is removing the heading and trailing \n from my templates. Is > there any way to avoid this, or to command org to automatically include > newlines between captures? > > Thank you in advance > -- > Carlos