From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/57952 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: nnir-retrieve-headers fails Date: Tue, 22 Jun 2004 18:39:21 +0200 Sender: ding-owner@lists.math.uh.edu Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1087922447 5031 80.91.224.253 (22 Jun 2004 16:40:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 22 Jun 2004 16:40:47 +0000 (UTC) Original-X-From: ding-owner+M6493@lists.math.uh.edu Tue Jun 22 18:40:37 2004 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BcoK5-000560-00 for ; Tue, 22 Jun 2004 18:40:37 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1BcoJ8-0003p5-00; Tue, 22 Jun 2004 11:39:38 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1BcoJ0-0003ox-00 for ding@lists.math.uh.edu; Tue, 22 Jun 2004 11:39:30 -0500 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1BcoIz-00040c-3d for ding@lists.math.uh.edu; Tue, 22 Jun 2004 11:39:29 -0500 Original-Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by justine.libertine.org (Postfix) with ESMTP id 840983A003A for ; Tue, 22 Jun 2004 11:39:26 -0500 (CDT) Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BcoIv-0002tm-00 for ; Tue, 22 Jun 2004 18:39:25 +0200 Original-Received: from c494102a.s-bi.bostream.se ([217.215.27.65]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 22 Jun 2004 18:39:25 +0200 Original-Received: from jas by c494102a.s-bi.bostream.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 22 Jun 2004 18:39:25 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Lines: 51 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: c494102a.s-bi.bostream.se User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:cijqZnfReQ2pL2fXsS8Z7Bn7Y/Q= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:57952 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:57952 Niklas Morberg writes: > Sorry for all the postings today. I really want to be able > to search through all my emails from within Gnus. > > When using nnir (nnir-version is: "$Id: nnir.el,v 1.1.1.1 > 2003/04/04 20:16:09 lolando Exp $") with `G G' from the > group buffer and Gnus 5.10.6 I get the following error: > > nnheader-parse-head returned nil for article 4354 in group nnml:archive > > I get the same error (but for different files) no matter > what search string I try to use. I have tried both swish-e > and swish++, and the problem is there for both search > engines. My settings are: > > (setq gnus-select-method '(nnimap "my-imap-server" (nnimap-stream ssl))) > ;; I only use nnml to be able to use nnir. Do I need it at all? > (setq gnus-secondary-select-methods '((nnml "")))) > > ;; nnir with swish++ > (require 'nnir) > (setq nnir-search-engine 'swish++) > (setq nnir-swish++-program "search++") > (setq nnir-swish++-index-file "/home/niklas/News/swish++.index") > (setq nnir-swish++-configuration-file "/home/niklas/News/swish++.conf") > (setq nnir-swish++-remove-prefix "/home/niklas/News/agent/nnimap/my-imap-server/")) > > ;; nnir with swish-e > (require 'nnir) > (setq nnir-search-engine 'swish-e) > (setq nnir-swish-e-index-file "/home/niklas/News/index.swish-e") > (setq nnir-swish-e-remove-prefix "/home/niklas/News/agent/nnimap/my-imap-server/") > > I use the agent to fetch messages from my IMAP server to > local storage and the file (e.g. 4354) does exist locally. > > I tried upgrading to nnir-version "$Id: nnir.el,v 7.4 > 2004/04/05 14:20:07 rsteib Exp $", but the result is still > the same. What do you want to search with nnir? If it is IMAP, then you need: (setq nnir-search-engine 'imap) And then use # on the groups you want to search, and then G G. This uses the SEARCH command on the IMAP server directly, bypassing the Gnus backend interface. If you want to search the agent copy of the IMAP server, using swish, I'm afraid I don't know how to do it.