This message should parse fine, but notmuch heuristics are claiming it
is not email. It differs from a version that parses fine only in the
first line, which triggers the mbox detection code.
---
 test/T050-new.sh | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/test/T050-new.sh b/test/T050-new.sh
index 6791f87c..9ef24f18 100755
--- a/test/T050-new.sh
+++ b/test/T050-new.sh
@@ -455,4 +455,12 @@ Date: Fri, 17 Jun 2016 22:14:41 -0400
 EOF
 test_expect_equal_file EXPECTED OUTPUT
 
+add_email_corpus indexing
+
+test_begin_subtest "id:[email protected] is indexed"
+test_subtest_known_broken
+notmuch new
+output=$(notmuch search --output=messages id:[email protected])
+test_expect_equal "$output" "id:[email protected]"
+
 test_done
-- 
2.34.1

_______________________________________________
notmuch mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to