egh / zotxt-emacs

140 stars 11 forks source link

org-zotxt--link-follow and org-zotxt-open-attachment #42

Open plantarum opened 4 years ago

plantarum commented 4 years ago

Hi,

By default, zotero links have the follow parameter set to the function org-zotxt--link-follow. This doesn't do anything for me - pressing enter with point on a link, nothing happens.

Looking through the code, I think the function org-zotxt-open-attachment actually behaves as you'd expect when following a link. Replacing the :follow parameter with that function name, I can open the linked document by pressing enter with point on the link. That's preferable to calling it explicitly with C-c " a I think.

Should the current configuration work when following links? If so, something is broken. Alternatively, is there any reason not to use org-zotxt-open-attachment as the follow function?

Best,

Tyler