From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/40578 Path: main.gmane.org!not-for-mail From: wmperry@gnu.org (William M. Perry) Newsgroups: gmane.emacs.gnus.general Subject: Re: Not downloading attachments over IMAP Date: 28 Nov 2001 12:08:12 -0500 Sender: owner-ding@hpc.uh.edu Message-ID: <86wv0au8lf.fsf@hel.bp.aventail.com> References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035176108 1701 80.91.224.250 (21 Oct 2002 04:55:08 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:55:08 +0000 (UTC) Cc: Niklas Morberg , Return-Path: Original-Received: (qmail 7790 invoked from network); 28 Nov 2001 17:08:48 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 28 Nov 2001 17:08:48 -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 1698Bv-00059e-00; Wed, 28 Nov 2001 11:08:11 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 28 Nov 2001 11:07:56 -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 LAA00952 for ; Wed, 28 Nov 2001 11:07:44 -0600 (CST) Original-Received: (qmail 7781 invoked by alias); 28 Nov 2001 17:07:55 -0000 Original-Received: (qmail 7776 invoked from network); 28 Nov 2001 17:07:55 -0000 Original-Received: from femail34.sdc1.sfba.home.com (24.254.60.24) by gnus.org with SMTP; 28 Nov 2001 17:07:55 -0000 Original-Received: from hel.bp.aventail.com ([24.12.70.142]) by femail34.sdc1.sfba.home.com (InterMail vM.4.01.03.20 201-229-121-120-20010223) with ESMTP id <20011128170753.LMJY18174.femail34.sdc1.sfba.home.com@hel.bp.aventail.com>; Wed, 28 Nov 2001 09:07:53 -0800 Original-Received: from hel.bp.aventail.com (wmperry@hel.bp.aventail.com [127.0.0.1] (may be forged)) by hel.bp.aventail.com (8.12.1/8.12.1/Debian -2) with ESMTP id fASH8CKP013392; Wed, 28 Nov 2001 12:08:12 -0500 Original-Received: (from wmperry@localhost) by hel.bp.aventail.com (8.12.1/8.12.1/Debian -2) id fASH8CDT013388; Wed, 28 Nov 2001 12:08:12 -0500 X-Authentication-Warning: hel.bp.aventail.com: wmperry set sender to wmperry@gnu.org using -f Original-To: Simon Josefsson X-Face: O~Rn;(l][/-o1sALg4A@xpE:9-"'IR[%;,,!m7 Original-Lines: 32 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:40578 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:40578 Simon Josefsson writes: > On Wed, 28 Nov 2001, Niklas Morberg wrote: > > > I'm using nnimap and quite often receive emails with > > attachments that I don't need to see (at least not this > > instant). > > > > When gnus displays an article (email) with an attachment, it > > will always download all attachments before the article is > > displayed. For large attachments, this can take a while. > > > > Can I tell gnus to not download attachments and just display > > the message? Having buttons available that downloads the > > attachment when I click them would be a nice bonus. > > This is not possible now, and making it work would require changes to the > backend interface and the cache, agent, asynchronous support and possibly > more stuff. Double plus non-trivial. Patches welcome. :-) > > A hack to not download large attachments could be written inside nnimap, > but it wouldn't be very flexible (and wouldn't allow you to download the > attachment using the normal interface at all). Is there any way to manually put a button in the buffer? You could then stick an IMAP URL in there for the specific attachment, and make activating the button fetch the correct attachment and call mm-display-part directly. -bp -- Ceterum censeo vi esse delendam