From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/40608 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: Not downloading attachments over IMAP Date: Thu, 29 Nov 2001 11:41:17 +0100 (CET) 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: 8BIT X-Trace: main.gmane.org 1035176132 1838 80.91.224.250 (21 Oct 2002 04:55:32 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:55:32 +0000 (UTC) Cc: Return-Path: Original-Received: (qmail 12191 invoked from network); 29 Nov 2001 10:42:32 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 29 Nov 2001 10:42:32 -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 169Ods-0003gh-00; Thu, 29 Nov 2001 04:42:08 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 29 Nov 2001 04:41:54 -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 EAA05857 for ; Thu, 29 Nov 2001 04:41:44 -0600 (CST) Original-Received: (qmail 12183 invoked by alias); 29 Nov 2001 10:41:54 -0000 Original-Received: (qmail 12178 invoked from network); 29 Nov 2001 10:41:54 -0000 Original-Received: from unknown (HELO slipsten.extundo.com) (195.42.214.241) by gnus.org with SMTP; 29 Nov 2001 10:41:54 -0000 Original-Received: from localhost (jas@localhost) by slipsten.extundo.com (8.11.6/8.11.6) with ESMTP id fATAfHr07417; Thu, 29 Nov 2001 11:41:17 +0100 X-Authentication-Warning: slipsten.extundo.com: jas owned process doing -bs Original-To: Kai =?iso-8859-1?q?Gro=DFjohann?= In-Reply-To: Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:40608 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:40608 On Thu, 29 Nov 2001, Kai Großjohann wrote: > > 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 > > 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. Right. Gnus should fetch the MIME tree if the backend supports it, otherwise it should fetch the entire message and parse MIME itself. > 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? Yup. The problem is that making the above work is not enough, you would need to fix the rest of Gnus to understand this as well. Caching, Agent, scoring and whatnot. It would probably mean almost the same amount of work as replacing the backend interface with something based on wmperry's URL package and thus turning Gnus into a mail oriented URL browser (W3 being the web oriented URL browser). Which would be way cooler.