From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Integration of Org mode and mairix Date: Tue, 24 Jul 2007 16:38:22 +0200 Message-ID: <87k5spsw81.fsf@bzg.ath.cx> References: <87r6n6ni2j.fsf@bzg.ath.cx> <20070720160833.GD28297@atlantic.linksys.moosehall> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IDLX0-0007qA-GM for emacs-orgmode@gnu.org; Tue, 24 Jul 2007 10:38:34 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IDLWy-0007pF-MW for emacs-orgmode@gnu.org; Tue, 24 Jul 2007 10:38:34 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IDLWy-0007pA-JD for emacs-orgmode@gnu.org; Tue, 24 Jul 2007 10:38:32 -0400 Received: from hu-out-0506.google.com ([72.14.214.230]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IDLWy-00058B-0T for emacs-orgmode@gnu.org; Tue, 24 Jul 2007 10:38:32 -0400 Received: by hu-out-0506.google.com with SMTP id 23so1709667huc for ; Tue, 24 Jul 2007 07:38:31 -0700 (PDT) In-Reply-To: (Georg C. F. Greve's message of "Mon\, 23 Jul 2007 01\:15\:31 +0200") 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 Hi Georg and list, "Georg C. F. Greve" writes: > On Fri, 20 Jul 2007 17:08:33 +0100 > Adam Spiers wrote: > > as> Funnily enough, I implemented exactly this idea about 15 months > as> ago, except that my implementation uses mairix (the mail indexer), > as> and is mode-agnostic. > > Thanks a lot, this is most interesting and put me on the right track. > > Combining your work with that of Guy Hillenius, which he blogged at > http://www.hillenius.net/node/44 I integrated Gnus, Mairix & Org now. Thanks for pointing on mairix and providing an integrated solution for org/Gnus/mairix. I tried your patch and the mairix-related elisp code, it works fine here. One little fix though: if Gnus is not loaded when following a mairix link, it returns an error. Please make `org-follow-mairix-link' and `org-follow-mairix-link-thread' (re)loading Gnus with something like: (require 'gnus) (funcall (cdr (assq 'gnus org-link-frame-setup))) (if gnus-other-frame-object (select-frame gnus-other-frame-object)) The "mairix" solution is especially elegant because it does not only handle the case where you need to find a particular email, but it also comes with lots of useful search options. For example, if you need to check all message explicitely sent to you in the last three days, just add a link like: [[mairix:d:3d- t:me]] If you need to find mails from Carsten with "Org" in their subjects: [[mairix:s:Org f:Carsten]] Caveat: for those who want to use mairix with the `nnml' Gnus backend, install mairix >0.17.1. Debian(-based) systems will only install 0.17 and your `nnml' folders won't be indexed. -- Bastien