sprig / org-capture-extension

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

Capture impossible via org-protocol probably due to a user error #71

Closed paulRbr closed 4 years ago

paulRbr commented 4 years ago

👋 Hello,

I have been trying to make the org-capture-extension work on my setup but I am still failing to get the whole process work fine. I tried all troubleshooting options and identified that my problem probably comes from my emacs configuration (I.e. after the execution emacsclient org-protocol://capture:/p/a/b).

  1. The org-capture-extension seems to work as expected as it opens my emacs window (via emacsclient)
  2. My org-capture-templates configuration seems to be correct, as I can successfully capture something “by hand” inside emacs (M-x org-capture followed by p opens a correct Capture buffer)
  3. The manual execution of emacsclient org-protocol://capture:/p/a/b in my terminal doesn't work :disappointed:

Please find below a screenshot of the error:

  1. The left buffer *help* describes the content of by org-capture-extension variable
  2. The top right buffer CAPTURE-notes.org is the buffer that opens when I manually execute the capture via M-x org-capture followed by p
  3. The bottom right buffer b is the newly opened buffer after executing emacsclient "org-protocol://capture:/p/a/b" manually in my terminal Screenshot from 2020-04-23 11-35-41

Versions used on my computer:

Any help would be very much appreciated 🙇‍♂️ and thanks for this extension which seems very promising!

paulRbr commented 4 years ago

Oh my ...!

It's the first line of the README :facepalm: I didn't follow the instruction from https://orgmode.org/worg/org-contrib/org-protocol.html. So yes, I basically didn't get it that I needed to load an extra package. Adding (require 'org-protocol) in my emacs config was enough to make the whole thing work!

Sorry for the noise :slightly_smiling_face: