From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Re: Integration of Org mode and mairix Date: Mon, 30 Jul 2007 19:26:37 +0200 Message-ID: <87odht6bw2.fsf@bzg.ath.cx> References: <87r6n6ni2j.fsf@bzg.ath.cx> <20070720160833.GD28297@atlantic.linksys.moosehall> <87k5spsw81.fsf@bzg.ath.cx> <87ejip7ud8.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IFZ12-0006VK-32 for emacs-orgmode@gnu.org; Mon, 30 Jul 2007 13:26:44 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IFZ11-0006V1-Mn for emacs-orgmode@gnu.org; Mon, 30 Jul 2007 13:26:43 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IFZ11-0006Ur-D0 for emacs-orgmode@gnu.org; Mon, 30 Jul 2007 13:26:43 -0400 Received: from hu-out-0506.google.com ([72.14.214.227]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IFZ10-00044K-Ui for emacs-orgmode@gnu.org; Mon, 30 Jul 2007 13:26:43 -0400 Received: by hu-out-0506.google.com with SMTP id 23so1038177huc for ; Mon, 30 Jul 2007 10:26:41 -0700 (PDT) In-Reply-To: (Leo's message of "Mon\, 30 Jul 2007 17\:31\:03 +0100") 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: emacs-orgmode@gnu.org Leo writes: > I'd prefer to use trackerą, as it is one component of the GNU desktop > -- Gnome. There are just so many random email indexing tools. If we > want to pick one, Tracker is a good choice. Okay. Now it seems better to me not to integrate any exotic external tool directly within Org. Maybe we could use something like `org-custom-link-types' to do the trick: its need to know about new link-types, major modes where they come into play and what function `org-open-at-point' calls for them. For example : (setq org-custom-link-types '(("mairix" (gnus-summary-mode gnus-article-mode) 'org-make-mairix-link 'org-follow-mairix-link))) It will make Org knowing about a new "mairix" link type. When you're in `gnus-summary-mode' or `gnus-article-mode' this type is used instead of the default `gnus' type. `org-make-mairix-link' is used to build the link, and `org-follow-mairix-link' is used to open link at point. Am not completely sure on how this could be achieved in details, but I believe it's a better approach to the integration of tools like mairix, tracker and the like. What do you think? -- Bastien