On 27/06/2025 04:47, Charles Choi wrote:
On Jun 26, 2025, at 2:44 AM, Christian Moe wrote:
I was going to just apply this simple change right away, but it strikes
me that it entails some further changes that might as well be done in
the same patch. Suggestions:
[...]
Perhaps a more concise rewording is as follows in the draft text below:

I am neutral concerning this proposal.

* Using Org Protocol (replaces “Construct Org protocol URL Request")
[...]
** Web Browser Bookmark
(retain existing content)

** Captee (macOS)
(retain existing content)

** Terminal/Shell
Users with shell access can issue the URL request via command line utility. 
This utility is platform-dependent.
[...]
The scheme handler can be bypassed by direct invocation of
~emacsclient~. That said, on platforms like macOS this will lead to
security restrictions that prevent its usage by 3rd party applications.

I have not experimented with flatpak/snap, but sandboxed applications on Linux do not have access to emacsclient and Emacs socket (at least by default) as well, so it is more general limitation. I hope, XDG desktop portal allows to dispatch URL having custom scheme. I would consider moving discussion of emacsclient vs. system URL handler to the parent section (before web browser bookmarklets).

P.S. Has anybody tried org-protocol with Emacs installed as flatpak?

Reply via email to