Marcelo de Moraes Serpa <[email protected]> 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