From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Alan E. Davis" Subject: Capture template --- :empty-lines 1 results in error Date: Tue, 14 Aug 2012 14:30:54 -0700 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=e89a8f234ec1a7b12104c7408752 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:54692) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T1Oht-0004aQ-NS for emacs-orgmode@gnu.org; Tue, 14 Aug 2012 17:31:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T1Ohr-0001HD-K2 for emacs-orgmode@gnu.org; Tue, 14 Aug 2012 17:31:21 -0400 Received: from mail-qa0-f41.google.com ([209.85.216.41]:60872) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T1Oho-0001Gu-3r for emacs-orgmode@gnu.org; Tue, 14 Aug 2012 17:31:19 -0400 Received: by qafk30 with SMTP id k30so4295787qaf.0 for ; Tue, 14 Aug 2012 14:31:15 -0700 (PDT) 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: org-mode --e89a8f234ec1a7b12104c7408752 Content-Type: text/plain; charset=ISO-8859-1 This may be a bug? I have this template in my list of templates, to open the file with my templates, so I could edit it: ("i" "Edit ~/org/capture-templates.2.el" plain (file "~/org/capture-templates.2.el") "" :empty-lines 1 :unnarrowed t) I started to get an error when running this template, and a few others. This started somewhat recently, but I don't know exactly when. When I removed the ":empty-lines 1" part, the template worked fine. ("i" "Edit ~/org/capture-templates.2.el" plain (file "~/org/capture-templates.2.el") " " :unnarrowed t) I am pretty sure that this is not only from the "empty-lines 1 part. Another template with this option does work ok, but has ":prepend t". Alan Davis --e89a8f234ec1a7b12104c7408752 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable This may be a bug?

I have this template in my list of templates, to = open the file with my templates, so I could edit it:

=A0=A0=A0=A0=A0= =A0 ("i" "Edit ~/org/capture-templates.2.el" plain (fil= e "~/org/capture-templates.2.el") "" :empty-lines 1 :un= narrowed t)

I started to get an error when running this template, and a few others.= =A0 This started somewhat recently, but I don't know exactly when.=A0 <= br>
=A0=A0=A0 When I removed the ":empty-lines 1" part, the te= mplate worked fine.=A0=A0

=A0=A0=A0=A0=A0=A0=A0 ("i" "Edit ~/org/capture-templates= .2.el" plain (file "~/org/capture-templates.2.el") " &q= uot;=A0 :unnarrowed t)

I am pretty sure that this is not only from = the "empty-lines 1 part.=A0=A0 Another template with this option does = work ok, but has ":prepend t".

Alan Davis

--e89a8f234ec1a7b12104c7408752--