--- /dev/null
+Return-Path: <matt@bubblegen.co.uk>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by arlo.cworth.org (Postfix) with ESMTP id 6742B6DE0AB8\r
+ for <notmuch@notmuchmail.org>; Mon, 20 Apr 2015 06:43:14 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.255\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.255 tagged_above=-999 required=5 tests=[AWL=0.975, \r
+ RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01,\r
+ RCVD_IN_MSPIKE_WL=-0.01] autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id YZdraBpSDa9S for <notmuch@notmuchmail.org>;\r
+ Mon, 20 Apr 2015 06:43:12 -0700 (PDT)\r
+X-Greylist: delayed 457 seconds by postgrey-1.35 at arlo;\r
+ Mon, 20 Apr 2015 06:43:12 PDT\r
+Received: from avasout07.plus.net (avasout07.plus.net [84.93.230.235])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id 06C8F6DE005F\r
+ for <notmuch@notmuchmail.org>; Mon, 20 Apr 2015 06:43:11 -0700 (PDT)\r
+Received: from webmail04.plus.net ([84.93.228.66]) by avasout07 with smtp\r
+ id JDbV1q00C1SbfYc01DbV8L; Mon, 20 Apr 2015 14:35:31 +0100\r
+X-CM-Score: 0.00\r
+X-CNFS-Analysis: v=2.1 cv=fZwjyigF c=1 sm=1 tr=0\r
+ a=C5+YawzV8SR07mwocaP9vA==:117 a=Pqgwzd+QtBWunNm/3vzkeA==:17 a=0Bzu9jTXAAAA:8\r
+ a=fne2aKG5GRsA:10 a=wPDyFdB5xvgA:10 a=8nJEP1OIZ-IA:10 a=80hmnl3cAAAA:8\r
+ a=e9J7MTPGsLIA:10 a=o1OoQkZ8ZyjI89OqQC4A:9 a=wPNLvfGTeEIA:10\r
+Received: from localhost ([127.0.0.1] helo=webmail.plus.net)\r
+ by webmail04.plus.net with esmtp (Exim 4.76)\r
+ (envelope-from <matt@bubblegen.co.uk>) id 1YkBrF-0000wt-Sz\r
+ for notmuch@notmuchmail.org; Mon, 20 Apr 2015 14:35:29 +0100\r
+Received: from 216.31.211.11 (proxying for unknown)\r
+ (SquirrelMail authenticated user bubblegen+matt)\r
+ by webmail.plus.net with HTTP; Mon, 20 Apr 2015 14:35:29 +0100\r
+Message-ID: <10f88378b37e653bba961be66183d2d5.squirrel@webmail.plus.net>\r
+Date: Mon, 20 Apr 2015 14:35:29 +0100\r
+Subject: quirks with subject searching\r
+From: "Matthew Lear" <matt@bubblegen.co.uk>\r
+To: notmuch@notmuchmail.org\r
+Reply-To: matt@bubblegen.co.uk\r
+User-Agent: SquirrelMail\r
+MIME-Version: 1.0\r
+Content-Type: text/plain;charset=iso-8859-1\r
+Content-Transfer-Encoding: 8bit\r
+X-Priority: 3 (Normal)\r
+Importance: Normal\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.18\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: Mon, 20 Apr 2015 13:43:14 -0000\r
+\r
+Hello all,\r
+This may well be due to my novice use of search syntax, but I'm having\r
+issues find needle in haystack within the subject of an email thread.\r
+This simple example highlights the problem I'm having:\r
+\r
+When using notmuch search subject:foo for threads with the following\r
+subjects...\r
+\r
+item: foo\r
+an item: foo\r
+an item: XYfoo1234\r
+an item: XYfoo bar\r
+\r
+... only the first two are found.\r
+\r
+Also:\r
+* notmuch searching for subject:"item: f" gives zero results.\r
+\r
+* notmuch searching for subject:"(*foo*)" results in the first two threads\r
+being found and also a thread with the word footprint in the middle of the\r
+subject being found (subject is "memory footprint without feature").\r
+\r
+* notmuch searching for subject:"an item: XYfoo1234" results in the third\r
+being found.\r
+\r
+Why doesn't notmuch search subject:foo find all four threads, and why\r
+doesn't notmuch search subject:"item: f" find anything at all?\r
+\r
+This was spurred on by me having a thread with the following as the subject..\r
+\r
+Release Update: BT52_ETW_MD4.5.4alpha1_take1\r
+\r
+..and notmuch search subject:4.5.4 finding nothing.\r
+\r
+Something doesn't seem right here. man notmuch-search-terms doesn't seem\r
+to explain this as far as I can see.\r
+FWIW I'm using notmuch from git, master @ 294bb6d.\r
+Any thoughts / tips?\r
+Thanks,\r
+-- Matt\r
+\r