Re: [URL format] WORG Patch 2/2 for Org Protocol Page

2025-07-01 Thread Christian Moe
Max Nikulin writes: > My curiosity is not strong enough to install Mint (or to try live > image if it is available). Unsure if you are motivated enough to > create a new system user and to try a new Firefox profile. Not motivated enough by this corner case. :-/ > Is there a chance that you have

Re: [URL format] WORG Patch 2/2 for Org Protocol Page

2025-06-30 Thread Max Nikulin
On 20/06/2025 13:05, Christian Moe wrote: Max Nikulin writes: [Evaluated code:] location.href='org-protocol://store-link:/'+encodeURIComponent(location.href)+'/'+encodeURIComponent(document.title);void(0); [Log:] Navigated to org-protocol://store-link/file%3A%2F%2F%2Fhome%2Fcm%2Fworg%2Forg-cont

Re: [URL format] WORG Patch 2/2 for Org Protocol Page

2025-06-19 Thread Christian Moe
Max Nikulin writes: > May you try to paste to dev tools console (single line)? > > location.href='org-protocol://store-link:/'+encodeURIComponent(location.href)+'/'+encodeURIComponent(document.title);void(0); > > Just for a case that you have another bookmark. Here: [Evaluated code:] location.h

Re: [URL format] WORG Patch 2/2 for Org Protocol Page

2025-06-19 Thread Max Nikulin
On 19/06/2025 16:38, Christian Moe wrote: javascript:location.href='org-protocol://store- link:/'+encodeURIComponent(location.href)+'/'+encodeURIComponent(document.title);void(0); results in the following console log entry: Navigated to org-protocol://store-link/https%3A%2F%2Forgmode.org

Re: [URL format] WORG Patch 2/2 for Org Protocol Page

2025-06-19 Thread Christian Moe
Max Nikulin writes: > If you are interested in debugging then you may try Thanks for the tips! > xdg-open org-protocol://store-link/http%3a%2f%2flocalhost/some%20title ^ This works when fixed:store-link:/ (added missing colon)

Re: [URL format] WORG Patch 2/2 for Org Protocol Page

2025-06-17 Thread Max Nikulin
On 16/06/2025 18:47, Christian Moe wrote: Mint and xfce. The browser is Firefox. I can not reproduce the issue with double slash after org-prtocol: in a VM with Debian 12 bookworm (stable), XFCE 4.18, Firefox 128.11 ESR, Emacs-28.2 Single slash does work, and so does triple slash, quadrupl

Re: [URL format] WORG Patch 2/2 for Org Protocol Page

2025-06-16 Thread Christian Moe
Max Nikulin writes: > On 09/06/2025 21:13, Christian Moe wrote: >> Charles Choi writes: >>> - : emacsclient org-protocol:/store-link:/URL/TITLE >> This still works, though with a warning to "update your Org Protocol >> handler to deal with new-style links". > [...] >>> - : >>> javascript:locat

Re: [URL format] WORG Patch 2/2 for Org Protocol Page

2025-06-16 Thread Max Nikulin
On 09/06/2025 21:13, Christian Moe wrote: Charles Choi writes: - : emacsclient org-protocol:/store-link:/URL/TITLE This still works, though with a warning to "update your Org Protocol handler to deal with new-style links". [...] - : javascript:location.href='org-protocol://store-link://'+

Re: [URL format] WORG Patch 2/2 for Org Protocol Page

2025-06-07 Thread Max Nikulin
On 31/05/2025 08:09, Charles Choi wrote: Interim snapshot of rewrite of Org Protocol page. I have added "URL format" to subject of this branch of the discussion. +++ b/org-contrib/org-protocol.org +The host part of the URL is interpreted as a /sub-protocol/. I would avoid explicit statem