Re: [Ebib-users] elisp function to start ebib on specified bibtex entry
Brought to you by:
joostkremers
From: Ali T. <ali...@gm...> - 2010-12-10 17:13:22
|
Hi Joost, I've just tested your new code. It works perfectly. I'll be sending a notice to the org-mode list. /Ali On Thu, Dec 9, 2010 at 09:52, Joost Kremers <joo...@fa...> wrote: > On Wed, Dec 08, 2010 at 11:44:50AM -0500, Ali Tofigh wrote: >> I have now set up the connection between org-mode and ebib and it >> works great! It was easier than I had anticipated. I just added three >> lines to my .emacs: >> >> (org-add-link-type "ebib" 'org-ebib-open) >> (defun org-ebib-open (path) >> (ebib-start-on-entry path)) > > Looking at this a bit closer, it should be possible to just do: > > (org-add-link-type "ebib" 'ebib) > > No need to create a wrapper function org-ebib-open if all it does is call 'ebib > and pass on the argument unchanged. > > Unless of course there's a good reason for having an org link call a function > that starts with org-. But for me it works fine if I let org call ebib directly. > > J. > > > -- > Joost Kremers > Life has its moments > > ------------------------------------------------------------------------------ > This SF Dev2Dev email is sponsored by: > > WikiLeaks The End of the Free Internet > http://p.sf.net/sfu/therealnews-com > _______________________________________________ > Ebib-users mailing list > Ebi...@li... > https://lists.sourceforge.net/lists/listinfo/ebib-users > |