[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Bug: protocol capture without url corrupts org-stored-links [9.1
From: |
Nicolas Goaziou |
Subject: |
Re: [O] Bug: protocol capture without url corrupts org-stored-links [9.1.14 (9.1.14-1059-gadec50-elpaplus @ /home/ionasal/.emacs.d/elpa/org-plus-contrib-20181211/)] |
Date: |
Tue, 18 Dec 2018 09:34:33 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Hello,
Allen Li <address@hidden> writes:
> On Wed, Dec 12, 2018 at 9:59 AM Nicolas Goaziou <address@hidden> wrote:
>>
>> Could you give more context about the bug you're encountering? What does
>> mean "function correctly if a URL was not provided"? What is the use
>> case? What result did you expect, besides not encountering an error
>> message?
>
> The issue occurs when org protocol capture is invoked without a url param,
> e.g.
>
> emacsclient 'org-protocol://capture?url=percent-encoded-url&body=some-text'
>
> vs
>
> emacsclient 'org-protocol://capture?body=some-text'
>
> By "function correctly", I mean make the latter not break
> org-insert-link by not corrupting the value of org-stored-links.
>
> The use case is capturing some text without an associated URL.
Fixed. Thank you.
Regards,
--
Nicolas Goaziou