From: Nick Dokos <nicholas.dokos@hp.com>
To: Marcelo de Moraes Serpa <celoserpa@gmail.com>
Cc: nicholas.dokos@hp.com, Org Mode <emacs-orgmode@gnu.org>
Subject: Re: [OT] Custom remember template
Date: Tue, 10 May 2011 23:08:01 -0400 [thread overview]
Message-ID: <4548.1305083281@alphaville.dokosmarshall.org> (raw)
In-Reply-To: Message from Marcelo de Moraes Serpa <celoserpa@gmail.com> of "Tue, 10 May 2011 20:56:18 CDT." <BANLkTikRLAq8=DYW_51jt=WxtV5JkT6uJg@mail.gmail.com>
Marcelo de Moraes Serpa <celoserpa@gmail.com> 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
next prev parent reply other threads:[~2011-05-11 3:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-11 1:56 [OT] Custom remember template Marcelo de Moraes Serpa
2011-05-11 3:08 ` Nick Dokos [this message]
2011-05-11 3:36 ` Marcelo de Moraes Serpa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4548.1305083281@alphaville.dokosmarshall.org \
--to=nicholas.dokos@hp.com \
--cc=celoserpa@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.