From mboxrd@z Thu Jan 1 00:00:00 1970 From: Glauber Alex Dias Prado Subject: Re: org-capture-templates : should symbols work as a file target ? Date: Thu, 08 Jul 2010 22:17:39 -0300 Message-ID: <87r5jdo3m4.fsf@gmail.com> References: <87630tispy.wl%dmaus@ictsoc.de> Reply-To: smade4@gmail.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=33950 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OX29c-0001a1-J2 for emacs-orgmode@gnu.org; Thu, 08 Jul 2010 21:13:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OX29b-0002bo-IM for emacs-orgmode@gnu.org; Thu, 08 Jul 2010 21:13:24 -0400 Received: from mail-gw0-f41.google.com ([74.125.83.41]:57813) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OX29b-0002bk-FS for emacs-orgmode@gnu.org; Thu, 08 Jul 2010 21:13:23 -0400 Received: by gwb1 with SMTP id 1so1083682gwb.0 for ; Thu, 08 Jul 2010 18:13:22 -0700 (PDT) In-Reply-To: <87630tispy.wl%dmaus@ictsoc.de> (David Maus's message of "Mon, 05 Jul 2010 22:22:49 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: David Maus Cc: emacs-orgmode@gnu.org, Julien Fantin David Maus writes: > Julien Fantin wrote: >>Hi folks, > >>I'v been trying to setup an org-capture template using a symbol as the file >>target, but this raises an error. >>Someone on IRC mentionned this is probably a bug, but I'm not experienced >>enough to be sure I'm not simply misusing it... my apologies it was me, and im also not that experienced, nice that you answered his question. > > >>Here is the bit of config in question: > > >>** Templates >>#+BEGIN_SRC emacs-lisp >>(setq org-capture-templates >> `( >> ("t" "Task" entry >> (file+headline organizer "Tasks") >> "* TODO %?\n%U") > >> ("j" "Journal" entry >> (file+datetree "~/org/journal.org") >> "* %?\nEntered on %U\n %i\n %a") >> )) >>#+END_SRC > > You already backquote the template list so you've just to but the > special marker , (comma) in front of organizer and it gets evaluated. > > HTH > -- David > -- > OpenPGP... 0x99ADB83B5A4478E6 > Jabber.... dmjena@jabber.org > Email..... dmaus@ictsoc.de > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode