sprig / org-capture-extension

A Chrome and firefox extension facilitating org-capture in emacs
MIT License
538 stars 56 forks source link

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

Closed terxw closed 3 months ago

terxw commented 1 year ago

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...
sprig commented 3 months ago

A bit late; I cannot reproduce this on Firefox 129.0.2 on MacOS.

Since I cannot reproduce and so much time has passed, I will close the ticket but feel free to reopen if you are still experiencing problems.