emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] org-capture-templates : should symbols work as a file targ


From: David Maus
Subject: Re: [Orgmode] org-capture-templates : should symbols work as a file target ?
Date: Mon, 05 Jul 2010 22:22:49 +0200
User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.8 Emacs/23.2 (i486-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

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.... address@hidden
Email..... address@hidden

Attachment: pgpZFstEJK_as.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]