wakatime-mode icon indicating copy to clipboard operation
wakatime-mode copied to clipboard

wakatime-save fails when opening buffer via org-protocol

Open coldacid opened this issue 3 years ago • 1 comments

Steps to reproduce

  1. Configure org and org-protocol
  2. Launch org-protocol://capture:/L/https%3A%2F%2Fexample.com/Example%20website
  3. Emacs opens a buffer for org-protocol, but...
  4. Get error message: Error in auto-save-hook (wakatime-save): (file-error "Setting current directory" "No error" "c:/WINDOWS/system32/org-protocol:/capture/")

coldacid avatar Sep 02 '20 14:09 coldacid

Sorry, URI in step 2 is incorrect, it's the old-style and works with Wakatime.el. It's the new-style links that fail (i.e. org-protocol://capture?template=L&url=https%3A%2F%2Fexample.com&title=Example%20website in this example).

coldacid avatar Sep 02 '20 14:09 coldacid