Re: [PATCH v7 1/3] Add support for structured output formatters.
[notmuch-archives.git] / da / accb3c9cbe9ec6c18249e532ddb62a8592371f
1 Return-Path: <tomi.ollila@iki.fi>\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 86DC1431FB6\r
6         for <notmuch@notmuchmail.org>; Sun,  6 May 2012 23:17:48 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
12         autolearn=disabled\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 alKwuNFLyOr4 for <notmuch@notmuchmail.org>;\r
16         Sun,  6 May 2012 23:17:46 -0700 (PDT)\r
17 Received: from guru.guru-group.fi (guru-group.fi [87.108.86.66])\r
18         by olra.theworths.org (Postfix) with ESMTP id 44388431FAE\r
19         for <notmuch@notmuchmail.org>; Sun,  6 May 2012 23:17:46 -0700 (PDT)\r
20 Received: by guru.guru-group.fi (Postfix, from userid 501)\r
21         id BA2FB68021; Mon,  7 May 2012 09:17:40 +0300 (EEST)\r
22 From: Tomi Ollila <tomi.ollila@iki.fi>\r
23 To: David Bremner <david@tethera.net>, Adam Wolfe Gordon <awg+notmuch@xvx.ca>,\r
24         notmuch@notmuchmail.org\r
25 Subject: Re: [PATCH] test: Force reply to use html2text for consistency\r
26 In-Reply-To: <87aa1kj29g.fsf@zancas.localnet>\r
27 References:\r
28  <CAMoJFUv6WcFKZVobqLk8tbmZ2GiXHh-fMhhukChBtXVK3brSxQ@mail.gmail.com>\r
29         <1336316175-17852-1-git-send-email-awg+notmuch@xvx.ca>\r
30         <87aa1kj29g.fsf@zancas.localnet>\r
31 User-Agent: Notmuch/0.12+181~g650dcc2 (http://notmuchmail.org) Emacs/23.3.1\r
32         (x86_64-unknown-linux-gnu)\r
33 X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL\r
34         $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F\r
35         !)g;OY^,BjTbr)Np:%c_o'jj,Z\r
36 Date: Mon, 07 May 2012 09:17:40 +0300\r
37 Message-ID: <m2fwbc4irf.fsf@guru.guru-group.fi>\r
38 MIME-Version: 1.0\r
39 Content-Type: text/plain; charset=us-ascii\r
40 X-BeenThere: notmuch@notmuchmail.org\r
41 X-Mailman-Version: 2.1.13\r
42 Precedence: list\r
43 List-Id: "Use and development of the notmuch mail system."\r
44         <notmuch.notmuchmail.org>\r
45 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
46         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
47 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
48 List-Post: <mailto:notmuch@notmuchmail.org>\r
49 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
50 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
51         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
52 X-List-Received-Date: Mon, 07 May 2012 06:17:48 -0000\r
53 \r
54 On Mon, May 07 2012, David Bremner <david@tethera.net> wrote:\r
55 \r
56 > Adam Wolfe Gordon <awg+notmuch@xvx.ca> writes:\r
57 >\r
58 >> The output of the HTML reply test in the emacs suite can vary\r
59 >> depending on which HTML renderers are installed on the machine running\r
60 >> the tests. The renderer that is always available is emacs's builtin\r
61 >> html2text function. In order to get consistency, force the test to use\r
62 >> html2text even if other renderers are available.\r
63 >\r
64 > pushed, and it seems to replicate the test results on the buildbot. If\r
65 > html2text ever gets less crappy I guess we'll have to redo the test\r
66 > data.\r
67 \r
68 If html2text ever gets less crappy then we face the same problem -- users\r
69 with different emacs get different rendering output making tests fail\r
70 for some users.\r
71 \r
72 Then we can do "(let ... (mm-text-html-renderer 'mm-insert-part))\r
73 \r
74 to get html inserted unmodified; excerpt from test output using above:\r
75 \r
76  -> Hi,This is an HTML test message.OK?\r
77  +> Hi,<br />This is an <b>HTML</b> test message.<br /><br />OK?\r
78 \r
79 >\r
80 > d\r
81 \r
82 Tomi\r