emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Marcelo de Moraes Serpa <celoserpa@gmail.com>
To: nicholas.dokos@hp.com
Cc: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: [OT] Custom remember template
Date: Tue, 10 May 2011 22:36:57 -0500	[thread overview]
Message-ID: <BANLkTiknncEBFRLgif_7kvu3y8Px8Z5Xkg@mail.gmail.com> (raw)
In-Reply-To: <4548.1305083281@alphaville.dokosmarshall.org>

Hi Nick,

Nice to know that! I'll try org-catpure.

Thanks,

Marcelo.

On Tue, May 10, 2011 at 10:08 PM, Nick Dokos <nicholas.dokos@hp.com> wrote:
> 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
>
>

      reply	other threads:[~2011-05-11  3:37 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
2011-05-11  3:36   ` Marcelo de Moraes Serpa [this message]

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BANLkTiknncEBFRLgif_7kvu3y8Px8Z5Xkg@mail.gmail.com \
    --to=celoserpa@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=nicholas.dokos@hp.com \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).