emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Capture template --- :empty-lines 1 results in error


From: Bastien
Subject: Re: [O] Capture template --- :empty-lines 1 results in error
Date: Wed, 15 Aug 2012 03:47:33 +0200
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.1.50 (gnu/linux)

Hi Alan,

"Alan E. Davis" <address@hidden> writes:

> 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.  

Can you tell what error?

(setq debug-on-error t)

> 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".

Hard to reproduce... perhaps you can try to bisect and find the 
culprit commit?  Or just rewind a bit and tell what version works
for sure, and what version doesn't?

Thanks in advance,

-- 
 Bastien



reply via email to

[Prev in Thread] Current Thread [Next in Thread]