From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carl Bolduc Subject: capture template placeholders do not work Date: Wed, 11 Oct 2017 14:47:11 -0400 Message-ID: <2E60E16B-A6A8-4D34-AE40-2933BF5F147D@me.com> Mime-Version: 1.0 (Mac OS X Mail 11.0 \(3445.1.6\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49263) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e2M2M-0005g0-DC for emacs-orgmode@gnu.org; Wed, 11 Oct 2017 14:47:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e2M2J-0007b4-Au for emacs-orgmode@gnu.org; Wed, 11 Oct 2017 14:47:22 -0400 Received: from st14p23im-asmtp003.me.com ([17.164.101.13]:24394) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e2M2J-0007a3-6Y for emacs-orgmode@gnu.org; Wed, 11 Oct 2017 14:47:19 -0400 Received: from process-dkim-sign-daemon.st14p23im-asmtp003.me.com by st14p23im-asmtp003.me.com (Oracle Communications Messaging Server 8.0.1.2.20170607 64bit (built Jun 7 2017)) id <0OXO00W009971I00@st14p23im-asmtp003.me.com> for emacs-orgmode@gnu.org; Wed, 11 Oct 2017 18:47:14 +0000 (GMT) Received: from icloud.com ([127.0.0.1]) by st14p23im-asmtp003.me.com (Oracle Communications Messaging Server 8.0.1.2.20170607 64bit (built Jun 7 2017)) with ESMTPSA id <0OXO00ZEE9IOVU20@st14p23im-asmtp003.me.com> for emacs-orgmode@gnu.org; Wed, 11 Oct 2017 18:47:13 +0000 (GMT) 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: emacs-orgmode@gnu.org 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=E2=80=9D) And I have the following bookmarklet in my browser: = javascript:location.href=3D'org-protocol://capture?template=3Db'+'&url=3D'= +encodeURIComponent(window.location.href)+'&title=3D'+encodeURIComponent(d= ocument.title)+'&body=3D'+encodeURIComponent(window.getSelection()); When I click on my bookmarklet, Emacs opens a new capture buffer and = here is what I see: ** =20 I get an empty entry, the %:url and %:title placeholders are not = expanded to the values passed by the bookmarklet. How can I troubleshoot = this? I=E2=80=99m running emacs 25.3 with the emacs-25.3-mac-6.8 patch on = macOS High Sierra with org-mode 9.1.1. Thanks, Carl=