emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Glauber Alex Dias Prado <smade4@gmail.com>
To: David Maus <dmaus@ictsoc.de>
Cc: emacs-orgmode@gnu.org, Julien Fantin <julien.fantin@gmail.com>
Subject: Re: org-capture-templates : should symbols work as a file	target ?
Date: Thu, 08 Jul 2010 22:17:39 -0300	[thread overview]
Message-ID: <87r5jdo3m4.fsf@gmail.com> (raw)
In-Reply-To: <87630tispy.wl%dmaus@ictsoc.de> (David Maus's message of "Mon, 05 Jul 2010 22:22:49 +0200")

David Maus <dmaus@ictsoc.de> 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

      reply	other threads:[~2010-07-09  1:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-05 20:11 org-capture-templates : should symbols work as a file target ? Julien Fantin
2010-07-05 20:22 ` David Maus
2010-07-09  1:17   ` Glauber Alex Dias Prado [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=87r5jdo3m4.fsf@gmail.com \
    --to=smade4@gmail.com \
    --cc=dmaus@ictsoc.de \
    --cc=emacs-orgmode@gnu.org \
    --cc=julien.fantin@gmail.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).