--- /dev/null
+Return-Path: <daniel@schoepe.org>\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 BF567429E33\r
+ for <notmuch@notmuchmail.org>; Fri, 16 Dec 2011 16:16:49 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.8\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.8 tagged_above=-999 required=5\r
+ tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+ 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 nfSSkwLVcSm1 for <notmuch@notmuchmail.org>;\r
+ Fri, 16 Dec 2011 16:16:48 -0800 (PST)\r
+Received: from mail-ee0-f53.google.com (mail-ee0-f53.google.com\r
+ [74.125.83.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client\r
+ certificate requested) by olra.theworths.org (Postfix) with ESMTPS id\r
+ D3713429E2F for <notmuch@notmuchmail.org>; Fri, 16 Dec 2011 16:16:45 -0800\r
+ (PST)\r
+Received: by mail-ee0-f53.google.com with SMTP id d41so4339652eek.26\r
+ for <notmuch@notmuchmail.org>; Fri, 16 Dec 2011 16:16:45 -0800 (PST)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=schoepe.org; s=google;\r
+ h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references;\r
+ bh=BoKBtBbYPGW2BofTJ9u0ERVPDPBOa1KijKKgF9oMUAY=;\r
+ b=GWkARzA8GlMT20khzMsxtSzJGZ7EgsJzqsmsQjTb646L0Kux1BXs3zyI6K2YaE2BnC\r
+ JsWJft0CjBa8PWEBrqd/iea8ZwZvNxG4lPkG+7bwmoUjMhB5QnexyUTtZ/1NHsGDtB85\r
+ JgHROPkPwOVjcuyz2O8Cqep+m3FkZaitWcRBw=\r
+Received: by 10.213.9.197 with SMTP id m5mr750422ebm.85.1324081005291;\r
+ Fri, 16 Dec 2011 16:16:45 -0800 (PST)\r
+Received: from localhost (dslb-088-069-153-158.pools.arcor-ip.net.\r
+ [88.69.153.158])\r
+ by mx.google.com with ESMTPS id 58sm3836982eet.11.2011.12.16.16.16.43\r
+ (version=TLSv1/SSLv3 cipher=OTHER);\r
+ Fri, 16 Dec 2011 16:16:44 -0800 (PST)\r
+From: Daniel Schoepe <daniel@schoepe.org>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH v2 2/2] emacs: Test for thread-outlining\r
+Date: Sat, 17 Dec 2011 01:16:34 +0100\r
+Message-Id: <1324080994-18146-3-git-send-email-daniel@schoepe.org>\r
+X-Mailer: git-send-email 1.7.7.3\r
+In-Reply-To: <1324080994-18146-1-git-send-email-daniel@schoepe.org>\r
+References: <1307921480-17130-1-git-send-email-daniel.schoepe@googlemail.com>\r
+ <1324080994-18146-1-git-send-email-daniel@schoepe.org>\r
+Cc: Daniel Schoepe <daniel.schoepe@googlemail.com>\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, 17 Dec 2011 00:16:50 -0000\r
+\r
+From: Daniel Schoepe <daniel.schoepe@googlemail.com>\r
+\r
+---\r
+ test/emacs | 7 +++++++\r
+ 1 files changed, 7 insertions(+), 0 deletions(-)\r
+\r
+diff --git a/test/emacs b/test/emacs\r
+index 6e922de..e706909 100755\r
+--- a/test/emacs\r
++++ b/test/emacs\r
+@@ -71,6 +71,13 @@ test_emacs "(let ((notmuch-indent-messages-width 4))\r
+ (test-output))"\r
+ test_expect_equal_file OUTPUT $EXPECTED/notmuch-show-thread-maildir-storage-with-fourfold-indentation\r
+ \r
++test_begin_subtest "Thread outlining in notmuch-show"\r
++maildir_storage_thread=$(notmuch search --output=threads id:20091117190054.GU3165@dottiness.seas.harvard.edu)\r
++test_emacs "(notmuch-show \"$maildir_storage_thread\") (notmuch-show-outline)\r
++ (switch-to-buffer notmuch-show-outline-buffer)\r
++ (test-output)"\r
++test_expect_equal_file OUTPUT $EXPECTED/notmuch-show-thread-outline\r
++\r
+ test_begin_subtest "notmuch-show for message with invalid From"\r
+ add_message "[subject]=\"message-with-invalid-from\"" \\r
+ "[from]=\"\\\"Invalid \\\" From\\\" <test_suite@notmuchmail.org>\""\r
+-- \r
+1.7.7.3\r
+\r