From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: superflous blank line in capture Date: Tue, 23 May 2017 18:18:02 +0200 Message-ID: <87a863eedh.fsf@nicolasgoaziou.fr> References: <177e45f3-3e8d-16e2-58f6-ce27b248ab63@stndrf.de> <87lgq3ykwh.fsf@jaydresser.us> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56724) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dDCVg-0007Oq-Q9 for emacs-orgmode@gnu.org; Tue, 23 May 2017 12:18:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dDCVb-0006N2-MY for emacs-orgmode@gnu.org; Tue, 23 May 2017 12:18:12 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:46684) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dDCVb-0006Mm-Fu for emacs-orgmode@gnu.org; Tue, 23 May 2017 12:18:07 -0400 In-Reply-To: <87lgq3ykwh.fsf@jaydresser.us> (Jay Dresser's message of "Wed, 10 May 2017 23:20:30 -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: Jay Dresser Cc: emacs-orgmode@gnu.org Hello, Jay Dresser writes: > A little bug in capture I think. > > I am using this template: > > ("a" "Add Nag" entry (file+headline "~/Org/jay.org" "Nags") "* %?\nSCHEDULED: %T\nDEADLINE: %T\n:PROPERTIES:\n:CATEGORY: Urgent\n:APPT_WARNTIME: 10m\n:END:" :prepend t) > > This behaves correctly. If I am near the destination before I invoke, I > can see that it inserts as shown but with a blank line after the ":END:" > line. After I finish with C-c C-c, that blank line goes away. > > However when I use this template: > > ("a" "Add Nag" entry (file+headline "~/Org/jay.org" "Nags") "* %?\nSCHEDULED: %T\nDEADLINE: %T\n:PROPERTIES:\n:CATEGORY: Urgent\n:APPT_WARNTIME: 10m\n:END:" :prepend t :unnarrowed t) > > It also inserts the blank line, but when I finish with C-c C-c the blank > line remains. I assume that the behavior should not be different in this > way just because of the narrowing. It should be fixed in maint branch. Could you confirm it? Regards, -- Nicolas Goaziou