From: Simon Josefsson <jas@extundo.com>
Cc: ding@gnus.org
Subject: Re: How do I interrupt attachment downloading over imap?
Date: Wed, 23 Oct 2002 23:09:51 +0200 [thread overview]
Message-ID: <ilun0p4hnfk.fsf@latte.josefsson.org> (raw)
In-Reply-To: <uof9lsds5.fsf@axis.com> (Niklas Morberg's message of "Wed, 23 Oct 2002 11:30:34 +0200")
Niklas Morberg <niklas.morberg@axis.com> writes:
> Prerequisites: nnimap backend, latest gnus from cvs.
>
> Sometimes people send me large attachments. When I view
> their message in gnus it will take a long time to download
> the attachment. If, after having selected a message with a
> large attachment, I want to abort the viewing of the message
> pressing `C-g' only interrupts the download temporarily.
> Once I select a different message to view, or exit the
> group, the download is resumed.
>
> On a related note, pressing `R' or `r' in the Summary buffer
> to reply to a message with an attachment will also force the
> (oh so slow) download of the entire attachment, which seems
> a bit unecessary. (This happens if the article is not
> currently selected.)
C-g only aborts Gnus' wait loop, the IMAP data is always received
asynchronously in the background. Unfortunately, this means once
started you can't abort it. A quick solution to this would be for
nnimap to only retrieve blocks of say 50kb data in turn, which would
make C-g abort after the current 50kb block finished downloading. A
slower but better solution would be to make Gnus handle partial
messages, I think it was Wes that described how this can be done with
message/partial but I don't know if it has been implemented.
> Is there a way to:
>
> a) Abort downloading of attachments once started?
> b) Don't download attachments when replying to messages?
Not without implementing those features.
prev parent reply other threads:[~2002-10-23 21:09 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-23 9:30 Niklas Morberg
2002-10-23 13:57 ` Wes Hardaker
2002-10-23 21:11 ` Simon Josefsson
2002-10-30 7:34 ` Niklas Morberg
2002-10-30 10:17 ` Kai Großjohann
2002-10-30 10:58 ` Niklas Morberg
2002-10-30 11:20 ` Kai Großjohann
2002-10-30 12:40 ` dme
2002-10-30 14:44 ` Niklas Morberg
2002-10-23 21:09 ` 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=ilun0p4hnfk.fsf@latte.josefsson.org \
--to=jas@extundo.com \
--cc=ding@gnus.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).