org-capture-extension icon indicating copy to clipboard operation
org-capture-extension copied to clipboard

Error in parsing value for ‘all’. Declaration dropped. org-capture-extension:1:13

Open terxw opened this issue 1 year ago • 0 comments

Hi,

after upgrading firefox, the extension doesn't work.

Before that everything was working without problem.

Manual saving with bookmarklet works.

javascript:location.href = 'org-protocol://capture?template=p&url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title || "[untitled page]")+'&body='+encodeURIComponent(document.getSelection())

info

OS: Linux mint 21.1 vera

Firefox 112.0.1 (64-bit)

org-capture extension version 0.2.1

emacs 29.0.60

The error in console is:

Error in parsing value for ‘all’.  Declaration dropped. [org-capture-extension:1:13]
(https://github.com/sprig/org-capture-extension)

test url 1 works:

emacs-capture "org-protocol://capture?template=p&url=https://www.reddit.com&title=ttt"
Waiting for Emacs...

emacs-capture

#!/bin/bash
emacsclient --socket-name=/run/user/1000/emacs/test "$@" 2> /tmp/eclient_error || (emacs --daemon=test && emacsclient -nc -s /run/user/1000/emacs/test)


test url 2 works:

emacsclient --socket-name=/run/user/1000/emacs/test  "org-protocol://capture?template=p&url=https://www.reddit.com/r/Python/comments/12tr2sn/pythoneers_here_what_are_some_of_the_best_python&title=ttt"
Waiting for Emacs...

terxw avatar Apr 23 '23 19:04 terxw