From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/45730 Path: main.gmane.org!not-for-mail From: Steinar Bang Newsgroups: gmane.emacs.gnus.general Subject: Re: Time for partial download of nnimap messages again? Date: Fri, 19 Jul 2002 09:48:33 +0200 Organization: Denizens of Doom, Norway Chapter Sender: owner-ding@hpc.uh.edu Message-ID: <871ya0yx7y.fsf@doohan.bang.priv.no> References: <87sn2gzx0y.fsf@doohan.bang.priv.no> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1027064989 26590 127.0.0.1 (19 Jul 2002 07:49:49 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 19 Jul 2002 07:49:49 +0000 (UTC) Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17VSWJ-0006ul-00 for ; Fri, 19 Jul 2002 09:49:47 +0200 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 17VSVQ-00034L-00; Fri, 19 Jul 2002 02:48:52 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 19 Jul 2002 02:49:16 -0500 (CDT) 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 CAA13041 for ; Fri, 19 Jul 2002 02:49:04 -0500 (CDT) Original-Received: (qmail 29379 invoked by alias); 19 Jul 2002 07:48:35 -0000 Original-Received: (qmail 29374 invoked from network); 19 Jul 2002 07:48:35 -0000 Original-Received: from quimby.gnus.org (80.91.224.244) by gnus.org with SMTP; 19 Jul 2002 07:48:35 -0000 Original-Received: from news by quimby.gnus.org with local (Exim 3.12 #1 (Debian)) id 17VShH-00062M-00 for ; Fri, 19 Jul 2002 10:01:07 +0200 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 31 Original-NNTP-Posting-Host: b48sfn.cm.chello.no Original-X-Trace: quimby.gnus.org 1027065667 23209 213.46.211.96 (19 Jul 2002 08:01:07 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 19 Jul 2002 08:01:07 GMT User-Agent: Gnus/5.090007 (Oort Gnus v0.07) XEmacs/21.4 (Common Lisp, i386-debian-linux) Cancel-Lock: sha1:n8vauPOrtYGV5YHsSqUHCcVvhCQ= Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:45730 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:45730 >>>>> Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann): > What about generality? Your suggestion works for nnimap, but WIBNI > there was a scheme that could be made to work generally? Something > like an augmented backend interface. Some backends could support a > function to retrieve the MIME structure of a message. (Like a TOC, > also similar to what C-d does on a message. But a datastructure.) Btw the C-d result is a good fit to what you get from IMAP. > Then additional functions should be added to retrieve certain parts > of a message. > Then Gnus would look whether the backend supports the new functions. > If so, it would ask for the TOC and retrieve all text/* (or whatever) > parts, or all small parts, or all inline parts, or something, and > replaces the other ones with a button. > Would this be more difficult to do? I don't know. My initial proposal should be possible to do with a handler for the MIME type message/external-body, and changes to the nnimap backend. What do the lisp gurus say? What's the preferred approach? There seems to be quite a bit of conservativism wrt. changing the backend interface. _If_ there is to be a backend change I would like it to go hand in hand with other changes, like making the backend interface asynchronous.