From: Rainer M Krug <Rainer@krugs.de>
To: emacs-orgmode@gnu.org
Subject: Re: Capture templates - using result from %^g twice?
Date: Fri, 18 Nov 2016 17:18:28 +0100 [thread overview]
Message-ID: <m2vavkg3sb.fsf@krugs.de> (raw)
In-Reply-To: <87polsn8kd.fsf@gmail.com> (Aaron Ecay's message of "Fri, 18 Nov 2016 14:53:22 +0000")
[-- Attachment #1: Type: text/plain, Size: 739 bytes --]
Aaron Ecay <aaronecay@gmail.com> writes:
> Hi Rainer,
>
> 2016ko azaroak 18an, Rainer M Krug-ek idatzi zuen:
>>
>
>>> :SHEET: %(mapconcat #'identity (org-get-tags-at nil t) ":")
>>
>> Thanks - this looks good to me, but the ="= causes problems and ends the
>> template early. I tried to replace =":"= with =':'= but this did =not
>> work either (invalid-read-syntax).
>>
>> How can I get this to work?
>
> You need to escape the quotes with a single backslash.
I did it like this:
:SHEET: %(mapconcat #'identity (org-get-tags-at nil t) \":\")
But it still does not work as, my guess, nothing is returned - the
"field" is empty
Rainer
--
Rainer M. Krug
email: Rainer<at>krugs<dot>de
PGP: 0x0F52F982
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 454 bytes --]
prev parent reply other threads:[~2016-11-18 16:18 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-14 12:53 Capture templates - using result from %^g twice? Rainer M Krug
2016-11-16 8:03 ` Rainer M Krug
2016-11-18 8:48 ` Nicolas Goaziou
2016-11-18 11:21 ` Rainer M Krug
2016-11-18 14:53 ` Aaron Ecay
2016-11-18 16:18 ` Rainer M Krug [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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2vavkg3sb.fsf@krugs.de \
--to=rainer@krugs.de \
--cc=emacs-orgmode@gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.