From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id uH1dF7URl2D6FQAAgWs5BA (envelope-from ) for ; Sun, 09 May 2021 00:33:25 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 4I/mErURl2B8TQAAbx9fmQ (envelope-from ) for ; Sat, 08 May 2021 22:33:25 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 71D9A18A5E for ; Sun, 9 May 2021 00:33:24 +0200 (CEST) Received: from localhost ([::1]:54312 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lfVVj-0001Ml-K5 for larch@yhetil.org; Sat, 08 May 2021 18:33:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57634) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lfVVF-0001MW-Ks for emacs-orgmode@gnu.org; Sat, 08 May 2021 18:32:53 -0400 Received: from mail-ej1-x62c.google.com ([2a00:1450:4864:20::62c]:41731) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lfVVD-0002cI-JW for emacs-orgmode@gnu.org; Sat, 08 May 2021 18:32:53 -0400 Received: by mail-ej1-x62c.google.com with SMTP id zg3so19015433ejb.8 for ; Sat, 08 May 2021 15:32:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bina-me.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=zFoouhrNkJbuexJQ5sDRqetBEPI+kwc9A2B3on/AM+g=; b=bUETJFp0SUPcinzMMGuQpHb7KozS0pCMHsXk28VIdzQ/211vmWDbUapNYapK8efXPs 62UYpmSfFTVuZkpxs2u1JdcszX3Ivyn+GQu/rarXcT/OuM45fKtWJxSOZVPVG+S1KXgn Rr3CVO4ouqeVFJuBOookPii1ZWMuhdNG4jv+5CqLfp75RMqSipQLJyn6meVBCN0gNjls /WS2HMsZM7eoX4JVVuoBTjwxT5VYIPYjvlYf/fuxvz28I6Ef1F5Iy0PvrI99fPqXxNBd 1L4vHLA9aesG2r8xC/AFNKSJuzBS1ZWqomnoW+f3A/Y6bu9I3Y++dkmUb2dymR8ff6P1 QL7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=zFoouhrNkJbuexJQ5sDRqetBEPI+kwc9A2B3on/AM+g=; b=Cjq3OVAoUHp7x804l8TjuM+i+Amd5FiuYBnELzQIuS6pb3op87FBbt0/IGaVSS3Hxb Bet9d3WmImzeeP7ppvptznZZ1QQTEeddX58FPPYoJ+x6OB5kFCf8ZbsgrQwQP3BvY2rR iLR8817g/ZrUyZamtNTN9RO+f//bFu8XO1oPAZMSKKOgu+kV5YSMSV7qx8IkvFAURThy ZnREvWQIP0xMTNp/wM4h1cyhA6IHA75aK9AD0z5IODPHGn4G2H2qgDTNdElpdjDGNHE2 B5qhLPfL3hYLYPgBZT05gMZleLSESvsVmaVnFriEUrflPGXSnr41Ud+hkqLmO43F8H78 SuOA== X-Gm-Message-State: AOAM5328V97/vHB5ZnBQca0dzmG4euTPL5MWnIHhlmlXgSwWh4GgxnwX mElCjYQCKvMJUVRdPGT7rD62JA== X-Google-Smtp-Source: ABdhPJwgLmuJBahnUMEHhUhN7yPAB3Mtq0i9La8Gw9rBkXl6bb0CQU2t1Nlw+ehzC8Ur5fCLeVvd2A== X-Received: by 2002:a17:907:10d8:: with SMTP id rv24mr17460047ejb.542.1620513169305; Sat, 08 May 2021 15:32:49 -0700 (PDT) Received: from localhost (dynamic-089-014-171-049.89.14.pool.telefonica.de. [89.14.171.49]) by smtp.gmail.com with ESMTPSA id u1sm7243532edv.90.2021.05.08.15.32.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 08 May 2021 15:32:47 -0700 (PDT) Date: Sun, 9 May 2021 00:32:45 +0200 From: David Asabina To: Maxim Nikulin Subject: Re: [PATCH] org-protocol: Fix missing '+' in js snippet Message-ID: <20210508223245.jtpghgkwqgsskbcs@bina> References: <20210419105316.10227-1-vid@bina.me> <41e021be-e973-652b-fd04-b1b4524b959b@gmail.com> <20210503152514.bx5gghrqjr3vmxd7@bina> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="7qwlh5ywoesi4gem" Content-Disposition: inline In-Reply-To: Received-SPF: none client-ip=2a00:1450:4864:20::62c; envelope-from=vid@bina.me; helo=mail-ej1-x62c.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1620513204; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=zFoouhrNkJbuexJQ5sDRqetBEPI+kwc9A2B3on/AM+g=; b=k9BjcyGLLgbhn/C5swp8FZ8pC4Nyhcu8lAj9jJQJX6f8VyC3UPXJlxwhH+xK1KnEiBndio eeoOD+IXVoo53YEZLgdpt6FUtaI6oUFhiOvmErjpOU6mXt6hHrHnd1elfp9JsFz2ak5Rfu AKABfSkLoJBZK8n8GSCt1DQD4J102R0WqcU7WEyfJvjcX0hUUUgTJ+tDemucudINwxbFUH O2qaF264e+L3fmcZ2Xh+zoy4HAkjQAfC9mfGULNs5v5r82FfNfYkFzNqsKOSpWvWCSbWwx voutwhNJ2PTqyNqF3Lt8cYv1/kiUndvKZtv0FdEWIDK+D5rCoHEQ63+zYcUszA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1620513204; a=rsa-sha256; cv=none; b=BJU+Zbs2jtAwnz5KbHqvWep1eiy/SPNQJ2X6Jjxj08SVBgVm1IXnDVrNdbtRStWIlLxzJ4 KvGDaB92M9C0jZiStaLnmdII22XZCvs+xpxEodK6BZdFDYI3aP0JY+gDPMU/DRMotfacEf twHQIZv19Gx9RZwLI25NrGs99t1gJvAWDg9O/N4NBNSULpEl5+OFfV6P+pZ6kXxooPTMzl JmBaF/G/tseXe1QR4/pKjBZmjHY2PRPUcwiMDEcu3515PLmBoTKOnRMxHSQNvwS5e8smIQ A2snuAcsyvC1BTtcRdtDV22E43MbN4q2fdToXkrKYG2LDLxqOriAcMOIAFb6nw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=bina-me.20150623.gappssmtp.com header.s=20150623 header.b=bUETJFp0; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -4.25 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=bina-me.20150623.gappssmtp.com header.s=20150623 header.b=bUETJFp0; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 71D9A18A5E X-Spam-Score: -4.25 X-Migadu-Scanner: scn0.migadu.com X-TUID: HXwfGWTI0p0H --7qwlh5ywoesi4gem Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > Thank you. However on linux there is another degree of freedom: various > desktop environments can be different in respect to treatment of URLs bef= ore > passing them to protocol handlers. I have tried KDE and a kind of > minimalistic setup inside container (xdg-utils) so far. Anyway it is good= to > receive confirmation that it could work for other people. Perhaps the following helps provide more context: - OS: NixOS 20.09 - WM: Xmonad 0.15 > In the meanwhile I have realized that bug report I mentioned was for Wind= ows > with emacs running in WSL > https://orgmode.org/list/87zhbq7zin.fsf@pie.tf/ I have no access to Windows setups at the moment to test that -- just NixOS and macOS. > P.S. Since your response was private, I am unsure if Cc: > emacs-orgmode@gnu.org should be added. I'm definitely new with this workflow of `git send-email` so I totally missed that I didn't reply to the group -- I didn't reply-to-group in mutt so that was on me. Not sure what the policy is on keeping the signal-to-noise manageably low on the mailing groups as I'm very much of a noob here =F0=9F=A4=A3 so I= 'll just add the CC address and I trust that I'll hear when I'm contributing to more noise than signal. =F0=9F=98=89 On Tue, May 04, 2021 at 11:44:34PM +0700, Maxim Nikulin wrote: > On 03/05/2021 22:25, David Asabina wrote: > > > I have a question that is a bit off-topic in this thread however. Sin= ce you > > > are setting up org-protocol, you may notice other issues. There were = reports > > > that two slashes after "org-protocol:" cause some problems. My guess = is that > > > capture is recognized as hostname, so another slash is inserted after= it. > > > There was a patch allowing "/" before "?" to get things work (perhaps= on > > > Windows). Could you try, please, if one or three slashes in org-proto= col > > > URIs ("org-protocol:/capture?url=3D..." and "org-protocol:///capture?= url=3D...") > > > works properly in your environment? Maybe code examples in docs would > > > benefit from one more correction. > >=20 > > I've tried: > > - org-protocol:/capture?template=3Dt&url=3Demacs.org and > > - org-protocol:///capture?template=3Dt&url=3Demacs.org > > and both worked like a charm on my setup (Firefox on NixOS). >=20 > Thank you. However on linux there is another degree of freedom: various > desktop environments can be different in respect to treatment of URLs bef= ore > passing them to protocol handlers. I have tried KDE and a kind of > minimalistic setup inside container (xdg-utils) so far. Anyway it is good= to > receive confirmation that it could work for other people. >=20 > In the meanwhile I have realized that bug report I mentioned was for Wind= ows > with emacs running in WSL > https://orgmode.org/list/87zhbq7zin.fsf@pie.tf/ >=20 > P.S. Since your response was private, I am unsure if Cc: > emacs-orgmode@gnu.org should be added. --=20 David Asabina @vidbina on GitHub, Twitter, Instagram, etc. +49 1768 7062 719 --7qwlh5ywoesi4gem Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEWeLmt9kdBoFE99S/1/uqXR05i1sFAmCXEYkACgkQ1/uqXR05 i1uVMA/5AQf0yCw54NA30EjV1yaGohHsuLD1ObMqN1/C+y7qLoKnT+Il8gZayGZ6 YCfA3gsrTdnxtm/QJ0If6Cn53ru396hYQMXv9Q1hJjNSmx/bIRYRUoXXPwcAZnsD 01z6lspboUcIWizhUJQEkPyoQa2N3L+oEyZqmY7idA/LjIVE70RKKrZSUeB1LmoK hDG5v9e0QoqZwp8eP7N5MwDXuNCQ0m+KJaasxFk+CtEIx2hwdfNso3l0AKc0XF9G KtNu6onRBTwIAaSi6oD50AOpONtI+Z2mhgbgfY+E9AC7rdrgl5D8146FIpGnzsNd qJC0StRbAEIuz9M/O5GFSrkEcct4mBqr6O85Cun+esPEmD6qFAqEwFM0zQ6GMokC scEmuLzlECIyS3x1Z1HBiCLM2/9SjleQW/1gLPM3m0z6KWRi77yFU2ZHyw2KzArf Dd69RADJa3P/ZZSoKOS30ThBh2OyN21sWtYGIa4zj85tgogsoN8uvQxvIIEOWK7O 4IojQvhQwrBVO0lszcYY0m5FN+uEruztg/cRtTuM39AN1N08t6tNWsaLdcJ6H3EM DhCVOd+tw+uilKRzF2gcAMoIPGBtfQFy1trMyE82xaLeCX17z8fSEu9vgluMyYmA US/q/lHD5Ji8OC3P9HNIAaOU12vMTKUWn+GKaL9yaa8Ra9hgeMU= =KXTT -----END PGP SIGNATURE----- --7qwlh5ywoesi4gem--