emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Kaushal Modi <kaushal.modi@gmail.com>
To: Allen Li <vianchielfaura@gmail.com>
Cc: emacs-orgmode@gnu.org, Carl Bolduc <cbol@me.com>
Subject: Re: capture template placeholders do not work
Date: Thu, 12 Oct 2017 22:43:50 +0000	[thread overview]
Message-ID: <CAFyQvY1P54dD0OQUfi+Qd_JmAqQozPuWt_9J8RWJjbyaaJe-bw@mail.gmail.com> (raw)
In-Reply-To: <CAJr1M6d7EVU+RnH8aiy2Ocmr4Q1jDcKFRjDstyN25i5vtPvjAA@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 761 bytes --]

On Thu, Oct 12, 2017 at 5:12 PM Allen Li <vianchielfaura@gmail.com> 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

[-- Attachment #2: Type: text/html, Size: 1773 bytes --]

      reply	other threads:[~2017-10-12 22:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-11 18:47 capture template placeholders do not work Carl Bolduc
2017-10-12  3:54 ` Allen Li
2017-10-12 12:27   ` Carl Bolduc
2017-10-12 13:24   ` Kaushal Modi
2017-10-12 21:12     ` Allen Li
2017-10-12 22:43       ` Kaushal Modi [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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAFyQvY1P54dD0OQUfi+Qd_JmAqQozPuWt_9J8RWJjbyaaJe-bw@mail.gmail.com \
    --to=kaushal.modi@gmail.com \
    --cc=cbol@me.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=vianchielfaura@gmail.com \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).