From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/42884 Path: main.gmane.org!not-for-mail From: Tom Koelman Newsgroups: gmane.emacs.gnus.general Subject: Re: MIME attachment not shown Date: Sat, 02 Feb 2002 17:28:29 +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=us-ascii X-Trace: main.gmane.org 1035178066 14570 80.91.224.250 (21 Oct 2002 05:27:46 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 05:27:46 +0000 (UTC) Return-Path: Original-Received: (qmail 21324 invoked from network); 2 Feb 2002 16:30:12 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 2 Feb 2002 16:30:12 -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 16X331-0005Pc-00; Sat, 02 Feb 2002 10:29:52 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sat, 02 Feb 2002 10:29:33 -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 KAA13205 for ; Sat, 2 Feb 2002 10:28:32 -0600 (CST) Original-Received: (qmail 21298 invoked by alias); 2 Feb 2002 16:28:31 -0000 Original-Received: (qmail 21293 invoked from network); 2 Feb 2002 16:28:31 -0000 Original-Received: from ingebrigtsen.no (HELO quimby2.netfonds.no) (195.204.10.66) by gnus.org with SMTP; 2 Feb 2002 16:28:31 -0000 Original-Received: from news by quimby2.netfonds.no with local (Exim 3.12 #1 (Debian)) id 16X37O-000743-00 for ; Sat, 02 Feb 2002 17:34:22 +0100 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 47 Original-NNTP-Posting-Host: s340-modem2945.dial.xs4all.nl Original-X-Trace: quimby2.netfonds.no 1012667661 27158 194.109.171.129 (2 Feb 2002 16:34:21 GMT) Original-X-Complaints-To: usenet@quimby2.netfonds.no Original-NNTP-Posting-Date: 2 Feb 2002 16:34:21 GMT User-Agent: Gnus/5.090005 (Oort Gnus v0.05) Emacs/21.1 (i386-msvc-windows95.1111) Cancel-Lock: sha1:Q3eAbUBLXz5UIbcHfNAsU8+Ur5E= Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:42884 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:42884 Karl Kleinpaste wrote: > Start with... > (setq gnus-unbuttonized-mime-types nil) > ...and then finding out what clickable buttons result. it results in an extra line in front of the plain text: 1. (*) text/plain ( ) text/html which wasn't there without gnus-unbuttonized-mime-types set to nil. I started to inspect the raw text of the mail and discoverd the following. In the header I see Content-Type: multipart/related; type="multipart/alternative"; boundary="----=_NextPart_000_0013_01BF4892.DC4815C0" which I guess means that the multipart/alternative bit can be extracted from the message by splitting on the lines containing ----=_NextPart_000_0013_01BF4892.DC4815C0 This line is in the message three times, which I think would split this mime-part in two. Looking at the message, the second part would be the image I am after, the first part is a multipart in itself, which I conclude from the "NextPart" splitter in the actual message: ------=_NextPart_000_0013_01BF4892.DC4815C0 Content-Type: multipart/alternative; boundary="----=_NextPart_001_0014_01BF4892.DC4815C0" This "NextPart...14" splitter is there three times, thereby splitting the first mimepart in the message into two: a plain text and a html version of the same text. So, my guess is that Gnus correctly detects the first mime-part, and after detecting that it can choose whether to display the HTML or the plain text. Due to my preferences it displays the plain text and normally just ignores the HTML, which is correct. The second mime-part however, containing the image is skipped al together. Is this a bug in the message, in Gnus or am I talking complete gibberish? Thanks, Tom