From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/59967 Path: news.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: fetch only a portion of an article? (nnimap mainly) Date: Tue, 08 Mar 2005 18:54:50 +0100 Message-ID: References: <4nfyzbi3yo.fsf@lifelogs.com> <4nbr9vfhrv.fsf@lifelogs.com> <4nbr9up1si.fsf@lifelogs.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1110305887 13701 80.91.229.2 (8 Mar 2005 18:18:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 8 Mar 2005 18:18:07 +0000 (UTC) Original-X-From: ding-owner+M8508@lists.math.uh.edu Tue Mar 08 19:18:07 2005 Original-Received: from malifon.math.uh.edu ([129.7.128.13] ident=mail) by ciao.gmane.org with esmtp (Exim 4.43) id 1D8iza-00047O-Kx for ding-account@gmane.org; Tue, 08 Mar 2005 18:59:39 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1D8ivV-0000xK-00; Tue, 08 Mar 2005 11:55:25 -0600 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1D8ivN-0000xC-00 for ding@lists.math.uh.edu; Tue, 08 Mar 2005 11:55:17 -0600 Original-Received: from quimby.gnus.org ([80.91.224.244]) by util2.math.uh.edu with esmtp (Exim 4.30) id 1D8ivK-00042p-0T for ding@lists.math.uh.edu; Tue, 08 Mar 2005 11:55:14 -0600 Original-Received: from 178.230.13.217.in-addr.dgcsystems.net ([217.13.230.178] helo=yxa.extundo.com) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1D8ivI-0005tr-00 for ; Tue, 08 Mar 2005 18:55:12 +0100 Original-Received: from latte.josefsson.org (c494102a.s-bi.bostream.se [217.215.27.65]) (authenticated bits=0) by yxa.extundo.com (8.13.3/8.13.3/Debian-6) with ESMTP id j28Ht53e022022 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 8 Mar 2005 18:55:06 +0100 Original-To: "Ding Mailing List " OpenPGP: id=B565716F; url=http://josefsson.org/key.txt X-Hashcash: 1:21:050308:ding@gnus.org::Ht8Dur0KTvRjQuxv:7aBb In-Reply-To: <4nbr9up1si.fsf@lifelogs.com> (Ted Zlatanov's message of "8 Mar 2005 10:58:37 -0500") User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux) X-Spam-Status: No, score=0.1 required=5.0 tests=FORGED_RCVD_HELO autolearn=failed version=3.0.2 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on yxa-iv X-Virus-Scanned: ClamAV version 0.81, clamav-milter version 0.81b on yxa.extundo.com X-Virus-Status: Clean X-Spam-Score: -4.9 (----) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu X-MailScanner-From: ding-owner+m8508@lists.math.uh.edu X-MailScanner-To: ding-account@gmane.org Xref: news.gmane.org gmane.emacs.gnus.general:59967 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:59967 "Ted Zlatanov" writes: > On Mon, 07 Mar 2005, jas@extundo.com wrote: > >> "Ted Zlatanov" writes: >> >>> On Fri, 04 Mar 2005, jas@extundo.com wrote: >>> >>>> IMAP support partial retrieval (byte counts), and even retrieval based >>>> on the selected MIME structures (i.e., retrieve entire message except >>>> one big attachment). I think the problem may be in designing the back >>>> end interface properly, so it is flexible enough. >>> >>> Can you write the nnimap function to get N bytes with an extra >>> parameter (you can merge it with nnimap-request-article-part or not, >>> up to you)? >> >> I can try. Two parameters, right? The start offset, and the >> length? > > I can't imagine a reason to need an offset other than 0, but sure :) Chunked downloading? Another feature request has been to cancel downloading huge attachments. Right now, this is not possible. If the attachment is downloaded in 1MB parts, C-g would cancel the operation faster. > I'll watch for the CVS commit. Don't hold your breath, but I'll try to get around to it.