Re: [PATCH 1/2] test: add emacs show mode test for toggling display of multipart...
authorEthan Glasser-Camp <ethan.glasser.camp@gmail.com>
Sat, 20 Oct 2012 02:31:02 +0000 (22:31 +2000)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:49:53 +0000 (09:49 -0800)
91/91ff255543fdd477442fe364ca620261bd08ae [new file with mode: 0644]

diff --git a/91/91ff255543fdd477442fe364ca620261bd08ae b/91/91ff255543fdd477442fe364ca620261bd08ae
new file mode 100644 (file)
index 0000000..ce8b3bc
--- /dev/null
@@ -0,0 +1,97 @@
+Return-Path: <ethan.glasser.camp@gmail.com>\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 80BEB431FBD\r
+       for <notmuch@notmuchmail.org>; Fri, 19 Oct 2012 19:31:20 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.799\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5\r
+       tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+       FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] 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 F1FbNyWwfrSS for <notmuch@notmuchmail.org>;\r
+       Fri, 19 Oct 2012 19:31:19 -0700 (PDT)\r
+Received: from mail-vb0-f53.google.com (mail-vb0-f53.google.com\r
+       [209.85.212.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id DA6EE431FAE\r
+       for <notmuch@notmuchmail.org>; Fri, 19 Oct 2012 19:31:18 -0700 (PDT)\r
+Received: by mail-vb0-f53.google.com with SMTP id fc21so1244370vbb.26\r
+       for <notmuch@notmuchmail.org>; Fri, 19 Oct 2012 19:31:18 -0700 (PDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
+       h=from:to:subject:in-reply-to:references:user-agent:date:message-id\r
+       :mime-version:content-type;\r
+       bh=QcXCbcXlQy2xlfhkzvTN82zPVk2CAOSMPWpU6H38VEE=;\r
+       b=NUtMQocB7J2/kcZH2pWhd9QuYpUk4YRAo7+oVTpzbry7PthsBy1QI3EULxA6U0OEdS\r
+       InnMaGJMKOlZSwaB+NA7Vh9Bj+b7mpMW7xVpAmqurHDN4aR10pGQ4H3ZrSznD41vZGXt\r
+       Af8OGbW42lU5pnhkr/xzktTUXOBblr6BZ5UPwoUB5WHuxYMfLSz3gPmUe9mtrZrZS/2x\r
+       1GUP1Ra51Gecg11/jn/LH1ncinTjI4ntsHweOpv04QewQx7k+lKBmae8GTr5n9PL7TCL\r
+       nz8mH02Xfmy9PUwmAGQfKMP6IfTw+ToQt/4DxoviPxIunXNvD8mXWqw7iRUUrmAkyRS4\r
+       ZolQ==\r
+Received: by 10.52.180.5 with SMTP id dk5mr3243674vdc.45.1350700278344;\r
+       Fri, 19 Oct 2012 19:31:18 -0700 (PDT)\r
+Received: from smtp.gmail.com (p70-80.acedsl.com. [66.114.70.80])\r
+       by mx.google.com with ESMTPS id dg6sm3235468vdc.3.2012.10.19.19.31.16\r
+       (version=TLSv1/SSLv3 cipher=OTHER);\r
+       Fri, 19 Oct 2012 19:31:17 -0700 (PDT)\r
+From: Ethan Glasser-Camp <ethan.glasser.camp@gmail.com>\r
+To: Jameson Graef Rollins <jrollins@finestructure.net>,\r
+       Notmuch Mail <notmuch@notmuchmail.org>\r
+Subject: Re: [PATCH 1/2] test: add emacs show mode test for toggling display\r
+       of multipart/alternative\r
+In-Reply-To: <1344793168-23555-1-git-send-email-jrollins@finestructure.net>\r
+References: <87r4rf9q8x.fsf@qmul.ac.uk>\r
+       <1344793168-23555-1-git-send-email-jrollins@finestructure.net>\r
+User-Agent: Notmuch/0.14+45~g6ea9330 (http://notmuchmail.org) Emacs/23.3.1\r
+       (x86_64-pc-linux-gnu)\r
+Date: Fri, 19 Oct 2012 22:31:02 -0400\r
+Message-ID: <874nlp7u3d.fsf@betacantrips.com>\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: Sat, 20 Oct 2012 02:31:20 -0000\r
+\r
+Jameson Graef Rollins <jrollins@finestructure.net> writes:\r
+\r
+> +diff OUTPUT.{text,html} >OUTPUT.diff\r
+> +cat <<EOF >EXPECTED.diff\r
+> +7,9c7,10\r
+> +< [ text/html (not shown) ]\r
+> +< [ text/plain ]\r
+> +< This is the text/plain part of a multipart/alternative.\r
+> +---\r
+> +> [ text/html ]\r
+> +> This is the text/html part of a multipart/alternative.\r
+> +> \r
+> +> [ text/plain (not shown) ]\r
+> +EOF\r
+\r
+Hmm, old-school diff. I guess this (instead of unified diff) is so that\r
+if the diff isn't like this, then the diff of the diffs are clearly\r
+readable? :)\r
+\r
+git am complains at me because this patch introduces trailing whitespace\r
+(to mimic, of course, the output of diff which will have trailing\r
+whitespace as well). I would love for you to write this file using some\r
+other technique which would not require putting trailing whitespace in\r
+the test file.\r
+\r
+Additionally the patch is stale, perhaps because my patch that moved some tests\r
+to emacs-show was just pushed too.\r
+\r
+Ethan\r