From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/59957 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: Mon, 07 Mar 2005 20:26:44 +0100 Message-ID: References: <4nfyzbi3yo.fsf@lifelogs.com> <4nbr9vfhrv.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 1110223507 13815 80.91.229.2 (7 Mar 2005 19:25:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 7 Mar 2005 19:25:07 +0000 (UTC) Original-X-From: ding-owner+M8498@lists.math.uh.edu Mon Mar 07 20:25:06 2005 Original-Received: from malifon.math.uh.edu ([129.7.128.13] ident=mail) by ciao.gmane.org with esmtp (Exim 4.43) id 1D8Npu-0004Lc-A1 for ding-account@gmane.org; Mon, 07 Mar 2005 20:24:15 +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 1D8NtF-0007I5-00; Mon, 07 Mar 2005 13:27:41 -0600 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1D8Nt7-0007Hz-00 for ding@lists.math.uh.edu; Mon, 07 Mar 2005 13:27:33 -0600 Original-Received: from quimby.gnus.org ([80.91.224.244]) by util2.math.uh.edu with esmtp (Exim 4.30) id 1D8Nt4-00081n-U0 for ding@lists.math.uh.edu; Mon, 07 Mar 2005 13:27:31 -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 1D8Nst-00066W-00 for ; Mon, 07 Mar 2005 20:27:20 +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 j27JQx4B016754 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 7 Mar 2005 20:27:00 +0100 Original-To: "Ding Mailing List " OpenPGP: id=B565716F; url=http://josefsson.org/key.txt X-Hashcash: 1:21:050307:ding@gnus.org::cCbZFDzel6TNsyUN:H3iV In-Reply-To: <4nbr9vfhrv.fsf@lifelogs.com> (Ted Zlatanov's message of "7 Mar 2005 13:11:16 -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+m8498@lists.math.uh.edu X-MailScanner-To: ding-account@gmane.org Xref: news.gmane.org gmane.emacs.gnus.general:59957 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:59957 "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? >> Ideally there should be some way to retrieve the MIME structure of >> an article, and then make Gnus chose which MIME parts to retrieve. > > I'll take a look at that stuff. Unfortunately the other backends > don't support this, so it's less useful than a line count IMO > (although it can make the Gnus IMAP experience much better). Sure.