From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug: org-capture inserts empty line before title Date: Sun, 11 Mar 2018 19:22:59 +0100 Message-ID: <87fu564gl8.fsf@nicolasgoaziou.fr> References: <87r2p0g4xv.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44615) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ev5ci-0003I8-OE for emacs-orgmode@gnu.org; Sun, 11 Mar 2018 14:23:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ev5ce-0005Zq-N3 for emacs-orgmode@gnu.org; Sun, 11 Mar 2018 14:23:08 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:53676) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ev5ce-0005Yi-G0 for emacs-orgmode@gnu.org; Sun, 11 Mar 2018 14:23:04 -0400 In-Reply-To: (Luke's message of "Sun, 4 Mar 2018 08:13:09 +0800") 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: Luke Cc: emacs-orgmode@gnu.org Hello, Luke writes: > I've set up a minimal-org.el file with the following contents: > > =C2=A0=C2=A0=C2=A0 ;; Minimal setup to load latest 'org-mode' > > =C2=A0=C2=A0=C2=A0 ;; activate debugging > =C2=A0=C2=A0=C2=A0 (setq debug-on-error t > =C2=A0=C2=A0=C2=A0 =C2=A0 =C2=A0 =C2=A0 debug-on-signal nil > =C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0 =C2=A0=C2=A0 debug-on-quit t) > > =C2=A0=C2=A0=C2=A0 ;; add latest org-mode to load path > =C2=A0=C2=A0=C2=A0 (add-to-list 'load-path (expand-file-name "~/elisp/org= -mode/lisp")) > =C2=A0=C2=A0=C2=A0 (add-to-list 'load-path (expand-file-name > "~/elisp/org-mode/contrib/lisp" t)) > > Then I've run emacs with `emacs -Q -l minimal-org.el`. So I'm just > running the with org-mode default capture template, which (taken from > org-capture.el) would be: > > =C2=A0=C2=A0=C2=A0 ("t" "Task" entry (file+headline "" "Tasks") > =C2=A0=C2=A0=C2=A0=C2=A0 "* TODO %?\n=C2=A0 %u\n=C2=A0 %a") Fixed. Thank you. Regards, --=20 Nicolas Goaziou