Gnus development mailing list
 help / color / mirror / Atom feed
From: Rob Browning <rlb@defaultvalue.org>
Subject: Re: Question about article identification and backends.
Date: Sat, 17 May 2003 22:19:44 -0500	[thread overview]
Message-ID: <877k8paqlr.fsf@raven.i.defaultvalue.org> (raw)
In-Reply-To: <87vfw9gszz.fsf@eris.void.at> (Andreas Fuchs's message of "Sat, 17 May 2003 21:29:43 +0000 (UTC)")

Andreas Fuchs <asf@void.at> writes:

> The only problem I see with this approach is that you don't get a
> clean number<->article-id mapping; nnmaildir's solution to this
> problem might also apply for integrating the RMS into gnus.

I think you may be referring to the main thing I'm wondering about --
how difficult would it be for Gnus to change such that it doesn't
require all of the following:

  A few remarks about these article numbers might be useful.  First of
  all, the numbers are positive integers.  Secondly, it is normally
  not possible for later articles to `re-use' older article numbers
  without confusing Gnus.  That is, if a group has ever contained a
  message numbered 42, then no other message may get that number, or
  Gnus will get mightily confused.(1) Third, article numbers must be
  assigned in order of arrival in the group; this is not necessarily
  the same as the date of the message.

i.e. how reasonable might it be, and how difficult the task to change
Gnus to rely on stable unique article ids (global ones -- or at least
global within a backend) rather than stable unique per-group integers?
And given such a change, could Gnus perhaps then just expect an
ordered list of IDs from the backend when it wants the articles in a
group, and not mind if this order changes from backend query to
backend query?

Among other things, I presume this would require Gnus to reorient to
key marks by a group-id/unique-id pair rather than the group/position
pair it uses now.  The sequence position of an article within a group
would either have to be stored independently, or perhaps it could even
be dropped entirely if people were happy with just having by-date (or
maybe by arrival time) sorting -- not a big deal to me either way.

Thanks

-- 
Rob Browning
rlb @defaultvalue.org and @debian.org; previously @cs.utexas.edu
GPG starting 2002-11-03 = 14DD 432F AE39 534D B592  F9A0 25C8 D377 8C7E 73A4



  parent reply	other threads:[~2003-05-18  3:19 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-17 19:56 Rob Browning
2003-05-17 21:29 ` Andreas Fuchs
2003-05-18  2:57   ` Rob Browning
2003-05-18  3:19   ` Rob Browning [this message]
2003-05-18  9:52     ` Kai Großjohann
2003-05-18 18:38       ` Rob Browning
2003-05-18 18:50         ` Rob Browning
2003-05-19 13:02           ` Kai Großjohann
2003-05-19 13:02         ` Kai Großjohann
2003-05-19 16:57         ` Paul Jarc
2003-05-19 16:47       ` Paul Jarc
2003-05-19 20:49         ` Kai Großjohann
2003-05-19 20:57           ` Paul Jarc
2003-05-20 10:56             ` Kai Großjohann
2003-05-20 17:33           ` Rob Browning
2003-05-22  7:04             ` Kai Großjohann

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=877k8paqlr.fsf@raven.i.defaultvalue.org \
    --to=rlb@defaultvalue.org \
    /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).