From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: orgmode and ebib Date: Sun, 30 May 2010 22:29:38 +0200 Message-ID: References: Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=56170 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OIp8i-00011e-Og for emacs-orgmode@gnu.org; Sun, 30 May 2010 16:29:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OIp8h-0005J6-D5 for emacs-orgmode@gnu.org; Sun, 30 May 2010 16:29:44 -0400 Received: from mail-ew0-f216.google.com ([209.85.219.216]:40870) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OIp8h-0005J1-7m for emacs-orgmode@gnu.org; Sun, 30 May 2010 16:29:43 -0400 Received: by ewy8 with SMTP id 8so814912ewy.8 for ; Sun, 30 May 2010 13:29:42 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Ali Tofigh Cc: emacs-orgmode On May 28, 2010, at 10:39 PM, Ali Tofigh wrote: > hi, > > i use ebib to manage my bibtex references. it would be really cool if > orgmode could follow links to bibtex entries using ebib. what i would > like is to be able to follow a link such as [[bib:bibentry]] and end > up in ebib, with my standard bibtex database opened, and entry > positioned at the bibentry. can this be achieved without adding > functionality to orgmode? Very likely, this is very simple to implement - but I don't know ebib and what API it offers to find and display entries. If someone is interested to hack this, look at org-bibtex.e and at the manual: http://orgmode.org/manual/Adding-hyperlink-types.html#Adding-hyperlink-types The basic code for this will be very simple indeed, like (org-add-link-type "ebib" 'org-ebib-open) (defun org-bib-open (path) ;; PATH will be the bibentry key here (some-ebib-function-to-find-and-display path)) HTH - Carsten