Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id A7B19429E25 for ; Fri, 30 Sep 2011 17:32:07 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -2.3 X-Spam-Level: X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kSWHkbGuvF0w for ; Fri, 30 Sep 2011 17:32:06 -0700 (PDT) Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu [131.215.239.19]) by olra.theworths.org (Postfix) with ESMTP id 0EA2A431FB6 for ; Fri, 30 Sep 2011 17:32:06 -0700 (PDT) Received: from earth-doxen.imss.caltech.edu (localhost [127.0.0.1]) by earth-doxen-postvirus (Postfix) with ESMTP id 85C5B66E0143; Fri, 30 Sep 2011 17:32:05 -0700 (PDT) X-Spam-Scanned: at Caltech-IMSS on earth-doxen by amavisd-new Received: from finestructure.net (c-24-18-210-148.hsd1.wa.comcast.net [24.18.210.148]) (Authenticated sender: jrollins) by earth-doxen-submit (Postfix) with ESMTP id AFF5866E01AE; Fri, 30 Sep 2011 17:32:02 -0700 (PDT) Received: by finestructure.net (Postfix, from userid 1000) id 1B6334CE; Fri, 30 Sep 2011 17:32:02 -0700 (PDT) From: Jameson Graef Rollins To: Brian May , notmuch Subject: Re: emacs email appears empty In-Reply-To: References: User-Agent: Notmuch/0.8-34-g6219218 (http://notmuchmail.org) Emacs/23.3.1 (x86_64-pc-linux-gnu) Date: Fri, 30 Sep 2011 17:31:59 -0700 Message-ID: <87ty7tr1q8.fsf@servo.factory.finestructure.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Oct 2011 00:32:07 -0000 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Thu, 29 Sep 2011 11:21:21 +1000, Brian May wrote: > Have seen several cases now where the message appears blank in the > emacs interface. With nothing but the headers. >=20 > Pushing Shift+V shows the entire raw message. Nothing special, just a > plain text email without any attachments. >=20 > MIME-Version: 1.0 > Content-Type: text/plain; charset=3Dutf-8 > Content-Transfer-Encoding: 7bit >=20 > Any ideas? I'll put money on these bad messages all originating from Apple mail clients. Apple mail clients have this horrible habit of producing completely broken mime structure. As an example, this is the mime structure of a message I received with the X-Mailer header "Apple Mail (2.1084)": =E2=94=AC=E2=95=B4 multipart/alternative =E2=94=9C=E2=95=B4 text/plain =E2=94=94=E2=94=AC=E2=95=B4 multipart/mixed =E2=94=9C=E2=95=B4 text/html =E2=94=9C=E2=95=B4 application/msword (attachment) =E2=94=9C=E2=95=B4 text/html =E2=94=9C=E2=95=B4 application/msword (attachment) =E2=94=9C=E2=95=B4 text/html =E2=94=9C=E2=95=B4 application/msword (attachment) =E2=94=94=E2=95=B4 text/html Notice what's going on here: the body part is "multipart/alternative", but the alternative to the "text/plain" part is "multipart/mixed", which happens to include all of the attachments. That's just plain wrong. If your problem is because the content is not being displayed because it's hidden in a multipart/alternative part for which there is a content-less primary alternate, you might try setting notmuch-show-all-multipart/alternative-parts in the your emacs customization. It's not elegant, but it might help. hth. jamie. --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIcBAEBCAAGBQJOhl9/AAoJEO00zqvie6q8SjYQALgUJSJLUgKfW3vbnVelgaiq ZwhdbLlZICBgE8UWJibN547AYEOOy3LBiLdHpTL/cj3FTkcVLzMGfN73PFFLMnek QRibpR5oKGkPKCsAjx9FgR5Dng9fKJwUntq5Z7fHLXFZBUDUzhXr+yV4WxnVloP5 pDtA7S2DEJoOhWZb1MSvFlBUK7ch1Pf8tjlxyiSbNXGR4pOmN8O2W1c3js5Gg8M/ V2chmpo/Hru5MfdG8BUxtVthzQp2o+rhVlo4HrzVam9LnViGwJfWDBpncyC0IE/n Rsii3ASsSiP6x+EzMW/6P5mij4x4//LsJZulmjBj0kR09ZuP8+A3Mzvdcq4w2M01 R4wypJJMi0Fc4qHve7XucPStr8vpgHGMsPOgGUzt2FExnKmFs+lZGZvy0BGEsNA2 qBooamUvfJrtkzKuEZpEcXHSfCL108WRfuZnQLX7cDD/vV6yhhh0IPC6fkJNE4qv h2lQb6sHB9NU6MdwPGospc+RjgprDuDfi8ap9eMRJmAySSyBrc5+65/4d3z4iZbN WaPvPjgzHdujuNIZZTr+W1jHNjRALiil1HsgT09wiYYkd9lCxejgz7W7sJtGzaCI Ld0dF9NrBC2APRvqvtjDvzcNXzSEBwbAHj0+6xFGuaWUVKwYmOL6vTGqx25GkK40 6V0HoOs/ZiKPb+t0PVG4 =2Zby -----END PGP SIGNATURE----- --=-=-=--