From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo de Moraes Serpa Subject: Re: [OT] Custom remember template Date: Tue, 10 May 2011 22:36:57 -0500 Message-ID: References: <4548.1305083281@alphaville.dokosmarshall.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:48546) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QK0EO-0001CC-4l for emacs-orgmode@gnu.org; Tue, 10 May 2011 23:37:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QK0EN-0002CP-D3 for emacs-orgmode@gnu.org; Tue, 10 May 2011 23:37:00 -0400 Received: from mail-bw0-f41.google.com ([209.85.214.41]:36671) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QK0EN-0002CL-61 for emacs-orgmode@gnu.org; Tue, 10 May 2011 23:36:59 -0400 Received: by bwz17 with SMTP id 17so115622bwz.0 for ; Tue, 10 May 2011 20:36:58 -0700 (PDT) In-Reply-To: <4548.1305083281@alphaville.dokosmarshall.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: nicholas.dokos@hp.com Cc: Org Mode Hi Nick, Nice to know that! I'll try org-catpure. Thanks, Marcelo. On Tue, May 10, 2011 at 10:08 PM, Nick Dokos wrote: > Marcelo de Moraes Serpa wrote: > > >> I want a truly custom string to be output by the org-remember >> template, so I thought I could do something like: >> >> >> =A0 =A0 =A0("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. =A0You should consider usin= g > org-capture instead: it gives you much more flexibility (including the > ability to define a function that returns the template to be used). > > Nick > >