Re: [PATCH] test: Force reply to use html2text for consistency
authorTomi Ollila <tomi.ollila@iki.fi>
Mon, 7 May 2012 06:17:40 +0000 (09:17 +0300)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:46:58 +0000 (09:46 -0800)
da/accb3c9cbe9ec6c18249e532ddb62a8592371f [new file with mode: 0644]

diff --git a/da/accb3c9cbe9ec6c18249e532ddb62a8592371f b/da/accb3c9cbe9ec6c18249e532ddb62a8592371f
new file mode 100644 (file)
index 0000000..8cc644c
--- /dev/null
@@ -0,0 +1,82 @@
+Return-Path: <tomi.ollila@iki.fi>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 86DC1431FB6\r
+       for <notmuch@notmuchmail.org>; Sun,  6 May 2012 23:17:48 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
+       autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id alKwuNFLyOr4 for <notmuch@notmuchmail.org>;\r
+       Sun,  6 May 2012 23:17:46 -0700 (PDT)\r
+Received: from guru.guru-group.fi (guru-group.fi [87.108.86.66])\r
+       by olra.theworths.org (Postfix) with ESMTP id 44388431FAE\r
+       for <notmuch@notmuchmail.org>; Sun,  6 May 2012 23:17:46 -0700 (PDT)\r
+Received: by guru.guru-group.fi (Postfix, from userid 501)\r
+       id BA2FB68021; Mon,  7 May 2012 09:17:40 +0300 (EEST)\r
+From: Tomi Ollila <tomi.ollila@iki.fi>\r
+To: David Bremner <david@tethera.net>, Adam Wolfe Gordon <awg+notmuch@xvx.ca>,\r
+       notmuch@notmuchmail.org\r
+Subject: Re: [PATCH] test: Force reply to use html2text for consistency\r
+In-Reply-To: <87aa1kj29g.fsf@zancas.localnet>\r
+References:\r
+ <CAMoJFUv6WcFKZVobqLk8tbmZ2GiXHh-fMhhukChBtXVK3brSxQ@mail.gmail.com>\r
+       <1336316175-17852-1-git-send-email-awg+notmuch@xvx.ca>\r
+       <87aa1kj29g.fsf@zancas.localnet>\r
+User-Agent: Notmuch/0.12+181~g650dcc2 (http://notmuchmail.org) Emacs/23.3.1\r
+       (x86_64-unknown-linux-gnu)\r
+X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL\r
+       $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F\r
+       !)g;OY^,BjTbr)Np:%c_o'jj,Z\r
+Date: Mon, 07 May 2012 09:17:40 +0300\r
+Message-ID: <m2fwbc4irf.fsf@guru.guru-group.fi>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Mon, 07 May 2012 06:17:48 -0000\r
+\r
+On Mon, May 07 2012, David Bremner <david@tethera.net> wrote:\r
+\r
+> Adam Wolfe Gordon <awg+notmuch@xvx.ca> writes:\r
+>\r
+>> The output of the HTML reply test in the emacs suite can vary\r
+>> depending on which HTML renderers are installed on the machine running\r
+>> the tests. The renderer that is always available is emacs's builtin\r
+>> html2text function. In order to get consistency, force the test to use\r
+>> html2text even if other renderers are available.\r
+>\r
+> pushed, and it seems to replicate the test results on the buildbot. If\r
+> html2text ever gets less crappy I guess we'll have to redo the test\r
+> data.\r
+\r
+If html2text ever gets less crappy then we face the same problem -- users\r
+with different emacs get different rendering output making tests fail\r
+for some users.\r
+\r
+Then we can do "(let ... (mm-text-html-renderer 'mm-insert-part))\r
+\r
+to get html inserted unmodified; excerpt from test output using above:\r
+\r
+ -> Hi,This is an HTML test message.OK?\r
+ +> Hi,<br />This is an <b>HTML</b> test message.<br /><br />OK?\r
+\r
+>\r
+> d\r
+\r
+Tomi\r