Re: [PATCH v4 10/16] Add n_d_add_message_with_indexopts (extension of n_d_add_message)
[notmuch-archives.git] / 3c / 381684bc21a87a0fac887ad5fd6c13cfb64b25
1 Return-Path: <cworth@cworth.org>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id D80DC431FC0;\r
6         Fri, 27 Nov 2009 20:49:55 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 Received: from olra.theworths.org ([127.0.0.1])\r
9         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
10         with ESMTP id 50aDIh6i6Lqo; Fri, 27 Nov 2009 20:49:55 -0800 (PST)\r
11 Received: from cworth.org (localhost [127.0.0.1])\r
12         by olra.theworths.org (Postfix) with ESMTP id DBF72431FAE;\r
13         Fri, 27 Nov 2009 20:49:54 -0800 (PST)\r
14 From: Carl Worth <cworth@cworth.org>\r
15 To: Alexander Botero-Lowry <alex.boterolowry@gmail.com>,\r
16         notmuch@notmuchmail.org\r
17 In-Reply-To: <1259140413-16278-2-git-send-email-alex.boterolowry@gmail.com>\r
18 References: <1259140413-16278-1-git-send-email-alex.boterolowry@gmail.com>\r
19         <1259140413-16278-2-git-send-email-alex.boterolowry@gmail.com>\r
20 Date: Fri, 27 Nov 2009 20:49:40 -0800\r
21 Message-ID: <87r5rjb6e3.fsf@yoom.home.cworth.org>\r
22 MIME-Version: 1.0\r
23 Content-Type: multipart/signed; boundary="=-=-=";\r
24         micalg=pgp-sha1; protocol="application/pgp-signature"\r
25 Subject: Re: [notmuch] [PATCH 2/2] add some very rudimentary support for\r
26  handling html parts\r
27 X-BeenThere: notmuch@notmuchmail.org\r
28 X-Mailman-Version: 2.1.12\r
29 Precedence: list\r
30 List-Id: "Use and development of the notmuch mail system."\r
31         <notmuch.notmuchmail.org>\r
32 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
33         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
34 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
35 List-Post: <mailto:notmuch@notmuchmail.org>\r
36 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
37 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
38         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
39 X-List-Received-Date: Sat, 28 Nov 2009 04:49:56 -0000\r
40 \r
41 --=-=-=\r
42 Content-Transfer-Encoding: quoted-printable\r
43 \r
44 On Wed, 25 Nov 2009 01:13:33 -0800, Alexander Botero-Lowry <alex.boterolowr=\r
45 y@gmail.com> wrote:\r
46 > I was planning to be committing super awesome mime-handling support\r
47 > that would make notmuch rival every mail program ever for pure mime\r
48 > awesomeness. It turns out, that mime is confusing and hard, and the\r
49 > mm-* functions do awesome things like provide different forms based\r
50 > on the number and composition of mime-parts in a document, so I set\r
51 > my first-pass goal a bit lower. What this does, is if there is an\r
52 > html mime-part in the message and it's the first part, it gets inlined\r
53 > using `mm-display-part'. This should solve the biggest problem I was\r
54 > facing, which is HTML only messages that I have to go into the awful\r
55 > mime-mode to view.\r
56 >=20\r
57 > This still even leaves in the Non-text part: message and all.\r
58 \r
59 A very nice first step for support for HTML mail. Thanks, Alex!\r
60 \r
61 This is definitely easier than viewing the raw mail message and trying\r
62 to read past all the tags. I did exercise some editorial license and\r
63 change the commit message, (removing references to future ideas,\r
64 etc.). Here's what I ended up with before pushing:\r
65 \r
66     Add some very rudimentary support for handling html parts\r
67 =20=20=20=20\r
68     If there is an html mime-part in the message and it's the first part,\r
69     it gets inlined using `mm-display-part' to convert it to plain text.\r
70 =20=20=20=20\r
71     The HTML content is still available as a non-text part as well.\r
72 \r
73 Thanks again,\r
74 \r
75 =2DCarl\r
76 \r
77 --=-=-=\r
78 Content-Type: application/pgp-signature\r
79 \r
80 -----BEGIN PGP SIGNATURE-----\r
81 Version: GnuPG v1.4.10 (GNU/Linux)\r
82 \r
83 iD8DBQFLEKvk6JDdNq8qSWgRApGUAJ9sON292/O1Ppis+pEhHNXVXfy/fACdG04a\r
84 kM8CTX74ZQKdW+JgoqbzHMQ=\r
85 =Q/PN\r
86 -----END PGP SIGNATURE-----\r
87 --=-=-=--\r