Gnus development mailing list
 help / color / mirror / Atom feed
From: prj@po.cwru.edu (Paul Jarc)
Subject: Re: Why article numbers?
Date: Mon, 10 Feb 2003 13:40:11 -0500	[thread overview]
Message-ID: <m3ptq0yo66.fsf@multivac.cwru.edu> (raw)
In-Reply-To: <m37kcatjrz.fsf@quimbies.gnus.org> (Lars Magne Ingebrigtsen's message of "Sun, 09 Feb 2003 00:49:52 +0100")

Lars Magne Ingebrigtsen <larsi@gnus.org> wrote:
> You enter a group.  The server says that the available articles are
> 50000-60000.  You have a list of, er, ids.  How many articles should
> you fetch if the user wants all unread articles?

Don't ask for a particular number of articles.  Ask for "all unread
articles".  Require backends to store marks, so they can figure out
which articles are unread.

Also note that numbers are still very natural article identifiers for
some backends, like nntp.  Those backends could continue to use
numbers, and could do range compression in their storage.  We would
only *allow* identifiers to be non-numeric, not require it.  The only
requirement would be that identifiers must satisfy eq if they are
supposed to identify the same article.  Then the code that takes
advantage of numeric identifiers can be pushed to the other side of
the backend interface.  It would be a lot of work, but I don't think
there any any inherent problems beyond that.

> You want to mark the unseen messages as unseen.  Keep a list of all
> seen ids?

nnmaildir already keeps a list of all 'read articles, and would do the
same for 'seen if those were passed to the backend (as I think they
should be).


paul



  parent reply	other threads:[~2003-02-10 18:40 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-07 21:55 Kai Großjohann
2003-02-08 20:38 ` Lars Magne Ingebrigtsen
2003-02-08 23:44   ` Paul Jarc
2003-02-08 23:49     ` Lars Magne Ingebrigtsen
2003-02-09 14:59       ` Kai Großjohann
2003-02-10 18:40       ` Paul Jarc [this message]
2003-02-22 20:24         ` Lars Magne Ingebrigtsen
2003-02-22 21:11           ` Kai Großjohann
2003-02-22 21:24             ` Lars Magne Ingebrigtsen
2003-02-22 21:37               ` Kai Großjohann
2003-02-22 21:44                 ` Lars Magne Ingebrigtsen
2003-02-23  9:51                   ` Kai Großjohann
2003-02-22 22:33             ` Simon Josefsson
2003-02-23  9:52               ` Kai Großjohann
2003-02-23 11:04                 ` Simon Josefsson
2003-02-23 13:33                   ` Kai Großjohann
2003-02-23 16:56                     ` Simon Josefsson
2003-02-23 17:23                       ` Kai Großjohann
2003-02-23 11:34                 ` Lars Magne Ingebrigtsen
2003-02-23 16:56                 ` Michael Shields
2003-02-22 21:43           ` Paul Jarc
2003-02-23  5:03             ` Michael Shields
2003-02-23 10:28             ` Kai Großjohann
2003-02-23 11:38             ` Lars Magne Ingebrigtsen

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=m3ptq0yo66.fsf@multivac.cwru.edu \
    --to=prj@po.cwru.edu \
    /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).