Gnus development mailing list
 help / color / mirror / Atom feed
From: Paul Franklin <paul@cs.washington.edu>
Subject: Re: TODO idea:
Date: 10 Jun 1997 10:52:36 -0700	[thread overview]
Message-ID: <r9qsoyqpcpn.fsf@teapotdome.cs.washington.edu> (raw)
In-Reply-To: Jason R Mastaler's message of 09 Jun 1997 20:58:20 -0600

>>>>> Jason R. Mastaler writes:

 > Is it necessary to write a new backend?  Why not just code the unseen
 > sequences functionality into nnmh and optionally, nnml?

Why code the unseen functionality?  Since nnmh isn't quite mh in that
it can't handle asynchronous delivery, there isn't any current code
(AFAIK) which adds messages to nnmh or nnml folders and updates the
unseen sequence.

So, there needs to be another way.  One way would be to have a file
similar to the active file which the mail delivery system writes to;
nnml would only read it and update its own active file based on what
it reads.  The mail delivery system would still have to lock it, but
nnml no longer cares how.

The other way is the method I keep making noises about implementing
but never get my act in gear and implement it.  Let the messages be
delivered directly into nnml folders based on the active file.  Then
keep key headers (for the overview) and add one saying what folder &
nessage number the message was placed at to the normal locked mail
spool.  So now our old trusted mail spool only has headers needed for
overview generation instead of the entire message, and gnus only has
to write active and overview files, not the contents of every message.

(Then all you do is cache the overview lines until group entry instead
of writing them immediately, and writing the unseen handler becomes
easy.)

Either one of these requires both gnus/nnml and the mail deliverer to
back off if it selects a folder's next message number and creating the
file fails, as that means the other just grabbed it.

One of these days...

--Paul


      parent reply	other threads:[~1997-06-10 17:52 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-06-06  7:00 Wesley Hardaker
1997-06-06  9:29 ` Lars Balker Rasmussen
1997-06-06 11:28   ` Kai Grossjohann
1997-06-06 17:36 ` Lars Magne Ingebrigtsen
1997-06-09  8:39   ` Wesley Hardaker
1997-06-10  2:58     ` Jason R Mastaler
1997-06-10  6:58       ` Wesley Hardaker
1997-06-11  3:49         ` Jason R Mastaler
1997-06-11  6:49           ` Wesley Hardaker
1997-06-16 18:10           ` Paul Graham
1997-06-17 15:34             ` Lars Magne Ingebrigtsen
1997-06-18  6:58               ` Wesley Hardaker
1997-06-18 12:09                 ` Lars Magne Ingebrigtsen
1997-06-18 14:55                   ` David S. Goldberg
1997-06-19  8:47                   ` Wesley Hardaker
1997-06-19 17:37                     ` Paul Franklin
1997-06-20  3:58                       ` Darren/Torin/Who Ever...
1997-06-19 18:32                     ` Scott Blachowicz
1997-06-20  9:12                       ` Wesley Hardaker
1997-06-20 18:16                         ` Scott Blachowicz
1997-06-20 21:32                           ` Richard Coleman
1997-06-20 22:12                     ` Lars Magne Ingebrigtsen
1997-06-21  0:08                       ` Richard Coleman
1997-06-21 20:29                         ` Scott Blachowicz
1997-06-22 13:32                         ` Lars Magne Ingebrigtsen
1997-06-22 22:24                           ` Richard Coleman
1997-06-24 21:11                             ` Jason R Mastaler
1997-06-22 23:35                       ` Darren/Torin/Who Ever...
1997-06-17 15:33           ` Lars Magne Ingebrigtsen
1997-06-25  8:34         ` anonymous
1997-06-25 20:26           ` Paul Franklin
1997-06-26  9:38         ` anonymous
     [not found]         ` <1997 <19970626093841.17915.qmail@sunsite.auc.dk>
1997-06-26 19:27           ` Paul Graham
1997-06-26 20:40             ` Paul Franklin
1997-06-10 17:52       ` Paul Franklin [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=r9qsoyqpcpn.fsf@teapotdome.cs.washington.edu \
    --to=paul@cs.washington.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).