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: WORG Patch 2/2 for Org Protocol Page

2025-06-21 Thread Max Nikulin
On 18/06/2025 03:33, Charles Choi wrote: Patch 5141b91f for org-protocol.org 2025-06-17 rewrite submitted for review. From my point of view, it would be easier to find your patch if it was a reply to your the initial message of the thread and if it had "[PATCH v2]" tag in its subject. I admit

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: [Linux] WORG Patch 2/2 for Org Protocol Page

2025-06-18 Thread Ihor Radchenko
Max Nikulin writes: > P.S. I believe, org-protocol: handler should be merged with > emacsclient-mail.desktop instead of emacsclient.desktop Please suggest it on emacs-devel. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at . Support Org de

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

2025-06-18 Thread Max Nikulin
On 17/06/2025 23:27, Ihor Radchenko wrote: Charles Choi writes: Thanks for the heads up on XDG support for Org protocol being broken. I will amend accordingly. AFAIR, it is not 100% broken. It is broken after some version of xdg-tools (discussed in the bug report). So, not all the users will

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

2025-06-17 Thread Charles Choi
Patch 5141b91f for org-protocol.org 2025-06-17 rewrite submitted for review. 0001-org-protocol.org-Rewrite-for-2025.patch Description: Binary data Thanks to all for all the feedback so far. Regards - Charles — Charles Y. Choi, Ph.D. kickingve...@gmail.com

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

2025-06-17 Thread Charles Choi
Ihor - Thanks! — Charles Y. Choi, Ph.D. kickingve...@gmail.com > On Jun 17, 2025, at 11:57 AM, Ihor Radchenko wrote: > > Remember protocol has been removed 12 years ago, in > https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=65399674d

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

2025-06-17 Thread Ihor Radchenko
Charles Choi writes: > Is the remember protocol still handled for backward compatibility or is it > now completely removed? > > The worg org-protocol.org page still states it is still handled. Remember protocol has been removed 12 years ago, in https://git.savannah.gnu.org/cgit/emacs/org-mode.g

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

2025-06-17 Thread Charles Choi
Is the remember protocol still handled for backward compatibility or is it now completely removed? The worg org-protocol.org page still states it is still handled. Charles — Charles Y. Choi, Ph.D. kickingve...@gmail.com > On Jun 17, 2025, at 9:58 AM, Charles Choi wrote: > > Understood.

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

2025-06-17 Thread Charles Choi
Understood. Will reflect that in my patch. Charles > On Jun 17, 2025, at 9:28 AM, Ihor Radchenko wrote: > > AFAIR, it is not 100% broken. It is broken after some version of > xdg-tools (discussed in the bug report). So, not all the users will be > affected.

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

2025-06-17 Thread Ihor Radchenko
Charles Choi writes: > Thanks for the heads up on XDG support for Org protocol being broken. I will > amend accordingly. AFAIR, it is not 100% broken. It is broken after some version of xdg-tools (discussed in the bug report). So, not all the users will be affected. -- Ihor Radchenko // yanta

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: [Linux] WORG Patch 2/2 for Org Protocol Page

2025-06-17 Thread Charles Choi
Thanks for the heads up on XDG support for Org protocol being broken. I will amend accordingly. Charles — Charles Y. Choi, Ph.D. kickingve...@gmail.com > On Jun 17, 2025, at 3:51 AM, Max Nikulin wrote: > > On 31/05/2025 08:09, Charles Choi wrote: >> -*** GNU/Linux setup > >> +* GNU

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

2025-06-17 Thread Max Nikulin
On 31/05/2025 08:09, Charles Choi wrote: -*** GNU/Linux setup +* GNU/Linux and Unix variants Do UNIX variants support XDG desktop entries and MIME handlers? +Emacs 30.1+ now has ~emacsclient.desktop~ configured to handle Org Protocol URL requests. For users with older versions of Emac

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: [manual] WORG Patch 2/2 for Org Protocol Page

2025-06-16 Thread Max Nikulin
On 31/05/2025 08:09, Charles Choi wrote: +Refer to the Org documentation to understand the workings of the above in constructing capture templates for Org Protocol. I think, the explicit link to the manual (info "(org) Protocols") should be in the very beginning as the primary source of infor

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: [remember] WORG Patch 2/2 for Org Protocol Page

2025-06-12 Thread Christian Moe
Charles Choi writes: > Hi Folks - > > Been preoccupied with WWDC this week; will have time early next week to fold > in this thread’s feedback into a new patch which re-writes the > org-protocol.org page. Great, looking forward to it! Yours, Christian

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

2025-06-12 Thread Charles Choi
Hi Folks - Been preoccupied with WWDC this week; will have time early next week to fold in this thread’s feedback into a new patch which re-writes the org-protocol.org page. All my best - Charles — Charles Y. Choi, Ph.D. kickingve...@gmail.com

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

2025-06-12 Thread Bastien Guerry
Christian Moe writes: > Nice! But I think we should link to it from a history section, not from > a part of the current documentation, since the setup shown is partly > obsolete and would differ confusingly from the rewritten instructions. Indeed! I just wanted to share the archive, it may not b

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

2025-06-12 Thread Christian Moe
Bastien Guerry writes: > Max Nikulin writes: > >> Bastien, have you removed this screencast completely or just have you >> moved to another video hosting site? My guess it was announced in >> >> Bastien. [Orgmode] New screencast about

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

2025-06-12 Thread Bastien Guerry
Max Nikulin writes: > Bastien, have you removed this screencast completely or just have you > moved to another video hosting site? My guess it was announced in > > Bastien. [Orgmode] New screencast about org-protocol.el. Sun, 19 Jul >

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

2025-06-12 Thread Max Nikulin
On 09/06/2025 21:13, Christian Moe wrote: Charles Choi writes: -* Screencast: small introduction to org-protocol.el - - #+begin_export html - http://vimeo.com/moogaloop.swf?clip_id=5662410&server=vimeo.com&show_title=1&show_byline=1&show_portrait=1&color=FF7700&fullscreen=1"; - /> Delete be

Re: WORG Patch 2/2 for Org Protocol Page

2025-06-11 Thread Max Nikulin
On 09/06/2025 21:13, Christian Moe wrote: Charles Choi writes: Interim snapshot of rewrite of Org Protocol page. This is still WIP, but intended to illustrate direction of changes to this document. Thanks for not only updating the Worg documentation for Org protocol, but also simplifying it i

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

2025-06-10 Thread Christian Moe
Max Nikulin writes: > I would consider something like the following > > * History of org-protocol Good idea! I'll be happy to add such a section myself when Charles's update is done, unless someone else would like to. A brief historical summary would be a good way to frame mention of org-annot

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

2025-06-10 Thread Max Nikulin
On 09/06/2025 21:13, Christian Moe wrote: Charles Choi writes: - #+begin_infobox - @As of Org mode release 7.01 =org-protocol-remember= is now by =org-protocol-capture=.@ Agree that it should be safe to delete this infobox. Remember's been obsolete for over 10 years. I would consider s

Re: WORG Patch 2/2 for Org Protocol Page

2025-06-09 Thread Christian Moe
Hi, Charles, Charles Choi writes: > Interim snapshot of rewrite of Org Protocol page. This is still WIP, > but intended to illustrate direction of changes to this document. Thanks for not only updating the Worg documentation for Org protocol, but also simplifying it in a comprehensive rewrite! W

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

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

2025-06-05 Thread Max Nikulin
On 04/06/2025 22:56, Charles Choi wrote: I see why Captee is missed in the updated text (mentioning it still might be helpful Will take that guidance. It is merely an opinion. Do not hesitate to object or just to ignore. Am I to understand that expectations of Apple is that Emacs applicati

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

2025-06-04 Thread Charles Choi
Max - Replies to your latest comments below: > Thanks for your patience. Reading Ihor's message I had an impression that > Captee is enough to pass org-protocol URLs to emacs. I was not aware that it > is just share target implementation and it needs another glue application to > pass data to

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

2025-06-04 Thread Max Nikulin
On 03/06/2025 21:28, Charles Choi wrote: I have published two macOS apps on the Mac App Store which support Org Protocol in different ways: - Captee (launched April 2023) which constructs an Org Protocol request from the macOS Share Menu. - Scrim (launched April 2025) which is an Org Protocol pr

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

2025-06-03 Thread Charles Choi
Max - Some background to help clarify matters and my responses to your points. I have published two macOS apps on the Mac App Store which support Org Protocol in different ways: - Captee (launched April 2023) which constructs an Org Protocol request from the macOS Share Menu. - Scrim (launched

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

2025-06-03 Thread Max Nikulin
On 31/05/2025 08:09, Charles Choi wrote: Interim snapshot of rewrite of Org Protocol page. This is still WIP, but intended to illustrate direction of changes to this document. Since it is major rewrite, subthreads for specific topics may be convenient. I have added "macOS" to the subject of th

WORG Patch 2/2 for Org Protocol Page

2025-05-30 Thread Charles Choi
Interim snapshot of rewrite of Org Protocol page. This is still WIP, but intended to illustrate direction of changes to this document. 0002-Rewrite-Org-Protocol-Page-org-protocol.org.patch Description: Binary data — Charles Y. Choi, Ph.D. kickingve...@gmail.com