From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mario Martelli Subject: Re: org-protocol documentation Date: Thu, 22 Jun 2017 21:32:21 +0200 Message-ID: <18D83D3C-C472-4614-988F-1F1DA5EB5CEC@schnuddelhuddel.de> References: <68E12968-9AF5-440A-B22C-AC55B70BA910@schnuddelhuddel.de> <87k248b6p8.fsf@nicolasgoaziou.fr> <7C76EDC3-CC7E-4AFE-B45B-867752C1B33A@schnuddelhuddel.de> <87a8519rlg.fsf@nicolasgoaziou.fr> <8760fp9mui.fsf@nicolasgoaziou.fr> <2FAD7DF2-2A0C-4703-A383-BA8D3346C691@schnuddelhuddel.de> Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Content-Type: multipart/alternative; boundary="Apple-Mail=_DDA62430-6722-4D53-84D9-B731E63EF466" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36061) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dO7q7-0003nn-2l for emacs-orgmode@gnu.org; Thu, 22 Jun 2017 15:32:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dO7q3-0007Po-1k for emacs-orgmode@gnu.org; Thu, 22 Jun 2017 15:32:27 -0400 Received: from mail-wr0-x230.google.com ([2a00:1450:400c:c0c::230]:35470) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dO7q2-0007OD-MZ for emacs-orgmode@gnu.org; Thu, 22 Jun 2017 15:32:22 -0400 Received: by mail-wr0-x230.google.com with SMTP id k67so36539554wrc.2 for ; Thu, 22 Jun 2017 12:32:21 -0700 (PDT) In-Reply-To: <2FAD7DF2-2A0C-4703-A383-BA8D3346C691@schnuddelhuddel.de> 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: Nicolas Goaziou Cc: emacs-orgmode@gnu.org --Apple-Mail=_DDA62430-6722-4D53-84D9-B731E63EF466 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 I=E2=80=99ve incorporated the org-protocol documentation into org.texi. = https://github.com/mgmart/org-mode/commit/31dd3cc13034c8501d8526e25086152a= 0e6538dd = In a separate branch you could see the history of changes to the = original org-protocol documentation from worg https://github.com/mgmart/org-mode/commits/documentation/org-protocol = Still not sure wether the open-source subprotocol is broken or not. Kind regards Mario =E2=80=94=20 > Am 22.06.2017 um 10:40 schrieb Mario Martelli = : >=20 > I=E2=80=99m about to incorporate the new style URIs into the = documentation.=20 > During my tests somehow the open-source protocol does not work for me. >=20 > I assume a bug around Line 527 in org-protocol.el >=20 > (let* ((base-url (plist-get (cdr prolist) :base-url)) > =E2=80=94> (wsearch (regexp-quote base-url))) = <=E2=80=94 >=20 > Could anyone confirm that? I=E2=80=99m unsure whether it might be a = local misconfiguration on my side or not. >=20 > I tried it with the worg example: >=20 > emacsclient = "org-protocol://open-source?url=3Dhttp://orgmode.org/worg/org-tutorials/or= g-import-rtm.html=E2=80=9D >=20 > and escaped >=20 > emacsclient = 'org-protocol://open-source?url=3Dhttps%3A%2F%2Forgmode.org%2Fworg%2Forg-t= utorials%2Forg-import-rtm.html=E2=80=99 >=20 > In both cases it fails silently. >=20 >> I'm not sure why is pandoc needed here. Org can export to Texinfo >> format, if needed. >=20 > Thank you! Output is much nicer than with pandoc. I=E2=80=99ve = disabled it years ago because not needed. So it went out of my sight ;) >=20 >> Also, if the syntax is not quite right, no worries, >> we'll fix it. >=20 > That are great news! >=20 > Kind regards > Mario > =E2=80=94=20 >=20 >=20 >=20 --Apple-Mail=_DDA62430-6722-4D53-84D9-B731E63EF466 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 I=E2=80=99ve incorporated the org-protocol documentation into = org.texi.


In a separate branch you could see the history of changes to = the original org-protocol documentation from worg

Still= not sure wether the open-source subprotocol is broken or not.

Kind regards
Mario
=E2=80=94 



Am 22.06.2017 um 10:40 schrieb Mario Martelli <tlmtr@schnuddelhuddel.de>:

I=E2=80= =99m about to incorporate the new style URIs into the documentation.
During my tests somehow the open-source protocol does not = work for me.

I assume a bug around Line 527 = in org-protocol.el

=       (let* ((base-url (plist-get (cdr = prolist) :base-url))
=E2=80=94> =             &n= bsp; (wsearch (regexp-quote base-url))) =           <=E2=80=94<= br class=3D"">
Could anyone confirm that? I=E2=80=99m = unsure whether it might be a local misconfiguration on my side or = not.

I tried it with the worg example:

emacsclient "org-protocol://open-source?url=3Dhttp://orgmode.org/worg/org-tu= torials/org-import-rtm.html=E2=80=9D

and = escaped

emacsclient 'org-protocol://open-source?url=3Dhttps%3A%2F%2Forgmode.org%2Fwo= rg%2Forg-tutorials%2Forg-import-rtm.html=E2=80=99

In both cases it fails silently.

I'm not sure why is = pandoc needed here. Org can export to Texinfo
format, if = needed.

Thank you! Output is = much nicer than with pandoc. I=E2=80=99ve disabled it years ago because = not needed. So it went out of my sight ;)

Also, if the syntax is = not quite right, no worries,
we'll fix it.

That are great news!

Kind regards
Mario
=E2=80=94




= --Apple-Mail=_DDA62430-6722-4D53-84D9-B731E63EF466--