From: ShengHuo ZHU <zsh@cs.rochester.edu>
Subject: Re: nnvirtual: M-x <number> gnus-topic-select-group
Date: 18 Nov 2000 10:10:20 -0500 [thread overview]
Message-ID: <2n66ll71ur.fsf@tiger.jia.vnet> (raw)
In-Reply-To: <2naeax72b9.fsf@tiger.jia.vnet>
[Accidently typed C-c C-c.]
ShengHuo ZHU <zsh@cs.rochester.edu> writes:
> Christoph Conrad <C.Conrad@cli.de> writes:
>
> > What is the algorithm used when fetching n Articles from a nnvirtual
> > group? I am wondering about this. How many articles are fetched from
> > each group and which ones? Is it possible to fetch the last n articles
> > from the matching groups, so that all articles are chronologically
> > sorted, regardless of the group?
>
> A nnvirtual group contains all active articles from component groups.
>
> ,----
> | Convert component -> virtual:
> | set num = num - Offset(group)
> | find first row in Mapping where num <= 'a'
> | num = (num-'b')*c + Position(group) + 'e'
> `----
>
> Convert virtual -> component:
> find first row in Mapping where num <= 'd'
> num = num - 'e'
> group_pos = num mod 'c'
> num = (num / 'c') + 'b' + Offset(group_pos)
In another word, the articles from the same component group are listed
together. Only the active numbers are used and no date info is
available when generating a nnvirtual group map, so the chronological
sort is not possible with the current scheme.
ShengHuo
prev parent reply other threads:[~2000-11-18 15:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-11-17 10:10 Christoph Conrad
2000-11-18 15:00 ` ShengHuo ZHU
2000-11-18 15:10 ` ShengHuo ZHU [this message]
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=2n66ll71ur.fsf@tiger.jia.vnet \
--to=zsh@cs.rochester.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).