[RFC PATCH] test: add devel/test-in-docker.sh
[notmuch-archives.git] / b3 / 5b14c177f2d16178ac850c17878ed67d5a7098
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 5343F431FBC\r
6         for <notmuch@notmuchmail.org>; Tue,  9 Feb 2010 16:23:06 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -1.995\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-1.995 tagged_above=-999 required=5\r
12         tests=[ALL_TRUSTED=-1.8, AWL=-0.010, BAYES_40=-0.185] autolearn=ham\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id teNUJ651qVd7; Tue,  9 Feb 2010 16:23:05 -0800 (PST)\r
16 Received: from yoom.home.cworth.org (localhost [127.0.0.1])\r
17         by olra.theworths.org (Postfix) with ESMTP id 4D851431FAE;\r
18         Tue,  9 Feb 2010 16:23:04 -0800 (PST)\r
19 Received: by yoom.home.cworth.org (Postfix, from userid 1000)\r
20         id C0E1225416F; Tue,  9 Feb 2010 16:23:02 -0800 (PST)\r
21 From: Carl Worth <cworth@cworth.org>\r
22 To: Alex Ghitza <aghitza@gmail.com>, notmuch@notmuchmail.org\r
23 In-Reply-To: <54iqa6bt4m.fsf@gmail.com>\r
24 References: <54iqa6bt4m.fsf@gmail.com>\r
25 Date: Tue, 09 Feb 2010 16:22:56 -0800\r
26 Message-ID: <87iqa6lz1b.fsf@yoom.home.cworth.org>\r
27 MIME-Version: 1.0\r
28 Content-Type: multipart/signed; boundary="=-=-=";\r
29         micalg=pgp-sha1; protocol="application/pgp-signature"\r
30 Subject: Re: [notmuch] viewing text/html (inline or otherwise)\r
31 X-BeenThere: notmuch@notmuchmail.org\r
32 X-Mailman-Version: 2.1.13\r
33 Precedence: list\r
34 List-Id: "Use and development of the notmuch mail system."\r
35         <notmuch.notmuchmail.org>\r
36 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
37         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
38 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
39 List-Post: <mailto:notmuch@notmuchmail.org>\r
40 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
41 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
42         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
43 X-List-Received-Date: Wed, 10 Feb 2010 00:23:06 -0000\r
44 \r
45 --=-=-=\r
46 Content-Transfer-Encoding: quoted-printable\r
47 \r
48 On Tue, 09 Feb 2010 21:28:25 +1100, Alex Ghitza <aghitza@gmail.com> wrote:\r
49 > Ideally, I'd like to be able to see what's hidden behind the=20\r
50 > "Non-text part: text/html", and if it could happen inline that would be\r
51 > great.  I would also entertain the idea of opening an external browser\r
52 > window, if that's the way this has to go.\r
53 \r
54 We actually had some support for inline viewing of HTML message parts\r
55 for a while. I reverted the code only because it was slowing down\r
56 rendering of non-HTML messages. And I did that with the expectation that\r
57 the code would appear again shortly with the obvious optimization to not\r
58 do any extra work for non-HTML messages.\r
59 \r
60 I know that Keith is using a little script he wrote so that he can hit\r
61 '|' on a message and pipe it to his script. The script then uses a\r
62 utility, (munpack?) to extract all the various MIME parts to a temporary\r
63 directory and then run a web broswer on that directory. Perhaps Keith\r
64 would be so kind as to share that script with the community here.\r
65 \r
66 What I'm doing write now is using 'V' to view the raw message and then\r
67 running eval-expression (by typing M-:) and then using:\r
68 \r
69         (mm-display-parts (mm-dissect-buffer))\r
70 \r
71 That isn't ideal because it leaves a bunch of the raw message around,\r
72 and leaves a buffer open with a modified version of a mail file in the\r
73 mailstore.\r
74 \r
75 I'd definitely like a correct solution. Emacs definitely has no shortage\r
76 of already-existing code to parse and render HTML, (even with inline\r
77 images, etc.). We just need to find and hook things up properly.\r
78 \r
79 =2DCarl\r
80 \r
81 --=-=-=\r
82 Content-Type: application/pgp-signature\r
83 \r
84 -----BEGIN PGP SIGNATURE-----\r
85 Version: GnuPG v1.4.10 (GNU/Linux)\r
86 \r
87 iD8DBQFLcfxh6JDdNq8qSWgRAgfFAJ9TKRduCZu+2jl573zL7wlPhV2raQCfc3vS\r
88 9fuO8rhpnyqGqcMZOUuCF6E=\r
89 =70VA\r
90 -----END PGP SIGNATURE-----\r
91 --=-=-=--\r