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 16370431FD0 for ; Mon, 18 Jul 2011 01:06:11 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0.01 X-Spam-Level: X-Spam-Status: No, score=0.01 tagged_above=-999 required=5 tests=[T_MIME_NO_TEXT=0.01] 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 Gly1aLy6c7Rs for ; Mon, 18 Jul 2011 01:06:09 -0700 (PDT) Received: from keithp.com (home.keithp.com [63.227.221.253]) by olra.theworths.org (Postfix) with ESMTP id EA34C431FB6 for ; Mon, 18 Jul 2011 01:06:08 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by keithp.com (Postfix) with ESMTP id 13D52C74016 for ; Mon, 18 Jul 2011 01:06:08 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at keithp.com Received: from keithp.com ([127.0.0.1]) by localhost (keithp.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 0U7wmZ0ltRzj for ; Mon, 18 Jul 2011 01:06:05 -0700 (PDT) Received: by keithp.com (Postfix, from userid 1033) id 6C576C74015; Mon, 18 Jul 2011 01:06:05 -0700 (PDT) Received: from koto.keithp.com (localhost [127.0.0.1]) by keithp.com (Postfix) with ESMTP id 4A7C8C78007 for ; Mon, 18 Jul 2011 01:06:05 -0700 (PDT) Received: by koto.keithp.com (Postfix, from userid 1488) id 844A764275A; Mon, 18 Jul 2011 01:06:05 -0700 (PDT) From: "Keith Packard" To: notmuch@notmuchmail.org Subject: Missing inlined message/rfc822 bodies? User-Agent: Notmuch/0.6.1-66-ga900dda (http://notmuchmail.org) Emacs/23.3.1 (i486-pc-linux-gnu) Date: Mon, 18 Jul 2011 01:06:05 -0700 Message-ID: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; 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: Mon, 18 Jul 2011 08:06:11 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable I wasn't seeing anything for an inlined message/rfc822 part (as with a forwarded email message) and discovered that for some reason, the message structure wasn't as expected. The following patch appears to help me. I'm still stuck trying to use the 'v' key to display attachments from forwarded messages; it looks like mm-dissect-buffer isn't digging into the attached message and pulling the embedded attachments out or something. However, I can at least view the message and save the attachments now. diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el index f96743b..402fb2c 100644 =2D-- a/emacs/notmuch-show.el +++ b/emacs/notmuch-show.el @@ -519,6 +519,12 @@ current buffer, if possible." ;; message display. (insert "\n") =20 + ;; + ;; I dunno, sometimes the message part is a single element list contai= ning the plist + ;; + (if (not inner-parts) + (setq inner-parts (plist-get (car message-part) :content))) + ;; Show all of the parts. (mapc (lambda (inner-part) (notmuch-show-insert-bodypart msg inner-part depth)) =2D-=20 keith.packard@intel.com --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iD8DBQFOI+ltQp8BWwlsTdMRApJCAJ9iYyovZLnkhmx1j8R1DzOkkP1fEQCgrFTi U7fkpYn1gdkhkke1P0+JghU= =BdMu -----END PGP SIGNATURE----- --=-=-=--