Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Michael Piotrowski <mxp@dynalabs.de>
Subject: Re: gnus and namazu, glimpse, swish-e or swish++ ?
Date: Tue, 18 Jul 2006 18:58:19 +0200	[thread overview]
Message-ID: <x6wtaaluj8.fsf@aix.cs.uni-magdeburg.de> (raw)
In-Reply-To: <873bd19o7d.fsf@ashbery.wjsullivan.net>

On 2006-07-17 John Sullivan <usenet@wjsullivan.net> wrote:

> But, for mail searching, if you are using maildir, check out mairix. I
> haven't looked at integrating it into emacs yet, but it builds a
> maildir folder containing links to the matching messages, which you
> can then browse in Gnus. I can't believe how fast it searches -- it's
> unreal.

Very true!  The indexing is also *very* fast.

I'm using a very simple "integration" into Gnus (I'm using nnml for
normal mail and nnfolder for archive groups).  I created a directory
~/Mail/search-results and put the following in ~/.mairixrc:

#v+
base=~/Mail
mh=mail...:list...
mbox=archive/sent-mail/[0-9][0-9][0-9][0-9]-[0-9][0-9]:archive/sent-news
mformat=mh
mfolder=search-results
database=/home/mxp/.mairix_db
#v-

I then added ~/Mail/search-results as a foreign nnmh group in Gnus (I
also made it "permanently visible" so that it's easier to find).  For
searching I simply use something like

  M-! mairix f:larsi RET g

in the Group buffer and I can then browse the results in the
search-results group.

The only minor annoyances are that I have to press g to update the
group before entering it the first time and that the message counts
are (understandably) *way* off.  Apart from that I'm very satisfied
with this setup: It's easy, fast, and transparent.

-- 
Michael Piotrowski, M.A.                               <mxp@dynalabs.de>
Public key at <http://www.dynalabs.de/mxp/pubkey.txt>

      reply	other threads:[~2006-07-18 16:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-30  9:12 Gijs Hillenius
2006-07-15 20:07 ` Reiner Steib
2006-07-16 22:31   ` John Sullivan
2006-07-18 16:58     ` Michael Piotrowski [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=x6wtaaluj8.fsf@aix.cs.uni-magdeburg.de \
    --to=mxp@dynalabs.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).