From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/38098 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: Problems with .newsrc.eld (aws: Re: self-contained nnml) Date: Mon, 20 Aug 2001 11:23:20 +0200 (CEST) Message-ID: References: <871ym7tq5a.fsf_-_@inanna.rimspace.net> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: main.gmane.org 1035173732 19026 80.91.224.250 (21 Oct 2002 04:15:32 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:15:32 +0000 (UTC) Cc: Return-Path: Return-Path: Original-Received: (qmail 4559 invoked from network); 20 Aug 2001 09:23:28 -0000 Original-Received: from lie.extundo.com (195.42.214.244) by gnus.org with SMTP; 20 Aug 2001 09:23:28 -0000 Original-Received: from localhost (jas@localhost) by lie.extundo.com (8.11.2/8.11.2) with ESMTP id f7K9NK308513; Mon, 20 Aug 2001 11:23:20 +0200 X-Authentication-Warning: lie.extundo.com: jas owned process doing -bs Original-To: Daniel Pittman In-Reply-To: <871ym7tq5a.fsf_-_@inanna.rimspace.net> Original-Lines: 60 Xref: main.gmane.org gmane.emacs.gnus.general:38098 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:38098 On Mon, 20 Aug 2001, Daniel Pittman wrote: > On Sun, 19 Aug 2001, Simon Josefsson wrote: > > Daniel Pittman writes: > > > >> Recompile, yada, yada, then we boot XEmacs and it starts Gnus... > >> > >> ...the bootstrapping of the NNML marks works just fine. > > > > Does the .marks file contain correct marks for the nnml groups? > > (If so, backup them now :-)) > > Yeah, it's got the right values and all. So does my .newsrc.eld > > What isn't right is that .newsrc.eld has the wrong number in the first > field of the record for each group, such that: > > ("Inbox.stats.mail" 3 ((1 . 34)) nil nil ((timestamp 15232 18635))) > > The 3 there just after the group name seems to be what's causing the > problems; that's the number of items shown for each group in the > *Groups* buffer... No, it's the group level. It looks ok. It looks as if your nnml server is your primary select method? If so, that may explain things, the bootstrap hack is ugly. Perhaps you could evaluate the following two expressions: (gnus-server-to-method "nnml:") (gnus-group-prefixed-name "Inbox.stats.mail" (gnus-server-to-method "nnml:")) (gnus-get-info (gnus-group-prefixed-name "Inbox.stats.mail" (gnus-server-to-method "nnml:"))) If the third expression evaluate to nil, I believe we've found the bug. > > Does the .marks file contain exactly the same marks as `G E'? > > Yes, with the exception of adding `read' to the start of the read field, > which isn't present in .newsrc.eld, and *not* featuring the magic number > 3 anywhere in the record. > > I presume both these differences are by design, though Yup. Hm. Maybe it should copy the group level and group parameters as well. > > Could you edebug `nnml-request-update-info'? Especially compare the > > `info' on input with how it looks when the function is about to > > terminate. > > That's all correct. The issue is that when using `g', rather than `M-g', > this function gets 3 passed in as the, er, second value of the INFO > argument. Err, the second value of info should probably be 3, it's the group level. Could you post how they look both with `g' and `M-g'?