From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Org Version 9.2.4 Insert Template at Point Doesn't Respect :empty-lines Property Date: Sat, 06 Jul 2019 16:03:49 +0200 Message-ID: <87a7dr5kfu.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:37537) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hjlIR-0008P2-4p for emacs-orgmode@gnu.org; Sat, 06 Jul 2019 10:04:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hjlIL-0004jO-Tf for emacs-orgmode@gnu.org; Sat, 06 Jul 2019 10:04:08 -0400 Received: from relay11.mail.gandi.net ([217.70.178.231]:36373) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hjlIK-0004ej-Gn for emacs-orgmode@gnu.org; Sat, 06 Jul 2019 10:04:05 -0400 In-Reply-To: (Dominic Surano's message of "Tue, 2 Jul 2019 10:04:44 -0700") 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: Dominic Surano Cc: org mode Hello, Dominic Surano writes: > I recently upgraded to Org-mode version 9.2.4 from 9.1.9 and when I insert > a capture template at point in an org-file using C-0 C-c c or C-0 M-x > org-capture, it appears that properties :empty-lines, :empty-lines-after, > and :empty-lines-before are not respected. In all instances, regardless of > these values, the heading is moved to the lowest possible line before the > next heading. Has anyone else experienced this? I reviewed the Org-mode 9.2 > Changes and nothing obvious popped out. > Is there a variable I'm missing? Is there anything in that changed in > org-capture that would cause this? Can anyone replicated this? > > I tried the following capture-template on both versions: > > (setq org-capture-templates > '(("t" "Todo" entry (file+headline "~/org/gtd.org" "Tasks") > "* TODO %?\n %i\n %a" :empty-lines 2) > ("j" "Journal" entry (file+datetree "~/org/journal.org") > "* %?\nEntered on %U\n %i\n %a"))) > > And received the following: > > * Version 9.1.9 > > ** First Heading > ** TODO New Capture at Point This should be fixed in master. Thank you. Regards, -- Nicolas Goaziou