emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [BUG] org-protocol-store-link does not account for argument type


From: Max Nikulin
Subject: Re: [BUG] org-protocol-store-link does not account for argument type
Date: Thu, 27 Jan 2022 21:49:25 +0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0

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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]