From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/40599 Path: main.gmane.org!not-for-mail From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.gnus.general Subject: Re: Not downloading attachments over IMAP Date: Thu, 29 Nov 2001 09:23:38 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1035176125 1805 80.91.224.250 (21 Oct 2002 04:55:25 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:55:25 +0000 (UTC) Cc: Niklas Morberg , Return-Path: Original-Received: (qmail 1666 invoked from network); 29 Nov 2001 08:25:43 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 29 Nov 2001 08:25:43 -0000 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 169MUg-0002Km-00; Thu, 29 Nov 2001 02:24:30 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 29 Nov 2001 02:24:14 -0600 (CST) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id CAA05150 for ; Thu, 29 Nov 2001 02:24:03 -0600 (CST) Original-Received: (qmail 1642 invoked by alias); 29 Nov 2001 08:24:13 -0000 Original-Received: (qmail 1636 invoked from network); 29 Nov 2001 08:24:12 -0000 Original-Received: from waldorf.cs.uni-dortmund.de (129.217.4.42) by gnus.org with SMTP; 29 Nov 2001 08:24:12 -0000 Original-Received: from lothlorien.cs.uni-dortmund.de (lothlorien [129.217.19.67]) by waldorf.cs.uni-dortmund.de with ESMTP id fAT8Ni610788; Thu, 29 Nov 2001 09:23:44 +0100 (MET) Original-Received: from lucy.cs.uni-dortmund.de (lucy [129.217.19.80]) by lothlorien.cs.uni-dortmund.de id JAA14198; Thu, 29 Nov 2001 09:23:38 +0100 (MET) Original-Received: by lucy.cs.uni-dortmund.de (Postfix, from userid 6104) id 899F0201B; Thu, 29 Nov 2001 09:23:38 +0100 (CET) Original-To: Simon Josefsson In-Reply-To: (Simon Josefsson's message of "Wed, 28 Nov 2001 18:12:06 +0100 (CET)") Original-Lines: 32 User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1.50 (i686-pc-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:40599 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:40599 Simon Josefsson writes: > On Wed, 28 Nov 2001, Kai Gro=DFjohann wrote: > >> Couldn't nnimap fetch the message structure and rewrite the `large' >> parts into external bodies? Isn't there a MIME type where one stores >> a reference to the real part, rather than the data itself, in the >> message? > > Yup. multipart/external. But isn't it kind of gross to have the backend > change the contents of a message? I wouldn't want that. But I guess it= =20 > could be useful. Hm. Maybe the real solution is for Gnus to provide a way to fetch the MIME tree for a message from the backend. But I think that so far, there is only one backend which allows for retrieval of the MIME tree: nnimap. Maybe rewriting nnimap to do what I suggested would also help in devising a good interface for retrieving the MIME tree, and then the nnimap functions can be moved into the Gnus proper, more or less: you have nnchoke-retrieve-mime-tree which returns a useful data structure, and the Gnus proper then decides what to do with it. You'll also need nnchoke-retrieve-mime-part, of course. How about that? I wish I had time to work on this. kai --=20 Simplification good! Oversimplification bad! (Larry Wall)