emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Allen Li <vianchielfaura@gmail.com>
To: Carl Bolduc <cbol@me.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: capture template placeholders do not work
Date: Wed, 11 Oct 2017 20:54:43 -0700	[thread overview]
Message-ID: <CAJr1M6cz-E3T=7a0HXasB6=EA25bdOeYd_nd1__LU8c2QKKhog@mail.gmail.com> (raw)
In-Reply-To: <2E60E16B-A6A8-4D34-AE40-2933BF5F147D@me.com>

On Wed, Oct 11, 2017 at 11:47 AM, Carl Bolduc <cbol@me.com> wrote:
> Hi,
>
> I want to use org-mode to store my bookmarks. I configured the following template:
> ("b" "Bookmark" entry (file+headline "~/org/bookmarks.org" "Bookmarks") "* %:url %:title %?\n”)

%:url and $:title are wrong, they should be %:link and %:description
respectively.

Check out the source code of org-protocol-do-capture.

The valid placeholders are

type
link
description
annotation

  reply	other threads:[~2017-10-12  3:54 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 [this message]
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

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='CAJr1M6cz-E3T=7a0HXasB6=EA25bdOeYd_nd1__LU8c2QKKhog@mail.gmail.com' \
    --to=vianchielfaura@gmail.com \
    --cc=cbol@me.com \
    --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 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).