org-roam / org-roam-bibtex

Org Roam integration with bibliography management software
GNU General Public License v3.0
565 stars 47 forks source link

Ebib support #230

Open TheJJ opened 2 years ago

TheJJ commented 2 years ago

I'd like to be able to create/open an associated org-roam note from an ebib entry.

myshevchuk commented 2 years ago

Hi. This is something I've been wanting to implement since a long time. However, it appears that Ebib's note taking system is heavily melted into Ebib core and it will be not that easy to hook into it. It'll take quite some time. Any help is appreciated.

xwzliang commented 2 years ago

I’m not an expert on this, but I tried creating a custom function and call it in an ebib index or entry buffer, it seems working fine:

(defun my-ebib-popup-note (key)
    (interactive (list (ebib--get-key-at-point)))
    (orb-edit-note key))
myshevchuk commented 2 years ago

@xwzliang, yes, well that's really simple. A few more things need to be done to get the indicator support. It seems that we just need to completely shadow several Ebib note-related functions. That's a somewhat brute force approach, but hey.

xwzliang commented 2 years ago

@myshevchuk Yes it’s more of a hack, but for now it suits my simple needs :)