From: Mark Walters Date: Tue, 29 Oct 2013 22:55:32 +0000 (+0000) Subject: [PATCH 05/11] test: move emacs-tree test into mainline X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=75fd054ebbfd579dcb33d702361ef35ca27c3f50;p=notmuch-archives.git [PATCH 05/11] test: move emacs-tree test into mainline --- diff --git a/1c/2d0416561d4c85acf2b01dfc968ca2a930aa19 b/1c/2d0416561d4c85acf2b01dfc968ca2a930aa19 new file mode 100644 index 000000000..a91448faa --- /dev/null +++ b/1c/2d0416561d4c85acf2b01dfc968ca2a930aa19 @@ -0,0 +1,1014 @@ +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 F35E2429E5A + for ; Tue, 29 Oct 2013 15:56:21 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 1.514 +X-Spam-Level: * +X-Spam-Status: No, score=1.514 tagged_above=-999 required=5 + tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, + FREEMAIL_ENVFROM_END_DIGIT=1, FREEMAIL_FROM=0.001, + RCVD_IN_DNSWL_LOW=-0.7, URI_HEX=1.313] 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 iX+fBW78Y++t for ; + Tue, 29 Oct 2013 15:56:12 -0700 (PDT) +Received: from mail-wi0-f176.google.com (mail-wi0-f176.google.com + [209.85.212.176]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 4B315429E3B + for ; Tue, 29 Oct 2013 15:55:58 -0700 (PDT) +Received: by mail-wi0-f176.google.com with SMTP id ex4so3606171wid.3 + for ; Tue, 29 Oct 2013 15:55:54 -0700 (PDT) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; + h=from:to:cc:subject:date:message-id:in-reply-to:references + :mime-version:content-type:content-transfer-encoding; + bh=8CMg1ogsOXAJPlyIgo3FS0rAJ1o8E6+pw1MA6uriH3Q=; + b=wk+L1URMbRxzTNiMH18udRbCimnQjQjJ99DE3y9GtehGk04V4v+WpJ/DXiuaGyrA6u + wpdm1i89HC+Dz5SRaYLdzQKfvXfYo3r3Z8rDekPRYpCUpPEOwRZuF6lI5XYJmpaVV7PF + GZKjs+RqQ4it9rct5hVxJqWMNGoFlzCExKiv2yqaueN1KjPT2T/U+Krk69vwWoCnZZho + 3lYfdSuK8hwLjCAsxUHZhDDHBegmsPose9ItKTi74jkoyNKbuB0JNYab8x8chI4ezvgl + mxU/eC6GfjB9884gYjHsMXwARZ0WzsbV4HWpVH/MGg05DKFQ5y3jYJl4FyxAEtaRLMwn + TNkA== +X-Received: by 10.180.73.109 with SMTP id k13mr70484wiv.35.1383087352400; + Tue, 29 Oct 2013 15:55:52 -0700 (PDT) +Received: from localhost (93-97-24-31.zone5.bethere.co.uk. [93.97.24.31]) + by mx.google.com with ESMTPSA id j3sm9509427wie.2.2013.10.29.15.55.50 + for + (version=TLSv1.2 cipher=RC4-SHA bits=128/128); + Tue, 29 Oct 2013 15:55:52 -0700 (PDT) +From: Mark Walters +To: notmuch@notmuchmail.org +Subject: [PATCH 05/11] test: move emacs-tree test into mainline +Date: Tue, 29 Oct 2013 22:55:32 +0000 +Message-Id: <1383087338-10220-6-git-send-email-markwalters1009@gmail.com> +X-Mailer: git-send-email 1.7.9.1 +In-Reply-To: <1383087338-10220-1-git-send-email-markwalters1009@gmail.com> +References: <1383087338-10220-1-git-send-email-markwalters1009@gmail.com> +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit +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: Tue, 29 Oct 2013 22:56:22 -0000 + +We move the emacs-tree test and associated files into the main test +directory and add the test to the list in notmuch-test. +--- + contrib/notmuch-pick/test/emacs-tree | 210 -------------------- + .../tree.expected-output/notmuch-tree-show-window | 40 ---- + .../notmuch-tree-single-thread | 6 - + .../tree.expected-output/notmuch-tree-tag-inbox | 53 ----- + .../notmuch-tree-tag-inbox-tagged | 53 ----- + .../notmuch-tree-tag-inbox-thread-tagged | 53 ----- + test/emacs-tree | 210 ++++++++++++++++++++ + test/notmuch-test | 1 + + test/tree.expected-output/notmuch-tree-show-window | 40 ++++ + .../notmuch-tree-single-thread | 6 + + test/tree.expected-output/notmuch-tree-tag-inbox | 53 +++++ + .../notmuch-tree-tag-inbox-tagged | 53 +++++ + .../notmuch-tree-tag-inbox-thread-tagged | 53 +++++ + 13 files changed, 416 insertions(+), 415 deletions(-) + delete mode 100755 contrib/notmuch-pick/test/emacs-tree + delete mode 100644 contrib/notmuch-pick/test/tree.expected-output/notmuch-tree-show-window + delete mode 100644 contrib/notmuch-pick/test/tree.expected-output/notmuch-tree-single-thread + delete mode 100644 contrib/notmuch-pick/test/tree.expected-output/notmuch-tree-tag-inbox + delete mode 100644 contrib/notmuch-pick/test/tree.expected-output/notmuch-tree-tag-inbox-tagged + delete mode 100644 contrib/notmuch-pick/test/tree.expected-output/notmuch-tree-tag-inbox-thread-tagged + create mode 100755 test/emacs-tree + create mode 100644 test/tree.expected-output/notmuch-tree-show-window + create mode 100644 test/tree.expected-output/notmuch-tree-single-thread + create mode 100644 test/tree.expected-output/notmuch-tree-tag-inbox + create mode 100644 test/tree.expected-output/notmuch-tree-tag-inbox-tagged + create mode 100644 test/tree.expected-output/notmuch-tree-tag-inbox-thread-tagged + +diff --git a/contrib/notmuch-pick/test/emacs-tree b/contrib/notmuch-pick/test/emacs-tree +deleted file mode 100755 +index 05ce85d..0000000 +--- a/contrib/notmuch-pick/test/emacs-tree ++++ /dev/null +@@ -1,210 +0,0 @@ +-#!/usr/bin/env bash +- +-test_description="emacs tree view interface" +-. test-lib.sh +- +-EXPECTED=$TEST_DIRECTORY/tree.expected-output +- +-add_email_corpus +-test_begin_subtest "Do we have emacs" +-test_emacs '(insert "hello\n") +- (test-output)' +-cat <EXPECTED +-hello +-EOF +-test_expect_equal_file OUTPUT EXPECTED +- +-test_begin_subtest "Basic notmuch-tree view in emacs" +-test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'") +- (require (quote notmuch-tree)) +- (notmuch-tree "tag:inbox") +- (notmuch-test-wait) +- (test-output) +- (delete-other-windows)' +-test_expect_equal_file OUTPUT $EXPECTED/notmuch-tree-tag-inbox +- +-test_begin_subtest "Refreshed notmuch-tree view in emacs" +-test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'") +- (require (quote notmuch-tree)) +- (notmuch-tree "tag:inbox") +- (notmuch-test-wait) +- (notmuch-tree-refresh-view) +- (notmuch-test-wait) +- (test-output) +- (delete-other-windows)' +-test_expect_equal_file OUTPUT $EXPECTED/notmuch-tree-tag-inbox +- +-# In the following tag tests we make sure the display is updated +-# correctly and, in a separate test, that the database is updated +-# correctly. +- +-test_begin_subtest "Tag message in notmuch tree view (display)" +-test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'") +- (require (quote notmuch-tree)) +- (notmuch-tree "tag:inbox") +- (notmuch-test-wait) +- (forward-line) +- (notmuch-tree-tag (list "+test_tag")) +- (test-output) +- (delete-other-windows)' +-test_expect_equal_file OUTPUT $EXPECTED/notmuch-tree-tag-inbox-tagged +- +-test_begin_subtest "Tag message in notmuch tree view (database)" +-output=$(notmuch search --output=messages 'tag:test_tag') +-test_expect_equal "$output" "id:877h1wv7mg.fsf@inf-8657.int-evry.fr" +- +-test_begin_subtest "Untag message in notmuch tree view" +-test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'") +- (require (quote notmuch-tree)) +- (notmuch-tree "tag:inbox") +- (notmuch-test-wait) +- (forward-line) +- (notmuch-tree-tag (list "-test_tag")) +- (test-output) +- (delete-other-windows)' +-test_expect_equal_file OUTPUT $EXPECTED/notmuch-tree-tag-inbox +- +-test_begin_subtest "Untag message in notmuch tree view (database)" +-output=$(notmuch search --output=messages 'tag:test_tag') +-test_expect_equal "$output" "" +- +-test_begin_subtest "Tag thread in notmuch tree view" +-test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'") +- (require (quote notmuch-tree)) +- (notmuch-tree "tag:inbox") +- (notmuch-test-wait) +- ;; move to a sizable thread +- (forward-line 26) +- (notmuch-tree-tag-thread (list "+test_thread_tag")) +- (test-output) +- (delete-other-windows)' +-test_expect_equal_file OUTPUT $EXPECTED/notmuch-tree-tag-inbox-thread-tagged +- +-test_begin_subtest "Tag message in notmuch tree view (database)" +-output=$(notmuch search --output=messages 'tag:test_thread_tag') +-test_expect_equal "$output" \ +-"id:87ocn0qh6d.fsf@yoom.home.cworth.org +-id:20091118005040.GA25380@dottiness.seas.harvard.edu +-id:yunaayketfm.fsf@aiko.keithp.com +-id:87fx8can9z.fsf@vertex.dottedmag +-id:20091117203301.GV3165@dottiness.seas.harvard.edu +-id:87iqd9rn3l.fsf@vertex.dottedmag +-id:20091117190054.GU3165@dottiness.seas.harvard.edu" +- +-test_begin_subtest "Untag thread in notmuch tree view" +-test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'") +- (require (quote notmuch-tree)) +- (notmuch-tree "tag:inbox") +- (notmuch-test-wait) +- ;; move to the same sizable thread as above +- (forward-line 26) +- (notmuch-tree-tag-thread (list "-test_thread_tag")) +- (test-output) +- (delete-other-windows)' +-test_expect_equal_file OUTPUT $EXPECTED/notmuch-tree-tag-inbox +- +-test_begin_subtest "Untag message in notmuch tree view (database)" +-output=$(notmuch search --output=messages 'tag:test_thread_tag') +-test_expect_equal "$output" "" +- +-test_begin_subtest "Navigation of notmuch-hello to search results" +-test_emacs '(notmuch-hello) +- (goto-char (point-min)) +- (re-search-forward "inbox") +- (widget-button-press (1- (point))) +- (notmuch-test-wait) +- (notmuch-tree-from-search-current-query) +- (notmuch-test-wait) +- (test-output) +- (delete-other-windows)' +-test_expect_equal_file OUTPUT $EXPECTED/notmuch-tree-tag-inbox +- +-test_begin_subtest "Tree view of a single thread (from search)" +-test_emacs '(notmuch-hello) +- (goto-char (point-min)) +- (re-search-forward "inbox") +- (widget-button-press (1- (point))) +- (notmuch-test-wait) +- (notmuch-tree-from-search-thread) +- (notmuch-test-wait) +- (test-output) +- (delete-other-windows)' +-test_expect_equal_file OUTPUT $EXPECTED/notmuch-tree-single-thread +- +-test_begin_subtest "Tree view of a single thread (from show)" +-test_emacs '(notmuch-hello) +- (goto-char (point-min)) +- (re-search-forward "inbox") +- (widget-button-press (1- (point))) +- (notmuch-test-wait) +- (notmuch-search-show-thread) +- (notmuch-tree-from-show-current-query) +- (notmuch-test-wait) +- (test-output) +- (delete-other-windows)' +-test_expect_equal_file OUTPUT $EXPECTED/notmuch-tree-single-thread +- +-test_begin_subtest "Message window of tree view" +-test_emacs '(notmuch-hello) +- (goto-char (point-min)) +- (re-search-forward "inbox") +- (widget-button-press (1- (point))) +- (notmuch-test-wait) +- (notmuch-search-next-thread) +- (notmuch-tree-from-search-thread) +- (notmuch-test-wait) +- (select-window notmuch-tree-message-window) +- (test-output) +- (delete-other-windows)' +-cp OUTPUT /tmp/mjwout +-test_expect_equal_file OUTPUT $EXPECTED/notmuch-tree-show-window +- +-test_begin_subtest "Stash id" +-output=$(test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'") +- (require (quote notmuch-tree)) +- (notmuch-tree "id:1258498485-sup-142@elly") +- (notmuch-test-wait) +- (notmuch-show-stash-message-id)') +-test_expect_equal "$output" "\"Stashed: id:1258498485-sup-142@elly\"" +- +-test_begin_subtest "Move to next matching message" +-output=$(test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'") +- (require (quote notmuch-tree)) +- (notmuch-tree "from:cworth") +- (notmuch-test-wait) +- (notmuch-tree-next-matching-message) +- (notmuch-show-stash-message-id)') +-test_expect_equal "$output" "\"Stashed: id:878we4qdqf.fsf@yoom.home.cworth.org\"" +- +-test_begin_subtest "Move to next thread" +-output=$(test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'") +- (require (quote notmuch-tree)) +- (notmuch-tree "tag:inbox") +- (notmuch-test-wait) +- (forward-line 26) +- (notmuch-tree-next-thread) +- (notmuch-show-stash-message-id)') +-test_expect_equal "$output" "\"Stashed: id:1258471718-6781-1-git-send-email-dottedmag@dottedmag.net\"" +- +-test_begin_subtest "Move to previous thread" +-output=$(test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'") +- (require (quote notmuch-tree)) +- (notmuch-tree "tag:inbox") +- (notmuch-test-wait) +- (forward-line 26) +- (notmuch-tree-prev-thread) +- (notmuch-show-stash-message-id)') +-test_expect_equal "$output" "\"Stashed: id:20091117190054.GU3165@dottiness.seas.harvard.edu\"" +- +-test_begin_subtest "Move to previous previous thread" +-output=$(test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'") +- (require (quote notmuch-tree)) +- (notmuch-tree "tag:inbox") +- (notmuch-test-wait) +- (forward-line 26) +- (notmuch-tree-prev-thread) +- (notmuch-tree-prev-thread) +- (notmuch-show-stash-message-id)') +-test_expect_equal "$output" "\"Stashed: id:1258493565-13508-1-git-send-email-keithp@keithp.com\"" +- +-test_done +diff --git a/contrib/notmuch-pick/test/tree.expected-output/notmuch-tree-show-window b/contrib/notmuch-pick/test/tree.expected-output/notmuch-tree-show-window +deleted file mode 100644 +index e16792b..0000000 +--- a/contrib/notmuch-pick/test/tree.expected-output/notmuch-tree-show-window ++++ /dev/null +@@ -1,40 +0,0 @@ +-Lars Kellogg-Stedman (2009-11-17) (inbox signed) +-Subject: [notmuch] Working with Maildir storage? +-To: notmuch@notmuchmail.org +-Date: Tue, 17 Nov 2009 14:00:54 -0500 +- +-[ multipart/mixed ] +-[ multipart/signed ] +-[ text/plain ] +-I saw the LWN article and decided to take a look at notmuch. I'm +-currently using mutt and mairix to index and read a collection of +-Maildir mail folders (around 40,000 messages total). +- +-notmuch indexed the messages without complaint, but my attempt at +-searching bombed out. Running, for example: +- +- notmuch search storage +- +-Resulted in 4604 lines of errors along the lines of: +- +- Error opening +- /home/lars/Mail/read-messages.2008/cur/1246413773.24928_27334.hostname,U=3026:2,S: +- Too many open files +- +-I'm curious if this is expected behavior (i.e., notmuch does not work +-with Maildir) or if something else is going on. +- +-Cheers, +- +-[ 4-line signature. Click/Enter to show. ] +--- +-Lars Kellogg-Stedman +-Senior Technologist, Computing and Information Technology +-Harvard University School of Engineering and Applied Sciences +-[ application/pgp-signature ] +-[ text/plain ] +-[ 4-line signature. Click/Enter to show. ] +-_______________________________________________ +-notmuch mailing list +-notmuch@notmuchmail.org +-http://notmuchmail.org/mailman/listinfo/notmuch +diff --git a/contrib/notmuch-pick/test/tree.expected-output/notmuch-tree-single-thread b/contrib/notmuch-pick/test/tree.expected-output/notmuch-tree-single-thread +deleted file mode 100644 +index c9e5ef8..0000000 +--- a/contrib/notmuch-pick/test/tree.expected-output/notmuch-tree-single-thread ++++ /dev/null +@@ -1,6 +0,0 @@ +- 2009-11-17 Mikhail Gusarov ┬►[notmuch] [PATCH 1/2] Close message file after parsing message headers (inbox) +- 2009-11-17 Mikhail Gusarov ├─►[notmuch] [PATCH 2/2] Include to get uint32_t in C++ file with gcc 4.4 (inbox, unread) +- 2009-11-17 Carl Worth ╰┬►[notmuch] [PATCH 1/2] Close message file after parsing message headers (inbox, unread) +- 2009-11-17 Keith Packard ╰┬► ... (inbox, unread) +- 2009-11-18 Carl Worth ╰─► ... (inbox, unread) +-End of search results. +diff --git a/contrib/notmuch-pick/test/tree.expected-output/notmuch-tree-tag-inbox b/contrib/notmuch-pick/test/tree.expected-output/notmuch-tree-tag-inbox +deleted file mode 100644 +index 484141e..0000000 +--- a/contrib/notmuch-pick/test/tree.expected-output/notmuch-tree-tag-inbox ++++ /dev/null +@@ -1,53 +0,0 @@ +- 2010-12-29 François Boulogne ─►[aur-general] Guidelines: cp, mkdir vs install (inbox, unread) +- 2010-12-16 Olivier Berger ─►Essai accentué (inbox, unread) +- 2009-11-18 Chris Wilson ─►[notmuch] [PATCH 1/2] Makefile: evaluate pkg-config once (inbox, unread) +- 2009-11-18 Alex Botero-Lowry ┬►[notmuch] [PATCH] Error out if no query is supplied to search instead of going into an infinite loop (attachment, inbox, unread) +- 2009-11-18 Carl Worth ╰─►[notmuch] [PATCH] Error out if no query is supplied to search instead of going into an infinite loop (inbox, unread) +- 2009-11-17 Ingmar Vanhassel ┬►[notmuch] [PATCH] Typsos (inbox, unread) +- 2009-11-18 Carl Worth ╰─► ... (inbox, unread) +- 2009-11-17 Adrian Perez de Cast ┬►[notmuch] Introducing myself (inbox, signed, unread) +- 2009-11-18 Keith Packard ├─► ... (inbox, unread) +- 2009-11-18 Carl Worth ╰─► ... (inbox, unread) +- 2009-11-17 Israel Herraiz ┬►[notmuch] New to the list (inbox, unread) +- 2009-11-18 Keith Packard ├─► ... (inbox, unread) +- 2009-11-18 Carl Worth ╰─► ... (inbox, unread) +- 2009-11-17 Jan Janak ┬►[notmuch] What a great idea! (inbox, unread) +- 2009-11-17 Jan Janak ├─► ... (inbox, unread) +- 2009-11-18 Carl Worth ╰─► ... (inbox, unread) +- 2009-11-17 Jan Janak ┬►[notmuch] [PATCH] Older versions of install do not support -C. (inbox, unread) +- 2009-11-18 Carl Worth ╰─► ... (inbox, unread) +- 2009-11-17 Aron Griffis ┬►[notmuch] archive (inbox, unread) +- 2009-11-18 Keith Packard ╰┬► ... (inbox, unread) +- 2009-11-18 Carl Worth ╰─► ... (inbox, unread) +- 2009-11-17 Keith Packard ┬►[notmuch] [PATCH] Make notmuch-show 'X' (and 'x') commands remove inbox (and unread) tags (inbox, unread) +- 2009-11-18 Carl Worth ╰─►[notmuch] [PATCH] Make notmuch-show 'X' (and 'x') commands remove inbox (and unread) tags (inbox, unread) +- 2009-11-17 Lars Kellogg-Stedman ┬►[notmuch] Working with Maildir storage? (inbox, signed, unread) +- 2009-11-17 Mikhail Gusarov ├┬► ... (inbox, signed, unread) +- 2009-11-17 Lars Kellogg-Stedman │╰┬► ... (inbox, signed, unread) +- 2009-11-17 Mikhail Gusarov │ ├─► ... (inbox, unread) +- 2009-11-17 Keith Packard │ ╰┬► ... (inbox, unread) +- 2009-11-18 Lars Kellogg-Stedman │ ╰─► ... (inbox, signed, unread) +- 2009-11-18 Carl Worth ╰─► ... (inbox, unread) +- 2009-11-17 Mikhail Gusarov ┬►[notmuch] [PATCH 1/2] Close message file after parsing message headers (inbox, unread) +- 2009-11-17 Mikhail Gusarov ├─►[notmuch] [PATCH 2/2] Include to get uint32_t in C++ file with gcc 4.4 (inbox, unread) +- 2009-11-17 Carl Worth ╰┬►[notmuch] [PATCH 1/2] Close message file after parsing message headers (inbox, unread) +- 2009-11-17 Keith Packard ╰┬► ... (inbox, unread) +- 2009-11-18 Carl Worth ╰─► ... (inbox, unread) +- 2009-11-18 Keith Packard ┬►[notmuch] [PATCH] Create a default notmuch-show-hook that highlights URLs and uses word-wrap (inbox, unread) +- 2009-11-18 Alexander Botero-Low ╰─►[notmuch] [PATCH] Create a default notmuch-show-hook that highlights URLs and uses word-wrap (inbox, unread) +- 2009-11-18 Alexander Botero-Low ─►[notmuch] request for pull (inbox, unread) +- 2009-11-18 Jjgod Jiang ┬►[notmuch] Mac OS X/Darwin compatibility issues (inbox, unread) +- 2009-11-18 Alexander Botero-Low ╰┬► ... (inbox, unread) +- 2009-11-18 Jjgod Jiang ╰┬► ... (inbox, unread) +- 2009-11-18 Alexander Botero-Low ╰─► ... (inbox, unread) +- 2009-11-18 Rolland Santimano ─►[notmuch] Link to mailing list archives ? (inbox, unread) +- 2009-11-18 Jan Janak ─►[notmuch] [PATCH] notmuch new: Support for conversion of spool subdirectories into tags (inbox, unread) +- 2009-11-18 Stewart Smith ─►[notmuch] [PATCH] count_files: sort directory in inode order before statting (inbox, unread) +- 2009-11-18 Stewart Smith ─►[notmuch] [PATCH 2/2] Read mail directory in inode number order (inbox, unread) +- 2009-11-18 Stewart Smith ─►[notmuch] [PATCH] Fix linking with gcc to use g++ to link in C++ libs. (inbox, unread) +- 2009-11-18 Lars Kellogg-Stedman ┬►[notmuch] "notmuch help" outputs to stderr? (attachment, inbox, signed, unread) +- 2009-11-18 Lars Kellogg-Stedman ╰─► ... (attachment, inbox, signed, unread) +- 2009-11-17 Mikhail Gusarov ─►[notmuch] [PATCH] Handle rename of message file (inbox, unread) +- 2009-11-17 Alex Botero-Lowry ┬►[notmuch] preliminary FreeBSD support (attachment, inbox, unread) +- 2009-11-17 Carl Worth ╰─► ... (inbox, unread) +-End of search results. +diff --git a/contrib/notmuch-pick/test/tree.expected-output/notmuch-tree-tag-inbox-tagged b/contrib/notmuch-pick/test/tree.expected-output/notmuch-tree-tag-inbox-tagged +deleted file mode 100644 +index 1f75a34..0000000 +--- a/contrib/notmuch-pick/test/tree.expected-output/notmuch-tree-tag-inbox-tagged ++++ /dev/null +@@ -1,53 +0,0 @@ +- 2010-12-29 François Boulogne ─►[aur-general] Guidelines: cp, mkdir vs install (inbox, unread) +- 2010-12-16 Olivier Berger ─►Essai accentué (inbox, test_tag, unread) +- 2009-11-18 Chris Wilson ─►[notmuch] [PATCH 1/2] Makefile: evaluate pkg-config once (inbox, unread) +- 2009-11-18 Alex Botero-Lowry ┬►[notmuch] [PATCH] Error out if no query is supplied to search instead of going into an infinite loop (attachment, inbox, unread) +- 2009-11-18 Carl Worth ╰─►[notmuch] [PATCH] Error out if no query is supplied to search instead of going into an infinite loop (inbox, unread) +- 2009-11-17 Ingmar Vanhassel ┬►[notmuch] [PATCH] Typsos (inbox, unread) +- 2009-11-18 Carl Worth ╰─► ... (inbox, unread) +- 2009-11-17 Adrian Perez de Cast ┬►[notmuch] Introducing myself (inbox, signed, unread) +- 2009-11-18 Keith Packard ├─► ... (inbox, unread) +- 2009-11-18 Carl Worth ╰─► ... (inbox, unread) +- 2009-11-17 Israel Herraiz ┬►[notmuch] New to the list (inbox, unread) +- 2009-11-18 Keith Packard ├─► ... (inbox, unread) +- 2009-11-18 Carl Worth ╰─► ... (inbox, unread) +- 2009-11-17 Jan Janak ┬►[notmuch] What a great idea! (inbox, unread) +- 2009-11-17 Jan Janak ├─► ... (inbox, unread) +- 2009-11-18 Carl Worth ╰─► ... (inbox, unread) +- 2009-11-17 Jan Janak ┬►[notmuch] [PATCH] Older versions of install do not support -C. (inbox, unread) +- 2009-11-18 Carl Worth ╰─► ... (inbox, unread) +- 2009-11-17 Aron Griffis ┬►[notmuch] archive (inbox, unread) +- 2009-11-18 Keith Packard ╰┬► ... (inbox, unread) +- 2009-11-18 Carl Worth ╰─► ... (inbox, unread) +- 2009-11-17 Keith Packard ┬►[notmuch] [PATCH] Make notmuch-show 'X' (and 'x') commands remove inbox (and unread) tags (inbox, unread) +- 2009-11-18 Carl Worth ╰─►[notmuch] [PATCH] Make notmuch-show 'X' (and 'x') commands remove inbox (and unread) tags (inbox, unread) +- 2009-11-17 Lars Kellogg-Stedman ┬►[notmuch] Working with Maildir storage? (inbox, signed, unread) +- 2009-11-17 Mikhail Gusarov ├┬► ... (inbox, signed, unread) +- 2009-11-17 Lars Kellogg-Stedman │╰┬► ... (inbox, signed, unread) +- 2009-11-17 Mikhail Gusarov │ ├─► ... (inbox, unread) +- 2009-11-17 Keith Packard │ ╰┬► ... (inbox, unread) +- 2009-11-18 Lars Kellogg-Stedman │ ╰─► ... (inbox, signed, unread) +- 2009-11-18 Carl Worth ╰─► ... (inbox, unread) +- 2009-11-17 Mikhail Gusarov ┬►[notmuch] [PATCH 1/2] Close message file after parsing message headers (inbox, unread) +- 2009-11-17 Mikhail Gusarov ├─►[notmuch] [PATCH 2/2] Include to get uint32_t in C++ file with gcc 4.4 (inbox, unread) +- 2009-11-17 Carl Worth ╰┬►[notmuch] [PATCH 1/2] Close message file after parsing message headers (inbox, unread) +- 2009-11-17 Keith Packard ╰┬► ... (inbox, unread) +- 2009-11-18 Carl Worth ╰─► ... (inbox, unread) +- 2009-11-18 Keith Packard ┬►[notmuch] [PATCH] Create a default notmuch-show-hook that highlights URLs and uses word-wrap (inbox, unread) +- 2009-11-18 Alexander Botero-Low ╰─►[notmuch] [PATCH] Create a default notmuch-show-hook that highlights URLs and uses word-wrap (inbox, unread) +- 2009-11-18 Alexander Botero-Low ─►[notmuch] request for pull (inbox, unread) +- 2009-11-18 Jjgod Jiang ┬►[notmuch] Mac OS X/Darwin compatibility issues (inbox, unread) +- 2009-11-18 Alexander Botero-Low ╰┬► ... (inbox, unread) +- 2009-11-18 Jjgod Jiang ╰┬► ... (inbox, unread) +- 2009-11-18 Alexander Botero-Low ╰─► ... (inbox, unread) +- 2009-11-18 Rolland Santimano ─►[notmuch] Link to mailing list archives ? (inbox, unread) +- 2009-11-18 Jan Janak ─►[notmuch] [PATCH] notmuch new: Support for conversion of spool subdirectories into tags (inbox, unread) +- 2009-11-18 Stewart Smith ─►[notmuch] [PATCH] count_files: sort directory in inode order before statting (inbox, unread) +- 2009-11-18 Stewart Smith ─►[notmuch] [PATCH 2/2] Read mail directory in inode number order (inbox, unread) +- 2009-11-18 Stewart Smith ─►[notmuch] [PATCH] Fix linking with gcc to use g++ to link in C++ libs. (inbox, unread) +- 2009-11-18 Lars Kellogg-Stedman ┬►[notmuch] "notmuch help" outputs to stderr? (attachment, inbox, signed, unread) +- 2009-11-18 Lars Kellogg-Stedman ╰─► ... (attachment, inbox, signed, unread) +- 2009-11-17 Mikhail Gusarov ─►[notmuch] [PATCH] Handle rename of message file (inbox, unread) +- 2009-11-17 Alex Botero-Lowry ┬►[notmuch] preliminary FreeBSD support (attachment, inbox, unread) +- 2009-11-17 Carl Worth ╰─► ... (inbox, unread) +-End of search results. +diff --git a/contrib/notmuch-pick/test/tree.expected-output/notmuch-tree-tag-inbox-thread-tagged b/contrib/notmuch-pick/test/tree.expected-output/notmuch-tree-tag-inbox-thread-tagged +deleted file mode 100644 +index a7aba6e..0000000 +--- a/contrib/notmuch-pick/test/tree.expected-output/notmuch-tree-tag-inbox-thread-tagged ++++ /dev/null +@@ -1,53 +0,0 @@ +- 2010-12-29 François Boulogne ─►[aur-general] Guidelines: cp, mkdir vs install (inbox, unread) +- 2010-12-16 Olivier Berger ─►Essai accentué (inbox, unread) +- 2009-11-18 Chris Wilson ─►[notmuch] [PATCH 1/2] Makefile: evaluate pkg-config once (inbox, unread) +- 2009-11-18 Alex Botero-Lowry ┬►[notmuch] [PATCH] Error out if no query is supplied to search instead of going into an infinite loop (attachment, inbox, unread) +- 2009-11-18 Carl Worth ╰─►[notmuch] [PATCH] Error out if no query is supplied to search instead of going into an infinite loop (inbox, unread) +- 2009-11-17 Ingmar Vanhassel ┬►[notmuch] [PATCH] Typsos (inbox, unread) +- 2009-11-18 Carl Worth ╰─► ... (inbox, unread) +- 2009-11-17 Adrian Perez de Cast ┬►[notmuch] Introducing myself (inbox, signed, unread) +- 2009-11-18 Keith Packard ├─► ... (inbox, unread) +- 2009-11-18 Carl Worth ╰─► ... (inbox, unread) +- 2009-11-17 Israel Herraiz ┬►[notmuch] New to the list (inbox, unread) +- 2009-11-18 Keith Packard ├─► ... (inbox, unread) +- 2009-11-18 Carl Worth ╰─► ... (inbox, unread) +- 2009-11-17 Jan Janak ┬►[notmuch] What a great idea! (inbox, unread) +- 2009-11-17 Jan Janak ├─► ... (inbox, unread) +- 2009-11-18 Carl Worth ╰─► ... (inbox, unread) +- 2009-11-17 Jan Janak ┬►[notmuch] [PATCH] Older versions of install do not support -C. (inbox, unread) +- 2009-11-18 Carl Worth ╰─► ... (inbox, unread) +- 2009-11-17 Aron Griffis ┬►[notmuch] archive (inbox, unread) +- 2009-11-18 Keith Packard ╰┬► ... (inbox, unread) +- 2009-11-18 Carl Worth ╰─► ... (inbox, unread) +- 2009-11-17 Keith Packard ┬►[notmuch] [PATCH] Make notmuch-show 'X' (and 'x') commands remove inbox (and unread) tags (inbox, unread) +- 2009-11-18 Carl Worth ╰─►[notmuch] [PATCH] Make notmuch-show 'X' (and 'x') commands remove inbox (and unread) tags (inbox, unread) +- 2009-11-17 Lars Kellogg-Stedman ┬►[notmuch] Working with Maildir storage? (inbox, signed, test_thread_tag, unread) +- 2009-11-17 Mikhail Gusarov ├┬► ... (inbox, signed, test_thread_tag, unread) +- 2009-11-17 Lars Kellogg-Stedman │╰┬► ... (inbox, signed, test_thread_tag, unread) +- 2009-11-17 Mikhail Gusarov │ ├─► ... (inbox, test_thread_tag, unread) +- 2009-11-17 Keith Packard │ ╰┬► ... (inbox, test_thread_tag, unread) +- 2009-11-18 Lars Kellogg-Stedman │ ╰─► ... (inbox, signed, test_thread_tag, unread) +- 2009-11-18 Carl Worth ╰─► ... (inbox, test_thread_tag, unread) +- 2009-11-17 Mikhail Gusarov ┬►[notmuch] [PATCH 1/2] Close message file after parsing message headers (inbox, unread) +- 2009-11-17 Mikhail Gusarov ├─►[notmuch] [PATCH 2/2] Include to get uint32_t in C++ file with gcc 4.4 (inbox, unread) +- 2009-11-17 Carl Worth ╰┬►[notmuch] [PATCH 1/2] Close message file after parsing message headers (inbox, unread) +- 2009-11-17 Keith Packard ╰┬► ... (inbox, unread) +- 2009-11-18 Carl Worth ╰─► ... (inbox, unread) +- 2009-11-18 Keith Packard ┬►[notmuch] [PATCH] Create a default notmuch-show-hook that highlights URLs and uses word-wrap (inbox, unread) +- 2009-11-18 Alexander Botero-Low ╰─►[notmuch] [PATCH] Create a default notmuch-show-hook that highlights URLs and uses word-wrap (inbox, unread) +- 2009-11-18 Alexander Botero-Low ─►[notmuch] request for pull (inbox, unread) +- 2009-11-18 Jjgod Jiang ┬►[notmuch] Mac OS X/Darwin compatibility issues (inbox, unread) +- 2009-11-18 Alexander Botero-Low ╰┬► ... (inbox, unread) +- 2009-11-18 Jjgod Jiang ╰┬► ... (inbox, unread) +- 2009-11-18 Alexander Botero-Low ╰─► ... (inbox, unread) +- 2009-11-18 Rolland Santimano ─►[notmuch] Link to mailing list archives ? (inbox, unread) +- 2009-11-18 Jan Janak ─►[notmuch] [PATCH] notmuch new: Support for conversion of spool subdirectories into tags (inbox, unread) +- 2009-11-18 Stewart Smith ─►[notmuch] [PATCH] count_files: sort directory in inode order before statting (inbox, unread) +- 2009-11-18 Stewart Smith ─►[notmuch] [PATCH 2/2] Read mail directory in inode number order (inbox, unread) +- 2009-11-18 Stewart Smith ─►[notmuch] [PATCH] Fix linking with gcc to use g++ to link in C++ libs. (inbox, unread) +- 2009-11-18 Lars Kellogg-Stedman ┬►[notmuch] "notmuch help" outputs to stderr? (attachment, inbox, signed, unread) +- 2009-11-18 Lars Kellogg-Stedman ╰─► ... (attachment, inbox, signed, unread) +- 2009-11-17 Mikhail Gusarov ─►[notmuch] [PATCH] Handle rename of message file (inbox, unread) +- 2009-11-17 Alex Botero-Lowry ┬►[notmuch] preliminary FreeBSD support (attachment, inbox, unread) +- 2009-11-17 Carl Worth ╰─► ... (inbox, unread) +-End of search results. +diff --git a/test/emacs-tree b/test/emacs-tree +new file mode 100755 +index 0000000..05ce85d +--- /dev/null ++++ b/test/emacs-tree +@@ -0,0 +1,210 @@ ++#!/usr/bin/env bash ++ ++test_description="emacs tree view interface" ++. test-lib.sh ++ ++EXPECTED=$TEST_DIRECTORY/tree.expected-output ++ ++add_email_corpus ++test_begin_subtest "Do we have emacs" ++test_emacs '(insert "hello\n") ++ (test-output)' ++cat <EXPECTED ++hello ++EOF ++test_expect_equal_file OUTPUT EXPECTED ++ ++test_begin_subtest "Basic notmuch-tree view in emacs" ++test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'") ++ (require (quote notmuch-tree)) ++ (notmuch-tree "tag:inbox") ++ (notmuch-test-wait) ++ (test-output) ++ (delete-other-windows)' ++test_expect_equal_file OUTPUT $EXPECTED/notmuch-tree-tag-inbox ++ ++test_begin_subtest "Refreshed notmuch-tree view in emacs" ++test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'") ++ (require (quote notmuch-tree)) ++ (notmuch-tree "tag:inbox") ++ (notmuch-test-wait) ++ (notmuch-tree-refresh-view) ++ (notmuch-test-wait) ++ (test-output) ++ (delete-other-windows)' ++test_expect_equal_file OUTPUT $EXPECTED/notmuch-tree-tag-inbox ++ ++# In the following tag tests we make sure the display is updated ++# correctly and, in a separate test, that the database is updated ++# correctly. ++ ++test_begin_subtest "Tag message in notmuch tree view (display)" ++test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'") ++ (require (quote notmuch-tree)) ++ (notmuch-tree "tag:inbox") ++ (notmuch-test-wait) ++ (forward-line) ++ (notmuch-tree-tag (list "+test_tag")) ++ (test-output) ++ (delete-other-windows)' ++test_expect_equal_file OUTPUT $EXPECTED/notmuch-tree-tag-inbox-tagged ++ ++test_begin_subtest "Tag message in notmuch tree view (database)" ++output=$(notmuch search --output=messages 'tag:test_tag') ++test_expect_equal "$output" "id:877h1wv7mg.fsf@inf-8657.int-evry.fr" ++ ++test_begin_subtest "Untag message in notmuch tree view" ++test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'") ++ (require (quote notmuch-tree)) ++ (notmuch-tree "tag:inbox") ++ (notmuch-test-wait) ++ (forward-line) ++ (notmuch-tree-tag (list "-test_tag")) ++ (test-output) ++ (delete-other-windows)' ++test_expect_equal_file OUTPUT $EXPECTED/notmuch-tree-tag-inbox ++ ++test_begin_subtest "Untag message in notmuch tree view (database)" ++output=$(notmuch search --output=messages 'tag:test_tag') ++test_expect_equal "$output" "" ++ ++test_begin_subtest "Tag thread in notmuch tree view" ++test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'") ++ (require (quote notmuch-tree)) ++ (notmuch-tree "tag:inbox") ++ (notmuch-test-wait) ++ ;; move to a sizable thread ++ (forward-line 26) ++ (notmuch-tree-tag-thread (list "+test_thread_tag")) ++ (test-output) ++ (delete-other-windows)' ++test_expect_equal_file OUTPUT $EXPECTED/notmuch-tree-tag-inbox-thread-tagged ++ ++test_begin_subtest "Tag message in notmuch tree view (database)" ++output=$(notmuch search --output=messages 'tag:test_thread_tag') ++test_expect_equal "$output" \ ++"id:87ocn0qh6d.fsf@yoom.home.cworth.org ++id:20091118005040.GA25380@dottiness.seas.harvard.edu ++id:yunaayketfm.fsf@aiko.keithp.com ++id:87fx8can9z.fsf@vertex.dottedmag ++id:20091117203301.GV3165@dottiness.seas.harvard.edu ++id:87iqd9rn3l.fsf@vertex.dottedmag ++id:20091117190054.GU3165@dottiness.seas.harvard.edu" ++ ++test_begin_subtest "Untag thread in notmuch tree view" ++test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'") ++ (require (quote notmuch-tree)) ++ (notmuch-tree "tag:inbox") ++ (notmuch-test-wait) ++ ;; move to the same sizable thread as above ++ (forward-line 26) ++ (notmuch-tree-tag-thread (list "-test_thread_tag")) ++ (test-output) ++ (delete-other-windows)' ++test_expect_equal_file OUTPUT $EXPECTED/notmuch-tree-tag-inbox ++ ++test_begin_subtest "Untag message in notmuch tree view (database)" ++output=$(notmuch search --output=messages 'tag:test_thread_tag') ++test_expect_equal "$output" "" ++ ++test_begin_subtest "Navigation of notmuch-hello to search results" ++test_emacs '(notmuch-hello) ++ (goto-char (point-min)) ++ (re-search-forward "inbox") ++ (widget-button-press (1- (point))) ++ (notmuch-test-wait) ++ (notmuch-tree-from-search-current-query) ++ (notmuch-test-wait) ++ (test-output) ++ (delete-other-windows)' ++test_expect_equal_file OUTPUT $EXPECTED/notmuch-tree-tag-inbox ++ ++test_begin_subtest "Tree view of a single thread (from search)" ++test_emacs '(notmuch-hello) ++ (goto-char (point-min)) ++ (re-search-forward "inbox") ++ (widget-button-press (1- (point))) ++ (notmuch-test-wait) ++ (notmuch-tree-from-search-thread) ++ (notmuch-test-wait) ++ (test-output) ++ (delete-other-windows)' ++test_expect_equal_file OUTPUT $EXPECTED/notmuch-tree-single-thread ++ ++test_begin_subtest "Tree view of a single thread (from show)" ++test_emacs '(notmuch-hello) ++ (goto-char (point-min)) ++ (re-search-forward "inbox") ++ (widget-button-press (1- (point))) ++ (notmuch-test-wait) ++ (notmuch-search-show-thread) ++ (notmuch-tree-from-show-current-query) ++ (notmuch-test-wait) ++ (test-output) ++ (delete-other-windows)' ++test_expect_equal_file OUTPUT $EXPECTED/notmuch-tree-single-thread ++ ++test_begin_subtest "Message window of tree view" ++test_emacs '(notmuch-hello) ++ (goto-char (point-min)) ++ (re-search-forward "inbox") ++ (widget-button-press (1- (point))) ++ (notmuch-test-wait) ++ (notmuch-search-next-thread) ++ (notmuch-tree-from-search-thread) ++ (notmuch-test-wait) ++ (select-window notmuch-tree-message-window) ++ (test-output) ++ (delete-other-windows)' ++cp OUTPUT /tmp/mjwout ++test_expect_equal_file OUTPUT $EXPECTED/notmuch-tree-show-window ++ ++test_begin_subtest "Stash id" ++output=$(test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'") ++ (require (quote notmuch-tree)) ++ (notmuch-tree "id:1258498485-sup-142@elly") ++ (notmuch-test-wait) ++ (notmuch-show-stash-message-id)') ++test_expect_equal "$output" "\"Stashed: id:1258498485-sup-142@elly\"" ++ ++test_begin_subtest "Move to next matching message" ++output=$(test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'") ++ (require (quote notmuch-tree)) ++ (notmuch-tree "from:cworth") ++ (notmuch-test-wait) ++ (notmuch-tree-next-matching-message) ++ (notmuch-show-stash-message-id)') ++test_expect_equal "$output" "\"Stashed: id:878we4qdqf.fsf@yoom.home.cworth.org\"" ++ ++test_begin_subtest "Move to next thread" ++output=$(test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'") ++ (require (quote notmuch-tree)) ++ (notmuch-tree "tag:inbox") ++ (notmuch-test-wait) ++ (forward-line 26) ++ (notmuch-tree-next-thread) ++ (notmuch-show-stash-message-id)') ++test_expect_equal "$output" "\"Stashed: id:1258471718-6781-1-git-send-email-dottedmag@dottedmag.net\"" ++ ++test_begin_subtest "Move to previous thread" ++output=$(test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'") ++ (require (quote notmuch-tree)) ++ (notmuch-tree "tag:inbox") ++ (notmuch-test-wait) ++ (forward-line 26) ++ (notmuch-tree-prev-thread) ++ (notmuch-show-stash-message-id)') ++test_expect_equal "$output" "\"Stashed: id:20091117190054.GU3165@dottiness.seas.harvard.edu\"" ++ ++test_begin_subtest "Move to previous previous thread" ++output=$(test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'") ++ (require (quote notmuch-tree)) ++ (notmuch-tree "tag:inbox") ++ (notmuch-test-wait) ++ (forward-line 26) ++ (notmuch-tree-prev-thread) ++ (notmuch-tree-prev-thread) ++ (notmuch-show-stash-message-id)') ++test_expect_equal "$output" "\"Stashed: id:1258493565-13508-1-git-send-email-keithp@keithp.com\"" ++ ++test_done +diff --git a/test/notmuch-test b/test/notmuch-test +index aa28bb0..1db6e90 100755 +--- a/test/notmuch-test ++++ b/test/notmuch-test +@@ -62,6 +62,7 @@ TESTS=" + emacs-address-cleaning + emacs-hello + emacs-show ++ emacs-tree + missing-headers + hex-escaping + parse-time-string +diff --git a/test/tree.expected-output/notmuch-tree-show-window b/test/tree.expected-output/notmuch-tree-show-window +new file mode 100644 +index 0000000..e16792b +--- /dev/null ++++ b/test/tree.expected-output/notmuch-tree-show-window +@@ -0,0 +1,40 @@ ++Lars Kellogg-Stedman (2009-11-17) (inbox signed) ++Subject: [notmuch] Working with Maildir storage? ++To: notmuch@notmuchmail.org ++Date: Tue, 17 Nov 2009 14:00:54 -0500 ++ ++[ multipart/mixed ] ++[ multipart/signed ] ++[ text/plain ] ++I saw the LWN article and decided to take a look at notmuch. I'm ++currently using mutt and mairix to index and read a collection of ++Maildir mail folders (around 40,000 messages total). ++ ++notmuch indexed the messages without complaint, but my attempt at ++searching bombed out. Running, for example: ++ ++ notmuch search storage ++ ++Resulted in 4604 lines of errors along the lines of: ++ ++ Error opening ++ /home/lars/Mail/read-messages.2008/cur/1246413773.24928_27334.hostname,U=3026:2,S: ++ Too many open files ++ ++I'm curious if this is expected behavior (i.e., notmuch does not work ++with Maildir) or if something else is going on. ++ ++Cheers, ++ ++[ 4-line signature. Click/Enter to show. ] ++-- ++Lars Kellogg-Stedman ++Senior Technologist, Computing and Information Technology ++Harvard University School of Engineering and Applied Sciences ++[ application/pgp-signature ] ++[ text/plain ] ++[ 4-line signature. Click/Enter to show. ] ++_______________________________________________ ++notmuch mailing list ++notmuch@notmuchmail.org ++http://notmuchmail.org/mailman/listinfo/notmuch +diff --git a/test/tree.expected-output/notmuch-tree-single-thread b/test/tree.expected-output/notmuch-tree-single-thread +new file mode 100644 +index 0000000..c9e5ef8 +--- /dev/null ++++ b/test/tree.expected-output/notmuch-tree-single-thread +@@ -0,0 +1,6 @@ ++ 2009-11-17 Mikhail Gusarov ┬►[notmuch] [PATCH 1/2] Close message file after parsing message headers (inbox) ++ 2009-11-17 Mikhail Gusarov ├─►[notmuch] [PATCH 2/2] Include to get uint32_t in C++ file with gcc 4.4 (inbox, unread) ++ 2009-11-17 Carl Worth ╰┬►[notmuch] [PATCH 1/2] Close message file after parsing message headers (inbox, unread) ++ 2009-11-17 Keith Packard ╰┬► ... (inbox, unread) ++ 2009-11-18 Carl Worth ╰─► ... (inbox, unread) ++End of search results. +diff --git a/test/tree.expected-output/notmuch-tree-tag-inbox b/test/tree.expected-output/notmuch-tree-tag-inbox +new file mode 100644 +index 0000000..484141e +--- /dev/null ++++ b/test/tree.expected-output/notmuch-tree-tag-inbox +@@ -0,0 +1,53 @@ ++ 2010-12-29 François Boulogne ─►[aur-general] Guidelines: cp, mkdir vs install (inbox, unread) ++ 2010-12-16 Olivier Berger ─►Essai accentué (inbox, unread) ++ 2009-11-18 Chris Wilson ─►[notmuch] [PATCH 1/2] Makefile: evaluate pkg-config once (inbox, unread) ++ 2009-11-18 Alex Botero-Lowry ┬►[notmuch] [PATCH] Error out if no query is supplied to search instead of going into an infinite loop (attachment, inbox, unread) ++ 2009-11-18 Carl Worth ╰─►[notmuch] [PATCH] Error out if no query is supplied to search instead of going into an infinite loop (inbox, unread) ++ 2009-11-17 Ingmar Vanhassel ┬►[notmuch] [PATCH] Typsos (inbox, unread) ++ 2009-11-18 Carl Worth ╰─► ... (inbox, unread) ++ 2009-11-17 Adrian Perez de Cast ┬►[notmuch] Introducing myself (inbox, signed, unread) ++ 2009-11-18 Keith Packard ├─► ... (inbox, unread) ++ 2009-11-18 Carl Worth ╰─► ... (inbox, unread) ++ 2009-11-17 Israel Herraiz ┬►[notmuch] New to the list (inbox, unread) ++ 2009-11-18 Keith Packard ├─► ... (inbox, unread) ++ 2009-11-18 Carl Worth ╰─► ... (inbox, unread) ++ 2009-11-17 Jan Janak ┬►[notmuch] What a great idea! (inbox, unread) ++ 2009-11-17 Jan Janak ├─► ... (inbox, unread) ++ 2009-11-18 Carl Worth ╰─► ... (inbox, unread) ++ 2009-11-17 Jan Janak ┬►[notmuch] [PATCH] Older versions of install do not support -C. (inbox, unread) ++ 2009-11-18 Carl Worth ╰─► ... (inbox, unread) ++ 2009-11-17 Aron Griffis ┬►[notmuch] archive (inbox, unread) ++ 2009-11-18 Keith Packard ╰┬► ... (inbox, unread) ++ 2009-11-18 Carl Worth ╰─► ... (inbox, unread) ++ 2009-11-17 Keith Packard ┬►[notmuch] [PATCH] Make notmuch-show 'X' (and 'x') commands remove inbox (and unread) tags (inbox, unread) ++ 2009-11-18 Carl Worth ╰─►[notmuch] [PATCH] Make notmuch-show 'X' (and 'x') commands remove inbox (and unread) tags (inbox, unread) ++ 2009-11-17 Lars Kellogg-Stedman ┬►[notmuch] Working with Maildir storage? (inbox, signed, unread) ++ 2009-11-17 Mikhail Gusarov ├┬► ... (inbox, signed, unread) ++ 2009-11-17 Lars Kellogg-Stedman │╰┬► ... (inbox, signed, unread) ++ 2009-11-17 Mikhail Gusarov │ ├─► ... (inbox, unread) ++ 2009-11-17 Keith Packard │ ╰┬► ... (inbox, unread) ++ 2009-11-18 Lars Kellogg-Stedman │ ╰─► ... (inbox, signed, unread) ++ 2009-11-18 Carl Worth ╰─► ... (inbox, unread) ++ 2009-11-17 Mikhail Gusarov ┬►[notmuch] [PATCH 1/2] Close message file after parsing message headers (inbox, unread) ++ 2009-11-17 Mikhail Gusarov ├─►[notmuch] [PATCH 2/2] Include to get uint32_t in C++ file with gcc 4.4 (inbox, unread) ++ 2009-11-17 Carl Worth ╰┬►[notmuch] [PATCH 1/2] Close message file after parsing message headers (inbox, unread) ++ 2009-11-17 Keith Packard ╰┬► ... (inbox, unread) ++ 2009-11-18 Carl Worth ╰─► ... (inbox, unread) ++ 2009-11-18 Keith Packard ┬►[notmuch] [PATCH] Create a default notmuch-show-hook that highlights URLs and uses word-wrap (inbox, unread) ++ 2009-11-18 Alexander Botero-Low ╰─►[notmuch] [PATCH] Create a default notmuch-show-hook that highlights URLs and uses word-wrap (inbox, unread) ++ 2009-11-18 Alexander Botero-Low ─►[notmuch] request for pull (inbox, unread) ++ 2009-11-18 Jjgod Jiang ┬►[notmuch] Mac OS X/Darwin compatibility issues (inbox, unread) ++ 2009-11-18 Alexander Botero-Low ╰┬► ... (inbox, unread) ++ 2009-11-18 Jjgod Jiang ╰┬► ... (inbox, unread) ++ 2009-11-18 Alexander Botero-Low ╰─► ... (inbox, unread) ++ 2009-11-18 Rolland Santimano ─►[notmuch] Link to mailing list archives ? (inbox, unread) ++ 2009-11-18 Jan Janak ─►[notmuch] [PATCH] notmuch new: Support for conversion of spool subdirectories into tags (inbox, unread) ++ 2009-11-18 Stewart Smith ─►[notmuch] [PATCH] count_files: sort directory in inode order before statting (inbox, unread) ++ 2009-11-18 Stewart Smith ─►[notmuch] [PATCH 2/2] Read mail directory in inode number order (inbox, unread) ++ 2009-11-18 Stewart Smith ─►[notmuch] [PATCH] Fix linking with gcc to use g++ to link in C++ libs. (inbox, unread) ++ 2009-11-18 Lars Kellogg-Stedman ┬►[notmuch] "notmuch help" outputs to stderr? (attachment, inbox, signed, unread) ++ 2009-11-18 Lars Kellogg-Stedman ╰─► ... (attachment, inbox, signed, unread) ++ 2009-11-17 Mikhail Gusarov ─►[notmuch] [PATCH] Handle rename of message file (inbox, unread) ++ 2009-11-17 Alex Botero-Lowry ┬►[notmuch] preliminary FreeBSD support (attachment, inbox, unread) ++ 2009-11-17 Carl Worth ╰─► ... (inbox, unread) ++End of search results. +diff --git a/test/tree.expected-output/notmuch-tree-tag-inbox-tagged b/test/tree.expected-output/notmuch-tree-tag-inbox-tagged +new file mode 100644 +index 0000000..1f75a34 +--- /dev/null ++++ b/test/tree.expected-output/notmuch-tree-tag-inbox-tagged +@@ -0,0 +1,53 @@ ++ 2010-12-29 François Boulogne ─►[aur-general] Guidelines: cp, mkdir vs install (inbox, unread) ++ 2010-12-16 Olivier Berger ─►Essai accentué (inbox, test_tag, unread) ++ 2009-11-18 Chris Wilson ─►[notmuch] [PATCH 1/2] Makefile: evaluate pkg-config once (inbox, unread) ++ 2009-11-18 Alex Botero-Lowry ┬►[notmuch] [PATCH] Error out if no query is supplied to search instead of going into an infinite loop (attachment, inbox, unread) ++ 2009-11-18 Carl Worth ╰─►[notmuch] [PATCH] Error out if no query is supplied to search instead of going into an infinite loop (inbox, unread) ++ 2009-11-17 Ingmar Vanhassel ┬►[notmuch] [PATCH] Typsos (inbox, unread) ++ 2009-11-18 Carl Worth ╰─► ... (inbox, unread) ++ 2009-11-17 Adrian Perez de Cast ┬►[notmuch] Introducing myself (inbox, signed, unread) ++ 2009-11-18 Keith Packard ├─► ... (inbox, unread) ++ 2009-11-18 Carl Worth ╰─► ... (inbox, unread) ++ 2009-11-17 Israel Herraiz ┬►[notmuch] New to the list (inbox, unread) ++ 2009-11-18 Keith Packard ├─► ... (inbox, unread) ++ 2009-11-18 Carl Worth ╰─► ... (inbox, unread) ++ 2009-11-17 Jan Janak ┬►[notmuch] What a great idea! (inbox, unread) ++ 2009-11-17 Jan Janak ├─► ... (inbox, unread) ++ 2009-11-18 Carl Worth ╰─► ... (inbox, unread) ++ 2009-11-17 Jan Janak ┬►[notmuch] [PATCH] Older versions of install do not support -C. (inbox, unread) ++ 2009-11-18 Carl Worth ╰─► ... (inbox, unread) ++ 2009-11-17 Aron Griffis ┬►[notmuch] archive (inbox, unread) ++ 2009-11-18 Keith Packard ╰┬► ... (inbox, unread) ++ 2009-11-18 Carl Worth ╰─► ... (inbox, unread) ++ 2009-11-17 Keith Packard ┬►[notmuch] [PATCH] Make notmuch-show 'X' (and 'x') commands remove inbox (and unread) tags (inbox, unread) ++ 2009-11-18 Carl Worth ╰─►[notmuch] [PATCH] Make notmuch-show 'X' (and 'x') commands remove inbox (and unread) tags (inbox, unread) ++ 2009-11-17 Lars Kellogg-Stedman ┬►[notmuch] Working with Maildir storage? (inbox, signed, unread) ++ 2009-11-17 Mikhail Gusarov ├┬► ... (inbox, signed, unread) ++ 2009-11-17 Lars Kellogg-Stedman │╰┬► ... (inbox, signed, unread) ++ 2009-11-17 Mikhail Gusarov │ ├─► ... (inbox, unread) ++ 2009-11-17 Keith Packard │ ╰┬► ... (inbox, unread) ++ 2009-11-18 Lars Kellogg-Stedman │ ╰─► ... (inbox, signed, unread) ++ 2009-11-18 Carl Worth ╰─► ... (inbox, unread) ++ 2009-11-17 Mikhail Gusarov ┬►[notmuch] [PATCH 1/2] Close message file after parsing message headers (inbox, unread) ++ 2009-11-17 Mikhail Gusarov ├─►[notmuch] [PATCH 2/2] Include to get uint32_t in C++ file with gcc 4.4 (inbox, unread) ++ 2009-11-17 Carl Worth ╰┬►[notmuch] [PATCH 1/2] Close message file after parsing message headers (inbox, unread) ++ 2009-11-17 Keith Packard ╰┬► ... (inbox, unread) ++ 2009-11-18 Carl Worth ╰─► ... (inbox, unread) ++ 2009-11-18 Keith Packard ┬►[notmuch] [PATCH] Create a default notmuch-show-hook that highlights URLs and uses word-wrap (inbox, unread) ++ 2009-11-18 Alexander Botero-Low ╰─►[notmuch] [PATCH] Create a default notmuch-show-hook that highlights URLs and uses word-wrap (inbox, unread) ++ 2009-11-18 Alexander Botero-Low ─►[notmuch] request for pull (inbox, unread) ++ 2009-11-18 Jjgod Jiang ┬►[notmuch] Mac OS X/Darwin compatibility issues (inbox, unread) ++ 2009-11-18 Alexander Botero-Low ╰┬► ... (inbox, unread) ++ 2009-11-18 Jjgod Jiang ╰┬► ... (inbox, unread) ++ 2009-11-18 Alexander Botero-Low ╰─► ... (inbox, unread) ++ 2009-11-18 Rolland Santimano ─►[notmuch] Link to mailing list archives ? (inbox, unread) ++ 2009-11-18 Jan Janak ─►[notmuch] [PATCH] notmuch new: Support for conversion of spool subdirectories into tags (inbox, unread) ++ 2009-11-18 Stewart Smith ─►[notmuch] [PATCH] count_files: sort directory in inode order before statting (inbox, unread) ++ 2009-11-18 Stewart Smith ─►[notmuch] [PATCH 2/2] Read mail directory in inode number order (inbox, unread) ++ 2009-11-18 Stewart Smith ─►[notmuch] [PATCH] Fix linking with gcc to use g++ to link in C++ libs. (inbox, unread) ++ 2009-11-18 Lars Kellogg-Stedman ┬►[notmuch] "notmuch help" outputs to stderr? (attachment, inbox, signed, unread) ++ 2009-11-18 Lars Kellogg-Stedman ╰─► ... (attachment, inbox, signed, unread) ++ 2009-11-17 Mikhail Gusarov ─►[notmuch] [PATCH] Handle rename of message file (inbox, unread) ++ 2009-11-17 Alex Botero-Lowry ┬►[notmuch] preliminary FreeBSD support (attachment, inbox, unread) ++ 2009-11-17 Carl Worth ╰─► ... (inbox, unread) ++End of search results. +diff --git a/test/tree.expected-output/notmuch-tree-tag-inbox-thread-tagged b/test/tree.expected-output/notmuch-tree-tag-inbox-thread-tagged +new file mode 100644 +index 0000000..a7aba6e +--- /dev/null ++++ b/test/tree.expected-output/notmuch-tree-tag-inbox-thread-tagged +@@ -0,0 +1,53 @@ ++ 2010-12-29 François Boulogne ─►[aur-general] Guidelines: cp, mkdir vs install (inbox, unread) ++ 2010-12-16 Olivier Berger ─►Essai accentué (inbox, unread) ++ 2009-11-18 Chris Wilson ─►[notmuch] [PATCH 1/2] Makefile: evaluate pkg-config once (inbox, unread) ++ 2009-11-18 Alex Botero-Lowry ┬►[notmuch] [PATCH] Error out if no query is supplied to search instead of going into an infinite loop (attachment, inbox, unread) ++ 2009-11-18 Carl Worth ╰─►[notmuch] [PATCH] Error out if no query is supplied to search instead of going into an infinite loop (inbox, unread) ++ 2009-11-17 Ingmar Vanhassel ┬►[notmuch] [PATCH] Typsos (inbox, unread) ++ 2009-11-18 Carl Worth ╰─► ... (inbox, unread) ++ 2009-11-17 Adrian Perez de Cast ┬►[notmuch] Introducing myself (inbox, signed, unread) ++ 2009-11-18 Keith Packard ├─► ... (inbox, unread) ++ 2009-11-18 Carl Worth ╰─► ... (inbox, unread) ++ 2009-11-17 Israel Herraiz ┬►[notmuch] New to the list (inbox, unread) ++ 2009-11-18 Keith Packard ├─► ... (inbox, unread) ++ 2009-11-18 Carl Worth ╰─► ... (inbox, unread) ++ 2009-11-17 Jan Janak ┬►[notmuch] What a great idea! (inbox, unread) ++ 2009-11-17 Jan Janak ├─► ... (inbox, unread) ++ 2009-11-18 Carl Worth ╰─► ... (inbox, unread) ++ 2009-11-17 Jan Janak ┬►[notmuch] [PATCH] Older versions of install do not support -C. (inbox, unread) ++ 2009-11-18 Carl Worth ╰─► ... (inbox, unread) ++ 2009-11-17 Aron Griffis ┬►[notmuch] archive (inbox, unread) ++ 2009-11-18 Keith Packard ╰┬► ... (inbox, unread) ++ 2009-11-18 Carl Worth ╰─► ... (inbox, unread) ++ 2009-11-17 Keith Packard ┬►[notmuch] [PATCH] Make notmuch-show 'X' (and 'x') commands remove inbox (and unread) tags (inbox, unread) ++ 2009-11-18 Carl Worth ╰─►[notmuch] [PATCH] Make notmuch-show 'X' (and 'x') commands remove inbox (and unread) tags (inbox, unread) ++ 2009-11-17 Lars Kellogg-Stedman ┬►[notmuch] Working with Maildir storage? (inbox, signed, test_thread_tag, unread) ++ 2009-11-17 Mikhail Gusarov ├┬► ... (inbox, signed, test_thread_tag, unread) ++ 2009-11-17 Lars Kellogg-Stedman │╰┬► ... (inbox, signed, test_thread_tag, unread) ++ 2009-11-17 Mikhail Gusarov │ ├─► ... (inbox, test_thread_tag, unread) ++ 2009-11-17 Keith Packard │ ╰┬► ... (inbox, test_thread_tag, unread) ++ 2009-11-18 Lars Kellogg-Stedman │ ╰─► ... (inbox, signed, test_thread_tag, unread) ++ 2009-11-18 Carl Worth ╰─► ... (inbox, test_thread_tag, unread) ++ 2009-11-17 Mikhail Gusarov ┬►[notmuch] [PATCH 1/2] Close message file after parsing message headers (inbox, unread) ++ 2009-11-17 Mikhail Gusarov ├─►[notmuch] [PATCH 2/2] Include to get uint32_t in C++ file with gcc 4.4 (inbox, unread) ++ 2009-11-17 Carl Worth ╰┬►[notmuch] [PATCH 1/2] Close message file after parsing message headers (inbox, unread) ++ 2009-11-17 Keith Packard ╰┬► ... (inbox, unread) ++ 2009-11-18 Carl Worth ╰─► ... (inbox, unread) ++ 2009-11-18 Keith Packard ┬►[notmuch] [PATCH] Create a default notmuch-show-hook that highlights URLs and uses word-wrap (inbox, unread) ++ 2009-11-18 Alexander Botero-Low ╰─►[notmuch] [PATCH] Create a default notmuch-show-hook that highlights URLs and uses word-wrap (inbox, unread) ++ 2009-11-18 Alexander Botero-Low ─►[notmuch] request for pull (inbox, unread) ++ 2009-11-18 Jjgod Jiang ┬►[notmuch] Mac OS X/Darwin compatibility issues (inbox, unread) ++ 2009-11-18 Alexander Botero-Low ╰┬► ... (inbox, unread) ++ 2009-11-18 Jjgod Jiang ╰┬► ... (inbox, unread) ++ 2009-11-18 Alexander Botero-Low ╰─► ... (inbox, unread) ++ 2009-11-18 Rolland Santimano ─►[notmuch] Link to mailing list archives ? (inbox, unread) ++ 2009-11-18 Jan Janak ─►[notmuch] [PATCH] notmuch new: Support for conversion of spool subdirectories into tags (inbox, unread) ++ 2009-11-18 Stewart Smith ─►[notmuch] [PATCH] count_files: sort directory in inode order before statting (inbox, unread) ++ 2009-11-18 Stewart Smith ─►[notmuch] [PATCH 2/2] Read mail directory in inode number order (inbox, unread) ++ 2009-11-18 Stewart Smith ─►[notmuch] [PATCH] Fix linking with gcc to use g++ to link in C++ libs. (inbox, unread) ++ 2009-11-18 Lars Kellogg-Stedman ┬►[notmuch] "notmuch help" outputs to stderr? (attachment, inbox, signed, unread) ++ 2009-11-18 Lars Kellogg-Stedman ╰─► ... (attachment, inbox, signed, unread) ++ 2009-11-17 Mikhail Gusarov ─►[notmuch] [PATCH] Handle rename of message file (inbox, unread) ++ 2009-11-17 Alex Botero-Lowry ┬►[notmuch] preliminary FreeBSD support (attachment, inbox, unread) ++ 2009-11-17 Carl Worth ╰─► ... (inbox, unread) ++End of search results. +-- +1.7.9.1 +