[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [OT] Custom remember template
From: |
Nick Dokos |
Subject: |
Re: [O] [OT] Custom remember template |
Date: |
Tue, 10 May 2011 23:08:01 -0400 |
Marcelo de Moraes Serpa <address@hidden> wrote:
> I want a truly custom string to be output by the org-remember
> template, so I thought I could do something like:
>
>
> ("Journal Entry" ?j (concat "* " (mycustomfunc)))
>
> Since "mycustomfunc" and concat both return strings, I thought I
> wouldn't have a problem...
>
> But it fails with:
>
> let*: Wrong type argument: char-or-string-p, (concat "kd" "d")
>
> I'm not yet that good with elisp to debug that. Could someone give a
> hand ? Or it's not possible at all?
>
org-remember is more or less obsolete by now. You should consider using
org-capture instead: it gives you much more flexibility (including the
ability to define a function that returns the template to be used).
Nick