From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kaushal Modi Subject: Re: capture template placeholders do not work Date: Thu, 12 Oct 2017 22:43:50 +0000 Message-ID: References: <2E60E16B-A6A8-4D34-AE40-2933BF5F147D@me.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="089e08287c48d7c12c055b6146f8" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41736) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e2mCz-0001Ci-4O for emacs-orgmode@gnu.org; Thu, 12 Oct 2017 18:44:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e2mCy-0008DU-G5 for emacs-orgmode@gnu.org; Thu, 12 Oct 2017 18:44:05 -0400 Received: from mail-qt0-x230.google.com ([2607:f8b0:400d:c0d::230]:48914) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e2mCy-0008D8-B5 for emacs-orgmode@gnu.org; Thu, 12 Oct 2017 18:44:04 -0400 Received: by mail-qt0-x230.google.com with SMTP id f8so16494438qta.5 for ; Thu, 12 Oct 2017 15:44:02 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Allen Li Cc: emacs-orgmode@gnu.org, Carl Bolduc --089e08287c48d7c12c055b6146f8 Content-Type: text/plain; charset="UTF-8" On Thu, Oct 12, 2017 at 5:12 PM Allen Li wrote: > org-store-link-props basically shoves everything into > org-store-link-plist (with some pre-processing). The plist keys are > what's used as keywords for %: > > The :initlal is special; it gets mapped to %i, and :query is a list > not a string, so you can't use %:query although you can access it from > Emacs Lisp embedded in the template. > Thanks. > I don't have any secret knowledge, I just dug through the source code > and experimented with different inputs. Of course :) It's a bit difficult skimming through the code as I don't have org-protocol set up. > The code and/or documentation could be clearer > Would you like to submit a patch for that? -- Kaushal Modi --089e08287c48d7c12c055b6146f8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Thu, Oct 12= , 2017 at 5:12 PM Allen Li <vianchielfaura@gmail.com> wrote:
org-store-link-props basically shoves everything int= o
org-store-link-plist (with some pre-processing).=C2=A0 The plist keys are what's used as keywords for %:

The :initlal is special; it gets mapped to %i, and :query is a list
not a string, so you can't use %:query although you can access it from<= br> Emacs Lisp embedded in the template.

<= div dir=3D"ltr">
Thanks.
=C2=A0
I don't have any secret knowledge, I just dug through th= e source code
and experimented with different inputs.

Of course :) It's = a bit difficult skimming through the code as I don't have org-protocol = set up.
= =C2=A0
The code and/or documentation co= uld be clearer

=
Would you like to submit a patch for that?= =C2=A0
--

Kaushal Modi

--089e08287c48d7c12c055b6146f8--