From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Woodbury Subject: org-protocol capture links with template specification Date: Mon, 5 Mar 2018 10:28:55 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a11444ec828dad80566abfd74" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41378) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ess3D-0002ge-8y for emacs-orgmode@gnu.org; Mon, 05 Mar 2018 10:29:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ess3C-000070-AA for emacs-orgmode@gnu.org; Mon, 05 Mar 2018 10:29:19 -0500 Received: from mail-wm0-x232.google.com ([2a00:1450:400c:c09::232]:51647) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ess3C-000064-30 for emacs-orgmode@gnu.org; Mon, 05 Mar 2018 10:29:18 -0500 Received: by mail-wm0-x232.google.com with SMTP id h21so16653752wmd.1 for ; Mon, 05 Mar 2018 07:29:17 -0800 (PST) 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 --001a11444ec828dad80566abfd74 Content-Type: text/plain; charset="UTF-8" Hi, I am running emacs-mac-app (v. 25.3.1) installed from Mac Ports, with org-mode version 9.1.6, on Mac OS 10.13.3. I have set up org-protocol. If I open a terminal emulator window and enter this command emacsclient -n "org-protocol:/capture?url=http%3a%2f%2fduckduckgo%2ecom&title=DuckDuckGo" org-protocol works. I can select the template I want, and an entry gets added to my .org file. However, if I add in a template specification emacsclient -n "org-protocol:/capture?template=t?url=http%3a%2f%2fduckduckgo%2ecom&title=DuckDuckGo" I get this error: *ERROR*: No capture template referred to by "t?url" keys It seems the list isn't getting split at the '?' after 'template=t'. I haven't been able to find anything on this and appear to be doing what org-protocol.el says I should. Any help would be appreciated. Thanks, Matt --001a11444ec828dad80566abfd74 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

I= am running emacs-mac-app (v. 25.3.1) installed from Mac Ports, with org-mo= de version 9.1.6, on Mac OS 10.13.3.=C2=A0

I have set up org-= protocol.=C2=A0 If I open a terminal emulator window and enter this command=

emacsclient -n "org-protocol:/= capture?url=3Dhttp%3a%2f%2fduckduckgo%2ecom&title=3DDuckDuckGo"

org-protocol works.=C2=A0 I can select the template I want= , and an entry gets added to my .org file.=C2=A0

However, if = I add in a template specification

em= acsclient -n "org-protocol:/capture?template=3Dt?url=3Dhttp%3a%2f%2fdu= ckduckgo%2ecom&title=3DDuckDuckGo"

I get this error:<= br>
*ERROR*: No capture template referre= d to by "t?url" keys

It seems the list isn'= ;t getting split at the '?' after 'template=3Dt'.=C2=A0 I h= aven't been able to find anything on this and appear to be doing what o= rg-protocol.el says I should.

Any help would be appreciated.
Thanks,
Matt
--001a11444ec828dad80566abfd74--