From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/63329 Path: news.gmane.org!not-for-mail From: Andreas Seltenreich Newsgroups: gmane.emacs.gnus.general Subject: Re: nnir.el error Date: Sat, 10 Jun 2006 09:59:22 +0200 Message-ID: <87fyidqw4l.fsf@gate450.dyndns.org> References: <87lks9nkof.fsf@nokile.rath.org> <87d5dkkxle.fsf@gate450.dyndns.org> <878xo8q8nf.fsf@nokile.rath.org> <87ac8m9mtu.fsf@gate450.dyndns.org> <87r71xwkum.fsf@nokile.rath.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1149926452 22173 80.91.229.2 (10 Jun 2006 08:00:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 10 Jun 2006 08:00:52 +0000 (UTC) Original-X-From: ding-owner+m11856@lists.math.uh.edu Sat Jun 10 10:00:51 2006 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FoyOj-0000xL-92 for ding-account@gmane.org; Sat, 10 Jun 2006 10:00:45 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1FoyOe-0005Ny-00; Sat, 10 Jun 2006 03:00:41 -0500 Original-Received: from nas01.math.uh.edu ([129.7.128.39]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1FoyNY-0005Nq-00 for ding@lists.math.uh.edu; Sat, 10 Jun 2006 02:59:32 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas01.math.uh.edu with esmtp (Exim 4.52) id 1FoyNW-0005ua-87 for ding@lists.math.uh.edu; Sat, 10 Jun 2006 02:59:32 -0500 Original-Received: from smtp1.rz.uni-karlsruhe.de ([129.13.185.217]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1FoyNV-0007MO-00 for ; Sat, 10 Jun 2006 09:59:29 +0200 Original-Received: from rzstud2.stud.uni-karlsruhe.de (exim@rzstud2.stud.uni-karlsruhe.de [193.196.41.38]) by smtp1.rz.uni-karlsruhe.de with esmtp (Exim 4.50 #1) id 1FoyNU-00008v-SH; Sat, 10 Jun 2006 09:59:28 +0200 Original-Received: from uwi7 by rzstud2.stud.uni-karlsruhe.de with local (Exim 4.43) id 1FoyNU-0004Eq-J2 for ding@gnus.org; Sat, 10 Jun 2006 09:59:28 +0200 Original-To: ding@gnus.org X-Face: $:F<87a[gD1?#R6S3j21cr1&C&7bd63GHC.tSdskUb}hhwG(ci*=D5kJ<_N+p9q(7-,PnG. Et.Yh (Nikolaus Rath's message of "Sat, 10 Jun 2006 09:06:25 +0200") User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.51 (gnu/linux) X-Spam-Score: -2.6 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:63329 Archived-At: Nikolaus Rath writes: > Andreas Seltenreich writes: >> Nikolaus Rath writes: >> >>> Andreas Seltenreich writes: >>> >>>> Does it work for you with nnir.el from CVS plus the following patch >>>> and nnir-mail-backend set to nil (it isn't by default)? >>> >>> No, similar error: >>> >>> Debugger entered--Lisp error: (wrong-type-argument arrayp nil) >>> aset(nil 0 306) >>> (mail-header-set-number novitem art) >> >> Could you take a look at the variables artitem, server and artgroup >> when error occurs? E.g., while in the recursive edit caused by the >> debugger, change to a message buffer and hit C-x C-e after the >> following form: >> >> (gnus-prin1 (list artitem server artgroup )) >> >> It might give a clue if something obvious goes wrong. > > This produced: > > (gnus-prin1 (list artitem server artgroup )) > > (["nnml:home.nikratio.Gnus.Groups.Archiv.2000" 743 166] "nnml:" "home.nikratio.Gnus.Groups.Archiv.2000") Ah, there we go. This looks very much like there isn't anything cut off from the file names spit out by swish-e. If the actual group name existing in the nnml server is "Archiv.2000", then nnir-swish-e-remove-prefix should rather look like "/home/nikratio/Gnus/Groups/" than "/home/nikratio/Gnus/swish-e/" Cutting off the prefix from the file names returned by swish-e and replacing the remaining dashes with dots needs to yield a valid nnml group name for nnir to work. I'm confident that it'll work with a proper prefix. regards, andreas