From: Daniel Pittman <daniel@rimspace.net>
Subject: Re: Problems with .newsrc.eld (aws: Re: self-contained nnml)
Date: Tue, 21 Aug 2001 15:07:29 +1000 [thread overview]
Message-ID: <87k7zyt2zy.fsf@inanna.rimspace.net> (raw)
In-Reply-To: <Pine.LNX.4.33.0108201110070.8443-100000@lie.extundo.com> (Simon Josefsson's message of "Mon, 20 Aug 2001 11:23:20 +0200 (CEST)")
On Mon, 20 Aug 2001, Simon Josefsson wrote:
> On Mon, 20 Aug 2001, Daniel Pittman wrote:
>> On Sun, 19 Aug 2001, Simon Josefsson wrote:
>> > Daniel Pittman <daniel@rimspace.net> 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.
Ah. Here was I feeling all clever-like, too. :)
> It looks as if your nnml server is your primary select method?
Yes, it is. :)
> 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:")))
Er, I went and updated my Gnus to the latest CVS version...
...and it works now. *sigh*
Anyway, those three evaluate as:
,----
| (gnus-server-to-method "nnml:")
| => (nnml "")
|
| (gnus-group-prefixed-name "Inbox.stats.mail"
| (gnus-server-to-method "nnml:"))
| => "Inbox.stats.mail"
|
| (gnus-get-info (gnus-group-prefixed-name "Inbox.stats.mail"
| (gnus-server-to-method
| "nnml:")))
| => ("Inbox.stats.mail" 3 ((1 . 125)) ((seen (35 . 52) (57 . 125))) nil ((timestamp 15233 60165)))
`----
>> > 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.
Well, group parameters such as the `to-list' and `to-address', I would
expect to transfer and back-up correctly. If I stopped backing up the
.eld file and they got lost, I would go find a corner and cry or
something. :)
>> > 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'?
Now I know. Anyway, it works again. I can go back to the broken version
if you want, but that's not high on my priority list...
Daniel
--
The fundamental delusion of humanity is to suppose
that I am here and you are there.
-- Yasutani Roshi
next prev parent reply other threads:[~2001-08-21 5:07 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-18 11:34 self-contained nnml Simon Josefsson
2001-08-18 15:40 ` Kai Großjohann
2001-08-18 16:42 ` Simon Josefsson
2001-08-19 6:21 ` Daniel Pittman
2001-08-19 9:44 ` Simon Josefsson
2001-08-20 2:35 ` Problems with .newsrc.eld (aws: Re: self-contained nnml) Daniel Pittman
2001-08-20 3:18 ` Daniel Pittman
2001-08-20 9:23 ` Simon Josefsson
2001-08-21 5:07 ` Daniel Pittman [this message]
2001-08-21 16:31 ` Simon Josefsson
2001-08-21 18:13 ` Paul Jarc
2001-08-21 20:30 ` Simon Josefsson
2001-08-21 23:57 ` Daniel Pittman
2001-08-21 23:56 ` Daniel Pittman
2001-08-24 23:00 ` self-contained nnml Rob Browning
2001-08-25 0:20 ` Rob Browning
2001-08-25 0:58 ` Rob Browning
2001-08-25 2:11 ` ShengHuo ZHU
2001-08-26 18:15 ` Rob Browning
2001-08-25 9:43 ` Simon Josefsson
2001-08-26 15:29 ` Rob Browning
2001-08-26 16:32 ` Simon Josefsson
2001-08-26 18:28 ` Rob Browning
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=87k7zyt2zy.fsf@inanna.rimspace.net \
--to=daniel@rimspace.net \
/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).