Gnus development mailing list
 help / color / mirror / Atom feed
From: prj@po.cwru.edu (Paul Jarc)
Subject: Re: A road map for Oort Gnus
Date: 16 Apr 2001 17:10:04 -0400	[thread overview]
Message-ID: <m3hezoo8jh.fsf@multivac.cwru.edu> (raw)
In-Reply-To: <dzc7l0nk2h4.fsf@pandora.inf.elte.hu> (NAGY Andras's message of "14 Apr 2001 15:58:15 +0200")

NAGY Andras <nagya@inf.elte.hu> writes:
> Consider the big Gnus<->backend interface redesign too, in order to be
> able to support `modern' backends with full functionality and good
> performance (yes, I mean IMAP).

Perspective of a backend author: I'd like to see an interface that
doesn't require backends to maintain state independently of Gnus.
E.g., nnchoke-open-server would be passed the full select method, and
would return one of:
(success server-object)
(transient-failure "Error message describing what failed")
(more-serious-failure "Error message describing what failed")
... where the server-object is opaque to Gnus and meaningful to the
backend, and is passed back to the backend functions for operations on
that server; the backend wouldn't need to have a notion of a
"currently active server".

Similarly for groups - nnchoke-request-{list,groups} would return an
alist whose keys are interned group names, and whose data are opaque
group objects.  Or maybe an obarray instead of an alist; I'm not sure
which would be faster most of the time.  The opaque group object would
be handed back to the backend functions (with its associated server)
for operations on that group.

All data should be passed back to Gnus through function return values,
not nntp-server-buffer.  Some backends will easily be able to
structure the data into, e.g., NOV vectors, so it won't have to be
dumped into text form just to be extracted back out again.  Other
backends will have NOV text to deal with, so they can use a common set
of NOV-text-parsing functions.  For example.

> - extend the interface to allow more complex `questions' to the
> backend (i.e. number of new messages, flagged messages etc, instead of
> the nntp-like low and high article number only)

Also, more complex actions, like "move/copy article 123 from group foo
to group bar".

> - let the backend store readness and other status settings, if it is
> able to,

This is already done...

> and do not redundantly store them in the frontend in this case.

... but this is not.

> - OTOH, let the backend to store certain backend-specific info in the
> frontend if it needs to

Each backend could maintain its own data on disk, independently of
Gnus and other backends, maybe.


paul


      parent reply	other threads:[~2001-04-16 21:10 UTC|newest]

Thread overview: 63+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-14 10:31 Lars Magne Ingebrigtsen
2001-04-14 10:53 ` Alexandre Oliva
2001-04-14 12:35   ` Per Abrahamsen
2001-04-14 13:12     ` Lars Magne Ingebrigtsen
2001-04-14 14:42       ` Wizards and W3 integration (was: Re: A road map for Oort Gnus) Per Abrahamsen
2001-04-14 15:22         ` Wizards and W3 integration Raymond Scholz
2001-04-14 15:45         ` Re[1]: Wizards and W3 integration (was: A road map for Oort Gnus) Eric M. Ludlam
2001-04-14 16:38         ` Wizards and W3 integration (was: " Eli Zaretskii
2001-04-16 16:49           ` Lars Magne Ingebrigtsen
2001-04-16 19:05             ` Eli Zaretskii
2001-04-17 10:57               ` Per Abrahamsen
2001-04-17 13:25                 ` Eli Zaretskii
2001-04-17 13:43                   ` Per Abrahamsen
2001-04-17 15:13                     ` Eli Zaretskii
2001-04-17 15:34                       ` Per Abrahamsen
2001-04-17 15:44                         ` Kai Großjohann
2001-04-17 15:45                         ` Laura Conrad
2001-04-17 13:57                   ` William M. Perry
2001-04-17 15:04                     ` Eli Zaretskii
2001-04-16 20:28             ` Kai Großjohann
2001-04-16 20:57             ` Wizards and W3 integration Robin S. Socha
2001-04-17  7:05               ` Eli Zaretskii
2001-04-17  6:12                 ` Norbert Koch
2001-04-17 14:02                 ` Robin S. Socha
2001-04-17 14:14                   ` Michael Livshin
2001-04-17 14:29                     ` Robin S. Socha
2001-04-17 14:35                       ` [noise] " Michael Livshin
2001-04-14 10:57 ` A road map for Oort Gnus Robin S. Socha
2001-04-14 13:15   ` Harry Putnam
2001-04-14 13:19   ` Lars Magne Ingebrigtsen
2001-04-16  0:06     ` Albert Krusbersky
2001-04-14 16:04   ` Per Abrahamsen
2001-04-15 13:20     ` Robin S. Socha
2001-04-15 22:58       ` Kai Großjohann
2001-04-15 23:30         ` Samuel Padgett
2001-04-16  7:50           ` gnus-virgin.el (was: Re: A road map for Oort Gnus) Per Abrahamsen
2001-04-16 13:23             ` gnus-virgin.el Robin S. Socha
2001-04-17 10:52             ` gnus-virgin.el (was: Re: A road map for Oort Gnus) Didier Verna
2001-04-17 11:02               ` Per Abrahamsen
2001-04-17 12:00               ` Kai Großjohann
2001-04-17 12:30                 ` Didier Verna
2001-04-17 17:12                 ` Colin Marquardt
2001-04-17 21:04                 ` Stainless Steel Rat
2001-04-17  8:49   ` A road map for Oort Gnus Christoph Rohland
2001-04-17 15:09     ` Amos Gouaux
2001-04-17 15:31       ` Simon Josefsson
2001-04-18 13:17         ` Christoph Rohland
2001-04-17 15:39       ` Kai Großjohann
2001-04-14 10:58 ` Kai Großjohann
2001-04-14 13:22   ` Lars Magne Ingebrigtsen
2001-04-14 13:42     ` Michael Livshin
2001-04-15 23:01       ` Kai Großjohann
2001-04-17 18:08     ` Didier Verna
2001-04-17 18:05       ` Kai Großjohann
2001-04-17 18:21         ` Didier Verna
2001-04-17 17:47   ` Didier Verna
2001-04-17 18:04     ` Kai Großjohann
2001-04-14 13:58 ` NAGY Andras
2001-04-14 21:51   ` Steinar Bang
2001-04-15 23:02   ` Kai Großjohann
2001-04-16  6:01     ` Amos Gouaux
2001-04-16 18:06       ` Doug Alcorn
2001-04-16 21:10   ` Paul Jarc [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=m3hezoo8jh.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).