--- /dev/null
+Return-Path: <awg@lagos.xvx.ca>\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 8A1F9431FBF\r
+ for <notmuch@notmuchmail.org>; Fri, 3 Feb 2012 16:32:50 -0800 (PST)\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 e3njrTEuHpzC for <notmuch@notmuchmail.org>;\r
+ Fri, 3 Feb 2012 16:32:49 -0800 (PST)\r
+Received: from smtp-out-04.shaw.ca (smtp-out-04.shaw.ca [64.59.134.12])\r
+ by olra.theworths.org (Postfix) with ESMTP id C39DA431FC7\r
+ for <notmuch@notmuchmail.org>; Fri, 3 Feb 2012 16:32:47 -0800 (PST)\r
+Received: from lb7f8hsrpno-svcs.dcs.int.inet (HELO pd5ml2no-ssvc.prod.shaw.ca)\r
+ ([10.0.144.222])\r
+ by pd5mo1no-svcs.prod.shaw.ca with ESMTP; 03 Feb 2012 17:32:46 -0700\r
+X-Cloudmark-SP-Filtered: true\r
+X-Cloudmark-SP-Result: v=1.1 cv=m05oFQ/DU99dGqsFIml08suKTIzCBvSA/J37eL+THWw=\r
+ c=1 sm=1\r
+ a=O8KtcTNBeAEA:10 a=BLceEmwcHowA:10 a=yQp6g8lIsgqumF79BAsFDg==:17\r
+ a=OisoMLfxAAAA:8 a=GzGxOs6gAAAA:8 a=7343-z1_AAAA:8 a=pGLkceISAAAA:8\r
+ a=G82suNoZhXt8kMG2sKYA:9 a=VI19NqTFTB2UPUXuo_MA:7 a=2ke3qTA2c_8A:10\r
+ a=q2Bpxrkjl4QA:10 a=0c-eHkXYtrgA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117\r
+Received: from unknown (HELO lagos.xvx.ca) ([96.52.216.56])\r
+ by pd5ml2no-dmz.prod.shaw.ca with ESMTP; 03 Feb 2012 17:32:38 -0700\r
+Received: by lagos.xvx.ca (Postfix, from userid 1000)\r
+ id 00CE2800C338; Fri, 3 Feb 2012 17:32:37 -0700 (MST)\r
+From: Adam Wolfe Gordon <awg+notmuch@xvx.ca>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH 1/2] test: Add broken test for showing forwarded messages\r
+Date: Fri, 3 Feb 2012 17:32:32 -0700\r
+Message-Id: <1328315554-16085-2-git-send-email-awg+notmuch@xvx.ca>\r
+X-Mailer: git-send-email 1.7.5.4\r
+In-Reply-To: <1328315554-16085-1-git-send-email-awg+notmuch@xvx.ca>\r
+References: <1328315554-16085-1-git-send-email-awg+notmuch@xvx.ca>\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, 04 Feb 2012 00:32:50 -0000\r
+\r
+Messages are sometimes forwarded with no new text in them, such\r
+that the entire message looks like a top-posted reply with no reply\r
+text. Showing such a message in emacs results in no message body\r
+or button being inserted, so the buffer is empty except for headers.\r
+---\r
+ test/emacs | 33 +++++++++++++++++++++++++++++++++\r
+ 1 files changed, 33 insertions(+), 0 deletions(-)\r
+\r
+diff --git a/test/emacs b/test/emacs\r
+index 8ca4c8a..b8b13a7 100755\r
+--- a/test/emacs\r
++++ b/test/emacs\r
+@@ -349,6 +349,39 @@ Thanks for the advice! I will be sure to put it to good use.\r
+ [ 9-line hidden original message. Click/Enter to show. ]" > EXPECTED\r
+ test_expect_equal_file OUTPUT EXPECTED\r
+ \r
++test_begin_subtest "Non-hiding of forwarded message with no new text"\r
++test_subtest_known_broken\r
++add_message [id]=forwarded-top-post \\r
++ '[subject]="FW: The problem with top-posting"' \\r
++ '[body]="\r
++\r
++-----Original Message-----\r
++From: Top Poster <top@poster.com>\r
++To: Notmuch Test Suite <test_suite@notmuchmai.org>\r
++Sent: Fri, 05 Jan 2001 15:43:57 +0000\r
++Subject: FW: The problem with top-posting\r
++\r
++Q: Why is top-posting such a bad thing?\r
++A: Top-posting.\r
++Q: What is the most annoying thing in e-mail?"'\r
++test_emacs "(notmuch-show \"FW: The problem with top-posting\")\r
++ (test-visible-output)"\r
++echo "Notmuch Test Suite <test_suite@notmuchmail.org> (2001-01-05) (inbox)\r
++Subject: FW: The problem with top-posting\r
++To: Notmuch Test Suite <test_suite@notmuchmail.org>\r
++Date: Fri, 05 Jan 2001 15:43:57 +0000\r
++\r
++-----Original Message-----\r
++From: Top Poster <top@poster.com>\r
++To: Notmuch Test Suite <test_suite@notmuchmai.org>\r
++Sent: Fri, 05 Jan 2001 15:43:57 +0000\r
++Subject: FW: The problem with top-posting\r
++\r
++Q: Why is top-posting such a bad thing?\r
++A: Top-posting.\r
++Q: What is the most annoying thing in e-mail?" > EXPECTED\r
++test_expect_equal_file OUTPUT EXPECTED\r
++\r
+ test_begin_subtest "Hiding message in notmuch-show view"\r
+ test_emacs '(notmuch-show "id:f35dbb950911171438k5df6eb56k77b6c0944e2e79ae@mail.gmail.com")\r
+ (notmuch-show-toggle-message)\r
+-- \r
+1.7.5.4\r
+\r