From 5e005fc36c2173fa1d43f55715db1e4dd1a10605 Mon Sep 17 00:00:00 2001 From: Adam Wolfe Gordon Date: Sun, 6 May 2012 12:55:18 +1800 Subject: [PATCH] Re: [PATCH 1/2] test: Replying to an HTML-only message in emacs --- d2/c9279ab4bafd63f0f046d2c9aab453a0749fe8 | 86 +++++++++++++++++++++++ 1 file changed, 86 insertions(+) create mode 100644 d2/c9279ab4bafd63f0f046d2c9aab453a0749fe8 diff --git a/d2/c9279ab4bafd63f0f046d2c9aab453a0749fe8 b/d2/c9279ab4bafd63f0f046d2c9aab453a0749fe8 new file mode 100644 index 000000000..ba8a02f2b --- /dev/null +++ b/d2/c9279ab4bafd63f0f046d2c9aab453a0749fe8 @@ -0,0 +1,86 @@ +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 2B050431FB6 + for ; Sat, 5 May 2012 11:55:22 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -0.7 +X-Spam-Level: +X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 + tests=[RCVD_IN_DNSWL_LOW=-0.7] 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 VbMPNwQmqkKZ for ; + Sat, 5 May 2012 11:55:21 -0700 (PDT) +Received: from mail-lb0-f181.google.com (mail-lb0-f181.google.com + [209.85.217.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 54090431FAE + for ; Sat, 5 May 2012 11:55:21 -0700 (PDT) +Received: by lbbgk8 with SMTP id gk8so2986987lbb.26 + for ; Sat, 05 May 2012 11:55:18 -0700 (PDT) +X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=google.com; s=20120113; + h=mime-version:sender:x-originating-ip:in-reply-to:references:date + :x-google-sender-auth:message-id:subject:from:to:cc:content-type + :content-transfer-encoding:x-gm-message-state; + bh=chyXCfoszrb8gFk702EP4DGqGPEPsDHPEunu3J/Vmus=; + b=T/VB3dIW6rrArHMgBuxgeMExVitrVqtrvuuxL3+WT66i2bGclikrXNpJl082tjuux1 + 4WyqS2yC/snd9pH1uUEQ6eXD1ciqMa3TGl+sVkVPkmzEBV5pRCa/CZnO1m5ES0UJgrlO + iWShHP2YOGOFUsOMaELozOW2lVq+cq8eXa1DL/VBnQnXPB+NdSac+lAg1xngZVi/KHfr + +mLccTc3f3pNX3sjSnxPeeTLuaJJ/dJzX6yjah86OmTURsXOT2kw4ktTjSo5wooECYpO + wej6BvCImtuzfUEnQmJu0Kc89CQiPeNZgcL9NDsyohWOKPw+ExtvuWYoFYmQW3T7IDdq + UUoA== +MIME-Version: 1.0 +Received: by 10.112.29.99 with SMTP id j3mr4833947lbh.47.1336244118227; Sat, + 05 May 2012 11:55:18 -0700 (PDT) +Sender: awg@xvx.ca +Received: by 10.112.82.163 with HTTP; Sat, 5 May 2012 11:55:18 -0700 (PDT) +X-Originating-IP: [96.52.216.56] +In-Reply-To: <87r4uzailm.fsf@awakening.csail.mit.edu> +References: <1335056093-17621-1-git-send-email-awg+notmuch@xvx.ca> + <1335056093-17621-2-git-send-email-awg+notmuch@xvx.ca> + <87r4uzailm.fsf@awakening.csail.mit.edu> +Date: Sat, 5 May 2012 12:55:18 -0600 +X-Google-Sender-Auth: JVherbqOMPcCmQ-LJNEiAvBnDOs +Message-ID: + +Subject: Re: [PATCH 1/2] test: Replying to an HTML-only message in emacs +From: Adam Wolfe Gordon +To: Austin Clements +Content-Type: text/plain; charset=ISO-8859-1 +Content-Transfer-Encoding: quoted-printable +X-Gm-Message-State: + ALoCoQnlJaHVc0ZlAt+Xo8JchOdwqDBPcRnE1BsCFhskwXcVHuTL+c4DxYVD+gQXkuREhn1USz5O +Cc: notmuch@notmuchmail.org +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: Sat, 05 May 2012 18:55:22 -0000 + +On Fri, May 4, 2012 at 12:47 PM, Austin Clements wrote: +> Does the test output depend on the HTML renderer used? =A0(And should +> there be a test dependency on w3m or something? =A0I must admit, I don't +> know how mm's HTML rendering works.) + +That's a good question. HTML output does depend on what renderer is +used, but I think the test message is simple enough that they'll all +produce the same output. I believe mm prefers w3m.el, and falls back +to using an external w3m binary, and then emacs's built-in HTML +parsing (I'm significantly less sure whether the last part is true). + +I've tried removing w3m and w3m.el from my system, and the test still +passes, so I think we're OK. + +-- Adam -- 2.26.2