emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Capture templates - using result from %^g twice?


From: Rainer M Krug
Subject: Re: [O] Capture templates - using result from %^g twice?
Date: Fri, 18 Nov 2016 17:18:28 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (darwin)

Aaron Ecay <address@hidden> 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: signature.asc
Description: PGP signature


reply via email to

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