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 12:21:52 +0100 [thread overview]
Message-ID: <m28tshghin.fsf@krugs.de> (raw)
In-Reply-To: <87y40hmavd.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Fri, 18 Nov 2016 09:48:54 +0100")
[-- Attachment #1: Type: text/plain, Size: 741 bytes --]
Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:
> Hello,
>
> Rainer M Krug <Rainer@krugs.de> writes:
>
>> Hm - I seem to ask strange questions here. Any ideas?
>
> %\2 is not working because it is used to repeat %^{prompt} placeholders,
> not %^g or %^G, per documentation.
Ok - thanks for the clarification.
>
> You could try (untested)
>
> :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?
Rainer.
>
>
> Regards,
--
Rainer M. Krug
email: Rainer<at>krugs<dot>de
PGP: 0x0F52F982
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 454 bytes --]
next prev parent reply other threads:[~2016-11-18 11:22 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 [this message]
2016-11-18 14:53 ` Aaron Ecay
2016-11-18 16:18 ` Rainer M Krug
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=m28tshghin.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.