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 8DD114196F2 for ; Mon, 10 May 2010 03:32:18 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0.009 X-Spam-Level: X-Spam-Status: No, score=0.009 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, T_MIME_NO_TEXT=0.01] autolearn=ham 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 XsZ6arFEIq3J for ; Mon, 10 May 2010 03:32:08 -0700 (PDT) Received: from mail-ww0-f53.google.com (mail-ww0-f53.google.com [74.125.82.53]) by olra.theworths.org (Postfix) with ESMTP id DEAB94196F0 for ; Mon, 10 May 2010 03:32:07 -0700 (PDT) Received: by wwb13 with SMTP id 13so665873wwb.26 for ; Mon, 10 May 2010 03:32:07 -0700 (PDT) Received: by 10.227.145.200 with SMTP id e8mr3511067wbv.221.1273487525997; Mon, 10 May 2010 03:32:05 -0700 (PDT) Received: from ut.hh.sledj.net (gmp-ea-fw-1.sun.com [192.18.1.36]) by mx.google.com with ESMTPS id x14sm39974787wbs.12.2010.05.10.03.32.04 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 10 May 2010 03:32:05 -0700 (PDT) Received: by ut.hh.sledj.net (Postfix, from userid 1000) id A52C4594031; Mon, 10 May 2010 11:33:06 +0100 (BST) To: notmuch@notmuchmail.org Subject: rfc: improved MIME handling (multipart) User-Agent: Notmuch/0.3.1-35-g1f5d75e (http://notmuchmail.org) Emacs/23.1.1 (x86_64-pc-linux-gnu) From: David Edmondson Date: Mon, 10 May 2010 11:33:03 +0100 Message-ID: <87y6fsoxls.fsf@ut.hh.sledj.net> 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, 10 May 2010 10:32:18 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable A (third) attempt at improved MIME handling, specifically for multipart, is at: http://github.com/dme/notmuch/tree/mp3 git://github.com/dme/notmuch.git (branch 'mp3') I wouldn't describe this as finished, but it's usable for my own day-to-day work, so I'd like to see if some others could try it out and provide feedback. Particularly interesting would be to know about messages where it behaves badly. The JSON format output from `notmuch show' is where most of the change is apparent. The text output should be similar to before, with the only change being to output a header{} block for in-lined message/rfc822 parts. This could be easily removed if it breaks something (the vim plugin?). This doesn't yet have the changes necessary to support multipart/related text/html parts with associated graphics or useful multipart/signed (there's no checking of signatures, etc.). Those should be `a simple matter' of writing some more emacs lisp. If someone else wants to have a go at that I'd be thrilled. dme. =2D-=20 David Edmondson, http://dme.org --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkvn4N8ACgkQaezQq/BJZRa3sACfesa4hdsP/ZussJYY9X1FYwAK TioAnAs5YuCpA1Ywi4BE+Xojaqw/9n3+ =sVQ+ -----END PGP SIGNATURE----- --=-=-=--