From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/27948 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: nnimap URLs? (Was: What now?) Date: 08 Dec 1999 18:26:33 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: References: <84bt8kpxba.fsf@snoopy.apana.org.au> <7s4se2uqao.fsf@brutus.mts.jhu.edu> <66yh2sev.fsf@apl.washington.edu> <199912070536.AAA01920@wmperry.bp.aventail.com> <199912071609.IAA05231@newman.aventail.com> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035164882 27246 80.91.224.250 (21 Oct 2002 01:48:02 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 01:48:02 +0000 (UTC) Cc: ding@gnus.org Return-Path: Original-Received: from bart.math.uh.edu (bart.math.uh.edu [129.7.128.48]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id MAA11856 for ; Wed, 8 Dec 1999 12:27:39 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by bart.math.uh.edu (8.9.1/8.9.1) with ESMTP id LAB09673; Wed, 8 Dec 1999 11:27:26 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 08 Dec 1999 11:27:27 -0600 (CST) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id LAA09976 for ; Wed, 8 Dec 1999 11:27:09 -0600 (CST) Original-Received: from badis.pdc.kth.se (root@badis.pdc.kth.se [130.237.221.45]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id MAA11846 for ; Wed, 8 Dec 1999 12:26:44 -0500 (EST) Original-Received: (from jas@localhost) by badis.pdc.kth.se (8.9.3/8.9.3) id SAA23593; Wed, 8 Dec 1999 18:26:35 +0100 X-Authentication-Warning: badis.pdc.kth.se: jas set sender to jas@pdc.kth.se using -f Original-To: Steinar Bang In-Reply-To: Steinar Bang's message of "08 Dec 1999 09:02:44 +0100" Original-Lines: 31 User-Agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.4.92 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:27948 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:27948 Steinar Bang writes: > They could be a good start towards an infrastructure for doing delayed > loading of attachments in nnimap mail groups. nnimap could replace > the attachment MIME parts with an URL external body message part > http://www.landfield.com/rfcs/rfc2017.html > and when opening the part, the contents of the URL would be fetched > and inserted inline (that is, if Simon hasn't already fixed this in a > different way and I haven't been paying attention...:-) ). I haven't, but I'm sort-of against the idea of modifying an article in the backend. You'd never really now what the article actually looked like in the long run... Unless someone want to implement automatic external-body access-type stuff in nnimap, I think we should have a go at a MIME-aware backend interface instead. Here's quick idea: Introduce a new backend function 'nnfoo-request-body' that return a MIME structure of the article (the "BODY structure" in IMAP is quite lisp-ish and would be general enough to work in Gnus). Also introduce a new backend function `nnfoo-request-body-parts' which take a list of MIME parts and return the corresponding body part. The standard article stuff groks theese new functions and use them if available, and only request the body parts that normally are displayed. OTOH external-body access-type would be quite simple, given that there is a url-imap package.