From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/34875 Path: main.gmane.org!not-for-mail From: Dan Christensen Newsgroups: gmane.emacs.gnus.general Subject: funny multipart/related not displaying correctly Date: 21 Feb 2001 00:56:30 -0500 Sender: owner-ding@hpc.uh.edu Message-ID: <87r90sr33l.fsf@julian.uwo.ca> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: main.gmane.org 1035170717 32544 80.91.224.250 (21 Oct 2002 03:25:17 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 03:25:17 +0000 (UTC) Return-Path: Original-Received: from karazm.math.uh.edu (karazm.math.uh.edu [129.7.128.1]) by mailhost.sclp.com (Postfix) with ESMTP id 388B7D049E for ; Wed, 21 Feb 2001 00:58:06 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by karazm.math.uh.edu (8.9.3/8.9.3) with ESMTP id XAC05977; Tue, 20 Feb 2001 23:57:38 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 20 Feb 2001 23:56:38 -0600 (CST) Original-Received: from mailhost.sclp.com (postfix@66-209.196.61.interliant.com [209.196.61.66] (may be forged)) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id XAA24092 for ; Tue, 20 Feb 2001 23:56:28 -0600 (CST) Original-Received: from pony.its.uwo.ca (pony.its.uwo.ca [129.100.2.63]) by mailhost.sclp.com (Postfix) with ESMTP id 47D97D049E for ; Wed, 21 Feb 2001 00:56:57 -0500 (EST) Original-Received: from scratchy (jdc.math.uwo.ca [129.100.75.19]) by pony.its.uwo.ca (8.10.0/8.10.0) with ESMTP id f1L5uu205822 for ; Wed, 21 Feb 2001 00:56:56 -0500 (EST) Original-Received: from jdc by scratchy with local (Exim 3.22 #1 (Debian)) id 14VSGN-000226-00; Wed, 21 Feb 2001 00:56:31 -0500 Original-To: ding@gnus.org User-Agent: Gnus/5.090001 (Oort Gnus v0.01) Emacs/21.0.98 Precedence: list X-Majordomo: 1.94.jlt7 Original-Lines: 35 Xref: main.gmane.org gmane.emacs.gnus.general:34875 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:34875 --=-=-= The message attached below isn't displayed well by Gnus. I suspect that it is incorrect MIME. Unfortunately, I'm getting a lot of messages like this from a certain source who can't change the software which generates them. So I'm wondering: are they in fact incorrect MIME, and is there a way to get Gnus to detect this and display them properly automatically? The messages consist of a multipart/related with type="multipart/alternative" and two sub-parts. The first subpart (part 1) is a multipart/alternative (which is correct) and the second (part 2) is an image (replaced below by a text/plain part). The enclosing multipart/related shouldn't be an alternative; I want to see one of the first two parts and the last part. If I hit `K m', Gnus somehow can tell this is what I want and fixes the message. I'd like this to happen automatically. By the way, before being fixed, `K b' only shows one button, which corresponds to part 1, the alternative. But I never see part 2. `C-u K b' fixes this, but shouldn't I see an alternative to part 1 with `K b'? `C-d' on the message shows the correct heirarchy of parts. Here is the message: --=-=-= Content-Disposition: attachment; filename=bad-message2 Content-Description: bad message >>From nobody Wed Feb 21 00:19:30 2001 X-From-Line: test@test Tue Feb 20 16:41:01 2001 Message-Id: <200102202140.f1KLe4p32575@zwolle.execulink.net> From: test@test Date: Tue, 20 Feb 2001 16:12:11 MIME-Version: 1.0 Content-Type: multipart/related; type="multipart/alternative"; boundary="----=unique-boundary-1" This is a multi-part message in MIME format. ------=unique-boundary-1 Content-Type: multipart/alternative; boundary="----=unique-boundary-2" ------=unique-boundary-2 Content-Type: text/plain; text/plain alternative 1a ------=unique-boundary-2 Content-Type: text/plain; text/plain alternative 1b ------=unique-boundary-2-- ------=unique-boundary-1 Content-Type: text/plain text/plain part 2 ------=unique-boundary-1-- --=-=-= Thanks for any suggestions, Dan -- Dan Christensen jdc@uwo.ca --=-=-=--