From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Maus Subject: Re: org-capture-templates : should symbols work as a file target ? Date: Mon, 05 Jul 2010 22:22:49 +0200 Message-ID: <87630tispy.wl%dmaus@ictsoc.de> References: Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/mixed; boundary="===============1943471372==" Return-path: Received: from [140.186.70.92] (port=45203 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OVsCC-0005uK-4i for emacs-orgmode@gnu.org; Mon, 05 Jul 2010 16:23:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OVsCA-0007t4-Sj for emacs-orgmode@gnu.org; Mon, 05 Jul 2010 16:23:16 -0400 Received: from mysql1.xlhost.de ([213.202.242.106]:33194) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OVsCA-0007sg-O2 for emacs-orgmode@gnu.org; Mon, 05 Jul 2010 16:23:14 -0400 In-Reply-To: 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: Julien Fantin Cc: emacs-orgmode@gnu.org --===============1943471372== Content-Type: multipart/signed; boundary="pgp-sign-Multipart_Mon_Jul__5_22:22:49_2010-1"; micalg=pgp-sha256; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit --pgp-sign-Multipart_Mon_Jul__5_22:22:49_2010-1 Content-Type: text/plain; charset=US-ASCII 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... >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 --pgp-sign-Multipart_Mon_Jul__5_22:22:49_2010-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iF4EABEIAAYFAkwyPxkACgkQma24O1pEeOYNlgD/Y/1z2Jun5tDpDC9/IjGieMgM POYZwsln/rrnIpc30kQBAIvaE73y/Ypq8m1e11FnoKpUJKxCqq9L7WGxca2I50yA =DOWz -----END PGP SIGNATURE----- --pgp-sign-Multipart_Mon_Jul__5_22:22:49_2010-1-- --===============1943471372== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============1943471372==--