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/)]

2018-12-18 Thread Nicolas Goaziou
Hello, Allen Li writes: > On Wed, Dec 12, 2018 at 9:59 AM Nicolas Goaziou > 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

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/)]

2018-12-12 Thread Allen Li
On Wed, Dec 12, 2018 at 9:59 AM Nicolas Goaziou 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

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/)]

2018-12-12 Thread Nicolas Goaziou
Hello, Allen Li writes: > I didn't realize that org-protocol-capture is documented for URLs, > since the concept of capturing through org-protocol is useful for > non-web browser contexts. > > Anyway, I'm not interested in updating the documentation for > org-protocol-capture at the moment, but

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/)]

2018-12-11 Thread Allen Li
Attached patch I didn't realize that org-protocol-capture is documented for URLs, since the concept of capturing through org-protocol is useful for non-web browser contexts. Anyway, I'm not interested in updating the documentation for org-protocol-capture at the moment, but even if

[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/)]

2018-12-11 Thread Allen Li
Using Org protocol capture without supplying a URL inserts a corrupt entry into org-stored-links (nil ""). The nil causes a type error later in org-insert-link. (defun org-protocol-do-capture (info) "Perform the actual capture based on INFO." (let* ((temp-parts (org-protocol-parse-parameters