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 D80DC431FC0; Fri, 27 Nov 2009 20:49:55 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org 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 50aDIh6i6Lqo; Fri, 27 Nov 2009 20:49:55 -0800 (PST) Received: from cworth.org (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id DBF72431FAE; Fri, 27 Nov 2009 20:49:54 -0800 (PST) From: Carl Worth To: Alexander Botero-Lowry , notmuch@notmuchmail.org In-Reply-To: <1259140413-16278-2-git-send-email-alex.boterolowry@gmail.com> References: <1259140413-16278-1-git-send-email-alex.boterolowry@gmail.com> <1259140413-16278-2-git-send-email-alex.boterolowry@gmail.com> Date: Fri, 27 Nov 2009 20:49:40 -0800 Message-ID: <87r5rjb6e3.fsf@yoom.home.cworth.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Subject: Re: [notmuch] [PATCH 2/2] add some very rudimentary support for handling html parts X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.12 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, 28 Nov 2009 04:49:56 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable On Wed, 25 Nov 2009 01:13:33 -0800, Alexander Botero-Lowry wrote: > I was planning to be committing super awesome mime-handling support > that would make notmuch rival every mail program ever for pure mime > awesomeness. It turns out, that mime is confusing and hard, and the > mm-* functions do awesome things like provide different forms based > on the number and composition of mime-parts in a document, so I set > my first-pass goal a bit lower. What this does, is if there is an > html mime-part in the message and it's the first part, it gets inlined > using `mm-display-part'. This should solve the biggest problem I was > facing, which is HTML only messages that I have to go into the awful > mime-mode to view. >=20 > This still even leaves in the Non-text part: message and all. A very nice first step for support for HTML mail. Thanks, Alex! This is definitely easier than viewing the raw mail message and trying to read past all the tags. I did exercise some editorial license and change the commit message, (removing references to future ideas, etc.). Here's what I ended up with before pushing: Add some very rudimentary support for handling html parts =20=20=20=20 If there is an html mime-part in the message and it's the first part, it gets inlined using `mm-display-part' to convert it to plain text. =20=20=20=20 The HTML content is still available as a non-text part as well. Thanks again, =2DCarl --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iD8DBQFLEKvk6JDdNq8qSWgRApGUAJ9sON292/O1Ppis+pEhHNXVXfy/fACdG04a kM8CTX74ZQKdW+JgoqbzHMQ= =Q/PN -----END PGP SIGNATURE----- --=-=-=--