Gnus development mailing list
 help / color / mirror / Atom feed
From: Simon Josefsson <jas@extundo.com>
Subject: Re: nnimap-split-download-body feature request
Date: Thu, 20 Nov 2003 15:34:06 +0100	[thread overview]
Message-ID: <iluislf6rdt.fsf@latte.josefsson.org> (raw)
In-Reply-To: <4n8ymbjf52.fsf@lockgroove.bwh.harvard.edu> (Ted Zlatanov's message of "Thu, 20 Nov 2003 09:20:09 -0500")

Ted Zlatanov <tzz@lifelogs.com> writes:

> On Thu, 20 Nov 2003, jas@extundo.com wrote:
>
>> Ted Zlatanov <tzz@lifelogs.com> writes:
>
>>> Nah, just fetch the headers.  I think that's all you can reasonably
>>> expect as a Gnus user.  Maybe fake the body with "BODY TOO LARGE"
>>> or something like that, or add a header, but I personally think
>>> that retrieving just the headers in such a case is a perfectly good
>>> solution.
>> 
>> The asynchronous prefetch, agent, cache (and possibly more things)
>> would cache this incomplete article.  How would they know the
>> message was incomplete?  After requesting a re-fetch of the entire
>> article, all those cached copies will need to be purged.  Sounds
>> like work.
>
> I'm not sure I understand.  Here's a patch to show you what I think
> could be done, since nnimap-split-articles already decides between
> the head and the whole body.  The nnimap-check-body-size function
> needs to be provided, but I hope you see what I mean.

Ah!  Sorry, I forgot we were still talking about nnimap split.  Yes,
it sounds like a good idea.  nnimap-check-body-size would probably
look like (< (imap-fetch ARTICLE "RFC822.SIZE" 'RFC822.SIZE)
nnimap-split-download-body-size) or something.




      reply	other threads:[~2003-11-20 14:34 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-14 13:18 Jake Colman
2003-11-19 21:09 ` Ted Zlatanov
2003-11-20  3:28   ` Simon Josefsson
2003-11-20 13:37     ` Ted Zlatanov
2003-11-20 14:01       ` Simon Josefsson
2003-11-20 14:20         ` Ted Zlatanov
2003-11-20 14:34           ` Simon Josefsson [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=iluislf6rdt.fsf@latte.josefsson.org \
    --to=jas@extundo.com \
    /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).