[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Re: [PATCH] org-capture with LISP function template
From: |
Juan |
Subject: |
Re: [Orgmode] Re: [PATCH] org-capture with LISP function template |
Date: |
Mon, 19 Jul 2010 09:26:44 -0300 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
Hi Carsten,
I think the original problem is in the defcustom specification:
org-capture.el L292
(choice :tag "Template"
(string)
(list :tag "File"
(const :format "" file)
(file :tag "Template file"))
(list :tag "Function"
(const :format "" function)
(file :tag "Template function")))
The last line should read 'sexp' instead of 'file'. This is why the
function is being held as a string.
Saludos,
.j.
On Mon, Jul 19, 2010 at 09:05:06AM +0200, Carsten Dominik wrote:
> the function must be a symbol in this setup, not a string.
> I am rejecting this patch.
>
> On Jul 19, 2010, at 3:45 AM, Juan Pechiar wrote:
> >Below is a patch for org-capture when the template is given by a LISP
> >function.
> >
> >Problem was that the function is inside a string (not a LISP form), so
> >the string has to be evaluated explicitly.