From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/59966 Path: news.gmane.org!not-for-mail From: "Ted Zlatanov" Newsgroups: gmane.emacs.gnus.general Subject: Re: fetch only a portion of an article? (nnimap mainly) Date: 8 Mar 2005 10:58:37 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <4nbr9up1si.fsf@lifelogs.com> 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 1110298782 19980 80.91.229.2 (8 Mar 2005 16:19:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 8 Mar 2005 16:19:42 +0000 (UTC) Cc: "Ding Mailing List " Original-X-From: ding-owner+M8507@lists.math.uh.edu Tue Mar 08 17:19:42 2005 Original-Received: from malifon.math.uh.edu ([129.7.128.13] ident=mail) by ciao.gmane.org with esmtp (Exim 4.43) id 1D8hK6-0000mB-3h for ding-account@gmane.org; Tue, 08 Mar 2005 17:12:42 +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 1D8hCh-0000l4-00; Tue, 08 Mar 2005 10:05:04 -0600 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1D8h6e-0000jV-00 for ding@lists.math.uh.edu; Tue, 08 Mar 2005 09:58:48 -0600 Original-Received: from quimby.gnus.org ([80.91.224.244]) by util2.math.uh.edu with esmtp (Exim 4.30) id 1D8h6c-0001fV-4m for ding@lists.math.uh.edu; Tue, 08 Mar 2005 09:58:46 -0600 Original-Received: from clifford.bwh.harvard.edu ([134.174.9.41] helo=mail.bwh.harvard.edu) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1D8h6W-0004Fj-00 for ; Tue, 08 Mar 2005 16:58:41 +0100 Original-Received: (qmail 21289 invoked from network); 8 Mar 2005 15:56:29 -0000 Envelope-Sender: tzz@lifelogs.com Envelope-Recipients: jas@extundo.com, ding@gnus.org, Original-Received: from asimov.bwh.harvard.edu (HELO asimov) (internal?.8?user:?tzz@[134.174.8.118]) (envelope-sender ) by mail.bwh.harvard.edu (qmail-ldap-1.03) with SMTP for ; 8 Mar 2005 15:56:28 -0000 Mail-Followup-To: "Simon Josefsson" , "Ding Mailing List " Original-To: "Simon Josefsson" X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" X-Hashcash: 1:20:050308:ding@gnus.org::UpUZO/5DvfTOja6o:00004SIS X-Hashcash: 1:20:050308:jas@extundo.com::md8h+GVwv0NeVoGR:00000000000000000000000000000000000000000000009nuN In-Reply-To: (Simon Josefsson's message of "Mon, 07 Mar 2005 20:26:44 +0100") User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on sysblade0.bwh.harvard.edu X-Spam-Status: No, score=-1.6 required=5.8 tests=AWL,BAYES_00 autolearn=ham version=3.0.1 X-Spam-Score: -4.9 (----) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu X-MailScanner-From: ding-owner+m8507@lists.math.uh.edu X-MailScanner-To: ding-account@gmane.org Xref: news.gmane.org gmane.emacs.gnus.general:59966 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:59966 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 :) I'll watch for the CVS commit. Ted