From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/28409 Path: main.gmane.org!not-for-mail From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai=?iso-8859-1?q?_Gro=DFjohann?=) Newsgroups: gmane.emacs.gnus.general Subject: Re: [nnir] WIBNI Date: 22 Dec 1999 17:47:55 +0100 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 1035165262 29738 80.91.224.250 (21 Oct 2002 01:54:22 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 01:54:22 +0000 (UTC) Cc: ding@gnus.org Return-Path: Original-Received: from spinoza.math.uh.edu (spinoza.math.uh.edu [129.7.128.18]) by mailhost.sclp.com (Postfix) with ESMTP id A4545D051E for ; Wed, 22 Dec 1999 11:52:13 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by spinoza.math.uh.edu (8.9.1/8.9.1) with ESMTP id KAB18198; Wed, 22 Dec 1999 10:51:53 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 22 Dec 1999 10:50:22 -0600 (CST) 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 KAA26377 for ; Wed, 22 Dec 1999 10:50:11 -0600 (CST) Original-Received: from waldorf.cs.uni-dortmund.de (waldorf.cs.uni-dortmund.de [129.217.4.42]) by mailhost.sclp.com (Postfix) with ESMTP id 66EFAD051E for ; Wed, 22 Dec 1999 11:48:29 -0500 (EST) Original-Received: from marcy.cs.uni-dortmund.de (marcy.cs.uni-dortmund.de [129.217.20.159]) by waldorf.cs.uni-dortmund.de with ESMTP id RAA09860; Wed, 22 Dec 1999 17:47:56 +0100 (MET) Original-Received: from lucy.cs.uni-dortmund.de (lucy [129.217.20.160]) by marcy.cs.uni-dortmund.de id RAA02819; Wed, 22 Dec 1999 17:47:56 +0100 (MET) Original-Received: (from grossjoh@localhost) by lucy.cs.uni-dortmund.de (8.9.3/8.9.3/Debian 8.9.3-6) id RAA16705; Wed, 22 Dec 1999 17:47:55 +0100 X-Authentication-Warning: lucy.cs.uni-dortmund.de: grossjoh set sender to Kai.Grossjohann@CS.Uni-Dortmund.DE using -f Original-To: Harry Putnam In-Reply-To: Harry Putnam's message of "22 Dec 1999 05:11:16 -0800" Original-Lines: 49 User-Agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.5 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:28409 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:28409 Harry Putnam writes: > Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Gro=DFjohann) writes: >=20 > > Well, you can manually change nnir-mail-backend; that's rather easy. > > But there is no user-interface for this, yet. > >=20 > > 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. >=20 > 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: >=20 > (nnml "n2m" > (nnml-directory "/mnt/pack/n2m/") > (nnml-active-file "/mnt/pack/n2m/active")) >=20 > 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 --=20 A preposition is not a good thing to end a sentence with.