On 27/01/2022 06:02, Thuna wrote:
Currently org-protocol-store-link assumes FNAME to be in the old-style.
Changing the nil in line 467 of org-protocol.el to (listp fname) fixes
the issue.
Could you, please, describe your actual problem?
I have tried
emacsclient 'org-protocol://store-link?url=http://o.rg/&title=Tt1'
emacsclient 'org-protocol://store-link:/https:%2F%2Fo2.rg/Tt2'
and both links have been stored successfully.
There are even some tests for handling of new and old style URIs by
store-link subprotocol though they are not run by default.