From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/31466 Path: main.gmane.org!not-for-mail From: Harry Putnam Newsgroups: gmane.emacs.gnus.general Subject: Re: example queries for nnir Date: 20 Jun 2000 04:29:06 -0700 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1035167873 14178 80.91.224.250 (21 Oct 2002 02:37:53 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:37:53 +0000 (UTC) Return-Path: Original-Received: from karazm.math.uh.edu (karazm.math.uh.edu [129.7.128.1]) by mailhost.sclp.com (Postfix) with ESMTP id 2B98BD051E for ; Tue, 20 Jun 2000 07:34:49 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by karazm.math.uh.edu (8.9.3/8.9.3) with ESMTP id GAC12005; Tue, 20 Jun 2000 06:31:13 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 20 Jun 2000 06:30:23 -0500 (CDT) Original-Received: from mailhost.sclp.com (postfix@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id GAA27370 for ; Tue, 20 Jun 2000 06:30:09 -0500 (CDT) Original-Received: from mail.networkone.net (mail.networkone.net [209.144.112.75]) by mailhost.sclp.com (Postfix) with SMTP id 669CBD051F for ; Tue, 20 Jun 2000 07:30:42 -0400 (EDT) Original-Received: (qmail 3258 invoked from network); 20 Jun 2000 11:30:41 -0000 Original-Received: from adsl-117-113.ln.networkone.net (HELO reader.ptw.com) (209.144.117.113) by mail.networkone.net with SMTP; 20 Jun 2000 11:30:41 -0000 Original-Received: (from reader@localhost) by reader.ptw.com (8.9.3/8.9.3) id EAA19944; Tue, 20 Jun 2000 04:30:35 -0700 X-Authentication-Warning: reader.ptw.com: reader set sender to reader@newsguy.com using -f Original-To: ding@gnus.org In-Reply-To: Kai.Grossjohann@CS.Uni-Dortmund.DE's message of "Sun, 18 Jun 2000 21:27:28 +0200" User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.5 Original-Lines: 95 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:31466 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:31466 Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Gro=DFjohann) writes: [...] > > Very unfamiliar with wais here, so any examples would be very usefull. >=20 > Using the example format file given in nnir.el, there are four fields: > to, from, subject, and the global field. >=20 > The to field contains the To and Cc mail headers. The from field > contains the From mail header. The subject field contains the Subject > mail header. >=20 > The global field contains all of the above headers, plus the body of > each message. So, there is no way to search just the body by itself? [...] snipped good examples > > ;; . . . . . . . . . . . . . . . . . . . . . . . . . . . . The > > ;; second variable to set is `nnir-search-engine'. Choose one of the > > ;; engines listed in `nnir-engines'. >=20 > I have now included an explicit pointer to the variable > documentation. I have also tried to beef up the documentation for > nnir-engines. Did it help? New version on ftp server, > ftp://ls6-ftp.cs.uni-dortmund.de/pub/src/emacs/ Checking that version, I see what is changed but it still doesn't make it clear how using the engines in that alist might look when included in nnir variables. Going form this: nnir-engines's value is=20 ((glimpse nnir-run-glimpse ((group . "Group spec: "))) (wais nnir-run-waissearch nil) (excite nnir-run-excite-search nil) (imap nnir-run-imap nil)) to this: (setq nnir-search-engine 'glimpse) Is not apparent from nnir.el comments, unless you know a little lisp. Including some simple examples of actual settings might be more usefull. Indicating which are default setting would help too. Nnir.el does this for the some of the variables pertaining to glimpse and wais already. Sorry, I started to send you a patch to include some of what I think would be usefull but quickly discovered I didn't know enough about nnir varilables to be accurate. What I had in mind would look something like this: ### examples for inclusion in ~/.gnus ## variable nnir-mail-backend example settings: ## If gnus-secondary-select-methods is set to only one of either nnml ## or nnmh backend then nnir will default to that backend (Kai, is ## this true?) ## If more than one mail backend is used then nnir-mail-backend can be=20 ## set like this (must be nnml or nnmh): ## (setq nnir-mail-backend '(BACKEND "NAME")) <=3D=3D(probably not accura= te) ## (setq nnir-mail-backend '(nnml "my-server")) ## variable nnir-search-engines example settings: ## (setq nnir-search-engine 'BACKEND) ## (setq nnir-search-engine 'glimpse) ## (setq nnir-search-engine 'wais) Similar examples following the sections on glimpse and wais, in there `setq' format for inclusion in gnus would be nice too: Something like: (setq nnir-glimpse-remove-prefix "/PATH/DIRECTORY/") or (setq nnir-glimpse-home "/PATH/DIRECTORY/"/ It would also be handy if all nnir vars were settable with M-x set-variable so users wouldn't have to go to customize or know the elisp code to eval with M-:=20 That would make it easier to experiment with various settings for a given session. M-x customize is fairly cumbersome.