emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Org campture recursively expands %-escapes


From: Samuel Wales
Subject: Re: [O] Org campture recursively expands %-escapes
Date: Thu, 26 Nov 2015 15:10:23 -0700

On 11/26/15, Nicolas Goaziou <address@hidden> wrote:
> Samuel Wales <address@hidden> writes:
>> just to clarify,
>>
>>   "%(alpha-org-protocol-string \"%:link\" \"%:description\" \"%i\")"
>>
>> is not recursive, right?
>
> It is.

the above is the only way i was able to get org-protocol to do what i needed.

> The first two are documented in org-capture-templates' docstring. So
> I guess they are fine. However, the last parameter is problematic. As
> pointed out by the OP, since it basically means "%(...)" are evaluated
> after "%i", it can lead to the following chain of events:
>
>   %i => %(evil-command) => Evil result.

i think i understand.  maybe we need another way to pass %i.



reply via email to

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