From: dsg@mitre.org (David S. Goldberg)
Subject: Re: Multiple mail backends/nnir
Date: 17 Apr 2000 09:30:00 -0400 [thread overview]
Message-ID: <m1bvh1gq2hz.fsf@blackbird.mitre.org> (raw)
In-Reply-To: Harry Putnam's message of "16 Apr 2000 10:59:57 -0700"
>> But you might be able to kluge something by writing little functions
>> which set nnir-mail-backend and nnir-search-engine.
> Yes, but I don't have much of a clue how to proceed.
I thought about trying to integrate all this in a manner similar (I
think) to what you are asking for, but ended up with this much more
simplistic approach in my .gnus:
;;;; nnir setup
(require 'nnir)
(defun dsg-nnir-search-mail ()
(interactive)
(setq nnir-search-engine 'glimpse
nnir-mail-backend '(nnml "")
nnir-glimpse-remove-prefix "/afs/rcf/user/dsg/\\.Mail/"
nnir-glimpse-home (expand-file-name "~/.Mail/incoming")))
(defun dsg-nnir-search-cache ()
(interactive)
(setq nnir-search-engine 'glimpse
nnir-mail-backend (cdr (assoc "cache" gnus-server-alist))
nnir-glimpse-remove-prefix ".*dsg/\\.News/cache/"
nnir-glimpse-home (expand-file-name "~/.Mail/incoming")))
(dsg-nnir-search-mail)
;;;; end .gnus snippet
When I want to search my cache, I just have to do M-x
dsg-nnir-search-cache before running GG.
--
Dave Goldberg
Post: The Mitre Corporation\MS K207\202 Burlington Rd.\Bedford, MA 01730
Phone: 781-271-3887
Email: dsg@mitre.org
prev parent reply other threads:[~2000-04-17 13:30 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-04-16 11:53 Harry Putnam
2000-04-16 13:01 ` Kai Großjohann
2000-04-16 17:59 ` Harry Putnam
2000-04-16 18:40 ` Kai Großjohann
2000-04-16 20:36 ` Harry Putnam
2000-04-17 9:55 ` Kai Großjohann
2000-04-17 13:30 ` David S. Goldberg [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=m1bvh1gq2hz.fsf@blackbird.mitre.org \
--to=dsg@mitre.org \
/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).