From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Integration of Org mode and mairix Date: Tue, 25 Sep 2007 07:41:13 -0700 Message-ID: <74b3ef40b402a88a73c4579588eda983@gmail.com> References: <87r6n6ni2j.fsf@bzg.ath.cx> <20070720160833.GD28297@atlantic.linksys.moosehall> <87k5spsw81.fsf@bzg.ath.cx> <87ejip7ud8.fsf@bzg.ath.cx> <876440tsul.fsf@presario.homelinux.org> <87k5sgpg6o.fsf@bzg.ath.cx> <87lkcqlppr.fsf@presario.homelinux.org> <87ps1z5iyk.fsf@bzg.ath.cx> <388c72288e3d9901c132aa791e9f6fbf@gmail.com> Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IaCKX-00026E-EI for emacs-orgmode@gnu.org; Tue, 25 Sep 2007 11:28:09 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IaCKU-00022b-NC for emacs-orgmode@gnu.org; Tue, 25 Sep 2007 11:28:09 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IaCKU-00022E-GY for emacs-orgmode@gnu.org; Tue, 25 Sep 2007 11:28:06 -0400 Received: from rv-out-0910.google.com ([209.85.198.187]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IaCKU-0003CR-6a for emacs-orgmode@gnu.org; Tue, 25 Sep 2007 11:28:06 -0400 Received: by rv-out-0910.google.com with SMTP id c27so1644355rvf for ; Tue, 25 Sep 2007 08:28:03 -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: "Georg C. F. Greve" Cc: emacs-orgmode@gnu.org On Sep 24, 2007, at 10:38, Georg C. F. Greve wrote: > I now created org-mairix-gnus.el to hook mairix into Org mode using > Gnus > as the MUA. This is essentially the same functionality (minus threading > capabilities) so it can be used instead of the patch. A simple > > (require 'org-mairix-gnus) > > in your .gnus should do the job. > > Prerequisites are that mairix is set up, and that the variable > > mairix-gnus-results-group > > is set to whatever you're using to display mairix search results. > > I'd still like to clean up the code, however, and am wondering about > potential threaded search. Would it be possible to > > a) give additional arguments to the function to open the link? > > or > > b) have different functions to follow the link? > > It strikes me that a might be much easier than b, though. It is entirely up to you to define the syntax for this and process arguments. The function org-mairix-gnus-open will be called with whatever was after the "mairix:" tag in the link. Just define your own syntax for passing arguments, like [[mairix: -thread -verbose -new-frame]] and process it in org-mairix-gnus-open. - Carsten