Gnus development mailing list
 help / color / mirror / Atom feed
From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann)
Cc: ding@gnus.org
Subject: Re: [nnir] WIBNI
Date: 22 Dec 1999 17:47:55 +0100	[thread overview]
Message-ID: <vafiu1qzzus.fsf@lucy.cs.uni-dortmund.de> (raw)
In-Reply-To: Harry Putnam's message of "22 Dec 1999 05:11:16 -0800"

Harry Putnam <reader@newsguy.com> writes:

> Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) writes:
> 
> > Well, you can manually change nnir-mail-backend; that's rather easy.
> > But there is no user-interface for this, yet.
> > 
> > You could do (setq nnir-mail-backend (nth X
> > gnus-secondary-select-methods)) for various small numbers X if all
> > your servers are secondary, as opposed to foreign.
> 
> What are you talking about above?  Can you spell it out a bit more?

If you had both servers in gnus-secondary-select-methods, you could
have said

    M-: (setq nnir-mail-backend (nth 0 gnus-secondary-select-methods)) RET

to search the first one, and a similar line with 1 instead of 0 to
search the second one.

> However the server in question is listed in server buffer, an `e'
> shows:
> 
> (nnml "n2m"
>       (nnml-directory "/mnt/pack/n2m/")
>       (nnml-active-file "/mnt/pack/n2m/active"))
> 
> If I happen to respool messages by nnml backend, gnus prompts me for
> which nnml server I want.  I hoped to do something similar with nnir.

Well, it appears that gnus-opened-servers contains a list of all open
servers, so, hum.

Does the following do the trick (with M-:)?

(setq nnir-mail-backend (car (nth 0 gnus-opened-servers)))

Also try 1, 2 and so on instead of 0.

Like I said, it must be done manually right now, and I intend to add a
feature to nnir such that you can search several servers, but I
haven't been able to do it, yet.  I think it is more involved than
what is shown above.  For example, in addition to nnir-mail-backend
you need to set other variables, eg nnir-glimpse-home and so on.

kai
-- 
A preposition is not a good thing to end a sentence with.



  reply	other threads:[~1999-12-22 16:47 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-12-21  4:23 Harry Putnam
1999-12-21 21:19 ` Kai Großjohann
1999-12-22 10:54   ` Harry Putnam
1999-12-22 11:29     ` Kai Großjohann
1999-12-22 13:11       ` Harry Putnam
1999-12-22 16:47         ` Kai Großjohann [this message]
1999-12-23  1:18           ` Harry Putnam
1999-12-23  1:52             ` Harry Putnam
1999-12-23  9:51             ` Kai Großjohann
1999-12-23 12:30               ` Harry Putnam
1999-12-23 14:01                 ` Kai Großjohann
1999-12-23 20:47                   ` David S. Goldberg
1999-12-23 21:21                     ` David S. Goldberg

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=vafiu1qzzus.fsf@lucy.cs.uni-dortmund.de \
    --to=kai.grossjohann@cs.uni-dortmund.de \
    --cc=ding@gnus.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).