From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: [PATCH] Allow more control over inserted whitespace in capture templates Date: Fri, 20 Apr 2012 13:58:55 +0200 Message-ID: <87wr5awr5s.fsf@altern.org> References: <20120213122609.GA5966@c3po> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:60616) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SLCTG-0004vV-Jc for emacs-orgmode@gnu.org; Fri, 20 Apr 2012 07:57:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SLCTB-0006mr-QM for emacs-orgmode@gnu.org; Fri, 20 Apr 2012 07:57:50 -0400 Received: from mail-wg0-f49.google.com ([74.125.82.49]:50471) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SLCTB-0006mg-Hv for emacs-orgmode@gnu.org; Fri, 20 Apr 2012 07:57:45 -0400 Received: by wgbdr1 with SMTP id dr1so7088409wgb.30 for ; Fri, 20 Apr 2012 04:57:43 -0700 (PDT) In-Reply-To: <20120213122609.GA5966@c3po> (Toby Cubitt's message of "Mon, 13 Feb 2012 13:26:09 +0100") 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 Hi Toby, Toby Cubitt writes: > When capturing an item as a subheading, the capture template :empty-lines > property is not sufficient to ensure the correct document layout is > maintained after capturing. > > This patch fixes the capture behaviour to insert new subheadings > immediately after the previous heading (rather than immediately before > the next one). And it adds new :empty-lines-before and :empty-lines-after > capture template properties. (I can split these two changes into > separated patches, if desired.) Applied in master, thanks. -- Bastien