Re: [Orgmode] Re: [PATCH] org-capture with LISP function template

2010-07-19 Thread Carsten Dominik
On Jul 19, 2010, at 2:26 PM, Juan wrote: 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)

Re: [Orgmode] Re: [PATCH] org-capture with LISP function template

2010-07-19 Thread Juan
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"

[Orgmode] Re: [PATCH] org-capture with LISP function template

2010-07-19 Thread Carsten Dominik
Hi Juan, the function must be a symbol in this setup, not a string. I am rejecting this patch. Cheers. - Carsten On Jul 19, 2010, at 3:45 AM, Juan Pechiar wrote: Hi Carsten + crowd, Below is a patch for org-capture when the template is given by a LISP function. Problem was that the functio