Gnus development mailing list
 help / color / mirror / Atom feed
From: Karl Kleinpaste <karl@charcoal.com>
Subject: "seen" marks create adjacent lists
Date: Sun, 25 Nov 2001 09:29:25 -0500	[thread overview]
Message-ID: <vxk667yly9m.fsf@cinnamon.vanillaknot.com> (raw)

I've been experimenting a bit with seeing what happens to .newsrc.eld
regarding certain parameters, so I've been saving and formatting
.newsrc.eld at various points, so as to diff them.

I've noticed that "seen" marks have a pronounced tendency to create
pointlessly adjacent number lists, rather than subsuming new items
into existing lists.  Here's an example:

@@ -1389,9 +1390,10 @@
            (90348 . 90351)))
          (nntp "news"))
         ("nntp+news:comp.protocols.dns.bind" 3
-         ((1 . 106775))
+         ((1 . 106777))
          ((seen
-           (105429 . 106775)))
+           (105429 . 106776)
+           106777))
          (nntp "news"))
         ("nntp+news:comp.protocols.dns.ops" 3
          ((1 . 93004))

Before this particular run of Gnus, I'd seen up through 106775.  When
I ran Gnus, there were 2 articles there, which I read (or at least
used `d' on), and Gnus correctly identifies that I've seen up through
106777 now.

But notice that the "seen" list has gone from a single cons up to
106775, to a cons up to 106776 *plus* a straggler 106777.

What's the point of that?  It seems to me that this should have
resulted in a single cons (105429 . 106777).  And in fact when I
hand-edit .newsrc.eld to reflect this, it works just fine.

In some very busy groups I read, this has induced some really
impressively large "seen" lists, all numerically adjacent.

--karl



             reply	other threads:[~2001-11-25 14:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-25 14:29 Karl Kleinpaste [this message]
2001-12-29  2:54 ` Lars Magne Ingebrigtsen
2001-12-29 14:27   ` Simon Josefsson

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=vxk667yly9m.fsf@cinnamon.vanillaknot.com \
    --to=karl@charcoal.com \
    /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).