Hello, Allen Li <darkfel...@felesatra.moe> writes:
> On Wed, Dec 12, 2018 at 9:59 AM Nicolas Goaziou <m...@nicolasgoaziou.fr> > 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