Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Troubles with nnir.el and Glimpse
@ 2004-06-14 13:21 Tassilo Horn
  2004-06-14 19:07 ` [Solved] " Tassilo Horn
  0 siblings, 1 reply; 2+ messages in thread
From: Tassilo Horn @ 2004-06-14 13:21 UTC (permalink / raw)


Hi,

I want to use nnir.el and glimpse to search in my mails. They're stored
in the directories:
   
   /home/heimdall/Mail/mail/Freenet/
   /home/heimdall/Mail/mail/GMX/
   /home/heimdall/Mail/mail/Uni/ 
   and so on...

As mail backend I use nnml. The group names are "mail.Freenet" etc...

I checked out a current nnir.el from the Gnus CVS and configured it by
putting this in my ~/.gnus:

(require 'nnir)
(setq nnir-mail-backend 
      (nth 0 gnus-secondary-select-methods) 
      nnir-search-engine 'glimpse 
      nnir-glimpse-home "/home/heimdall/Mail" 
      nnir-glimpse-remove-prefix "/home/heimdall/Mail/")

When I now type `G G jeans` in the Group buffer I get the following
output in the *Messages* Buffer:

,----
| Doing glimpse query ((query . jeans))...
| glimpse args: -H /home/heimdall/Mail -W -l -y -i -F 
|                                      /home/heimdall/Mail/ jeans
| Doing glimpse query ((query . jeans))...done
| Retrieving newsgroup: nnir:((query . "jeans"))...
| Fetching headers for nnir:((query . "jeans"))...
| nnir-retrieve-headers: Args out of range: ["nnml:mail.Freenet" 9], 2
`----

If I call glimpse with the arguments above in a terminal I get this
output: 

,----
| $ glimpse -H /home/heimdall/Mail -W -l -y -i -F 
|                                  /home/heimdall/Mail/ Jeans
| /home/heimdall/Mail/mail/Freenet/.overview
| /home/heimdall/Mail/mail/Freenet/439
| /home/heimdall/Mail/mail/sent/.overview
| /home/heimdall/Mail/mail/sent/580
| /home/heimdall/Mail/mail/sent/590
`----

I think this looks good. So what am I doing wrong?

Much thanks in advance,
     Tassilo


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Solved] Troubles with nnir.el and Glimpse
  2004-06-14 13:21 Troubles with nnir.el and Glimpse Tassilo Horn
@ 2004-06-14 19:07 ` Tassilo Horn
  0 siblings, 0 replies; 2+ messages in thread
From: Tassilo Horn @ 2004-06-14 19:07 UTC (permalink / raw)


Hi,

after choosing swish-e over Glimpse nnir.el works flawlessly.

Regards,
        Tassilo
-- 
"If you can't make it good, at least make it look good." Bill Gates on
 the solid code base of Win9X


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-06-14 19:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-14 13:21 Troubles with nnir.el and Glimpse Tassilo Horn
2004-06-14 19:07 ` [Solved] " Tassilo Horn

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).