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 86DC1431FB6 for ; Sun, 6 May 2012 23:17:48 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] autolearn=disabled 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 alKwuNFLyOr4 for ; Sun, 6 May 2012 23:17:46 -0700 (PDT) Received: from guru.guru-group.fi (guru-group.fi [87.108.86.66]) by olra.theworths.org (Postfix) with ESMTP id 44388431FAE for ; Sun, 6 May 2012 23:17:46 -0700 (PDT) Received: by guru.guru-group.fi (Postfix, from userid 501) id BA2FB68021; Mon, 7 May 2012 09:17:40 +0300 (EEST) From: Tomi Ollila To: David Bremner , Adam Wolfe Gordon , notmuch@notmuchmail.org Subject: Re: [PATCH] test: Force reply to use html2text for consistency In-Reply-To: <87aa1kj29g.fsf@zancas.localnet> References: <1336316175-17852-1-git-send-email-awg+notmuch@xvx.ca> <87aa1kj29g.fsf@zancas.localnet> User-Agent: Notmuch/0.12+181~g650dcc2 (http://notmuchmail.org) Emacs/23.3.1 (x86_64-unknown-linux-gnu) X-Face: HhBM'cA~ MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 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: Mon, 07 May 2012 06:17:48 -0000 On Mon, May 07 2012, David Bremner wrote: > Adam Wolfe Gordon writes: > >> The output of the HTML reply test in the emacs suite can vary >> depending on which HTML renderers are installed on the machine running >> the tests. The renderer that is always available is emacs's builtin >> html2text function. In order to get consistency, force the test to use >> html2text even if other renderers are available. > > pushed, and it seems to replicate the test results on the buildbot. If > html2text ever gets less crappy I guess we'll have to redo the test > data. If html2text ever gets less crappy then we face the same problem -- users with different emacs get different rendering output making tests fail for some users. Then we can do "(let ... (mm-text-html-renderer 'mm-insert-part)) to get html inserted unmodified; excerpt from test output using above: -> Hi,This is an HTML test message.OK? +> Hi,
This is an HTML test message.

OK? > > d Tomi