From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Louis Chan <louisch@hacari.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug: `org-capture-templates' file+headline target does not accept string variable [8.2.10 (8.2.10-elpa @ c:/Users/louis/AppData/Roaming/.emacs.d/elpa/org-20141013/)]
Date: Tue, 14 Oct 2014 22:37:55 +0200 [thread overview]
Message-ID: <87vbnm4cbg.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <543D7129.40801@hacari.com> (Louis Chan's message of "Tue, 14 Oct 2014 19:53:29 +0100")
Hello,
Louis Chan <louisch@hacari.com> writes:
> Having a template inside `org-capture-templates`, which uses the
> file+headline target, with a string variable as its third argument (the
> node headline), makes the command `org-capture` fail (specifically, when
> selecting this particular template that uses this target).
> The heading I have chosen, "Tasks", does exist within the file selected
> within the template. When I use a variable that contains the string
> "Tasks", the command fails. However, when I use the literal string
> "Tasks" instead, the command succeeds and works fine.
Nothing, in the manual or in `org-capture-templates' docstring, pretends
that variables are supported there. You are expected to provide
a string. I don't see any bug here.
Regards,
--
Nicolas Goaziou
prev parent reply other threads:[~2014-10-14 20:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-14 18:53 Bug: `org-capture-templates' file+headline target does not accept string variable [8.2.10 (8.2.10-elpa @ c:/Users/louis/AppData/Roaming/.emacs.d/elpa/org-20141013/)] Louis Chan
2014-10-14 20:37 ` Nicolas Goaziou [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=87vbnm4cbg.fsf@nicolasgoaziou.fr \
--to=mail@nicolasgoaziou.fr \
--cc=emacs-orgmode@gnu.org \
--cc=louisch@hacari.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).