--- /dev/null
+Return-Path: <andreimpopescu@gmail.com>\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 8D175431FAF\r
+ for <notmuch@notmuchmail.org>; Thu, 15 Mar 2012 17:30:59 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.799\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5\r
+ tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+ FREEMAIL_FROM=0.001, 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 OxBAttQ6oPqx for <notmuch@notmuchmail.org>;\r
+ Thu, 15 Mar 2012 17:30:59 -0700 (PDT)\r
+Received: from mail-wi0-f179.google.com (mail-wi0-f179.google.com\r
+ [209.85.212.179]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+ (No client certificate requested)\r
+ by olra.theworths.org (Postfix) with ESMTPS id BB780431FAE\r
+ for <notmuch@notmuchmail.org>; Thu, 15 Mar 2012 17:30:58 -0700 (PDT)\r
+Received: by wibhn6 with SMTP id hn6so52919wib.2\r
+ for <notmuch@notmuchmail.org>; Thu, 15 Mar 2012 17:30:57 -0700 (PDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
+ h=date:from:to:subject:message-id:references:mime-version\r
+ :content-type:content-disposition:in-reply-to:user-agent;\r
+ bh=QZHW3N3ccQ1/Y9OqRgSnExjJOMff4H9NWlVQSEAf5Gc=;\r
+ b=dWsEfxzoUdQ1l9zMu3XWy/32huuTETZL2p8HDFYoj81U8yJp79iSvPVeZ5mfvczACi\r
+ hvInUDGX7tAZyAmr0EgfziIzwfjF9n4cUdtn5GZRHNE6eshVDGDtHnhZLSahUSK79CxQ\r
+ alDnQ2M6/0WUTBf7YUWPBpOA82l89nfluqqo/lllGqDVhfTN+9t1zVDqwTxafeIpAVHN\r
+ P82TbvROEtLGBXdiDF8mvbqJoeeRU/CzYkixJgvJgfLCb3tCnWAxuEm/kH2VsoI/humN\r
+ e0HvFfLeaQp5I/bjJWbGpG9yyrhhM3DOSMQyjgVE4Olc0AoueluQU1+g4uYy3qAfNMwM\r
+ veXw==\r
+Received: by 10.180.97.41 with SMTP id dx9mr30673828wib.9.1331857857435;\r
+ Thu, 15 Mar 2012 17:30:57 -0700 (PDT)\r
+Received: from sid.nuvreauspam ([92.86.142.199])\r
+ by mx.google.com with ESMTPS id df3sm9338753wib.1.2012.03.15.17.30.55\r
+ (version=TLSv1/SSLv3 cipher=OTHER);\r
+ Thu, 15 Mar 2012 17:30:56 -0700 (PDT)\r
+Received: by sid.nuvreauspam (Postfix, from userid 1077)\r
+ id 24C35C04F8; Fri, 16 Mar 2012 02:30:53 +0200 (EET)\r
+Date: Fri, 16 Mar 2012 02:30:53 +0200\r
+From: Andrei POPESCU <andreimpopescu@gmail.com>\r
+To: notmuch@notmuchmail.org\r
+Subject: Re: [RFC] http://notmuchmail.org/searching/ [was: Re: Improving\r
+ notmuch query documentation]\r
+Message-ID: <20120316003053.GR2981@sid.nuvreauspam>\r
+References: <20120115220600.GO7037@think.nuvreauspam>\r
+ <877h0sa207.fsf@fester.com>\r
+ <20120116202103.GA14329@think.nuvreauspam>\r
+ <20120117023431.GF16740@mit.edu>\r
+ <20120117221435.GN3272@think.nuvreauspam>\r
+ <20120117222923.GU16740@mit.edu>\r
+ <20120315093941.GK2981@sid.nuvreauspam>\r
+ <20120315211107.GA2670@mit.edu>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; micalg=pgp-sha256;\r
+ protocol="application/pgp-signature"; boundary="+1d8mk/W7pQzMfc7"\r
+Content-Disposition: inline\r
+In-Reply-To: <20120315211107.GA2670@mit.edu>\r
+User-Agent: Mutt/1.5.21 (2010-09-15)\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: Fri, 16 Mar 2012 00:30:59 -0000\r
+\r
+\r
+--+1d8mk/W7pQzMfc7\r
+Content-Type: text/plain; charset=us-ascii\r
+Content-Disposition: inline\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+On Jo, 15 mar 12, 17:11:08, Austin Clements wrote:\r
+>=20\r
+> I think having two divergent documents covering the same thing is less\r
+> than ideal, but perhaps they could be merged in the near future.\r
+\r
+I want to have this page more or less complete and descriptive. Once=20\r
+this is done I should be able to rewrite it more like a reference.\r
+\r
+Regarding 'notmuch help search-terms':\r
+\r
+$ notmuch help search-terms | wc -l\r
+88\r
+\r
+IMHO that text is better suited for a manpage, the help should be just a=20\r
+(very short) reference to refresh ones memory. What do you think?\r
+=20\r
+> A few comments:\r
+>=20\r
+> The section on "Languages other than English" isn't quite correct.\r
+> Xapian has no idea what language is being used, so it will still stem\r
+> terms in other languages, but using English stemming rules.\r
+\r
+Then I think it's safe to assume the results are very much dependent on=20\r
+the language, so if the language has some similarities to English Xapian=20\r
+might do some stemming.\r
+\r
+> Notmuch doesn't use synonyms.\r
+\r
+Thanks.\r
+\r
+> It might be worth pointing out that "+term1" and "term1" are\r
+> equivalent.\r
+\r
+Yes.\r
+\r
+> "notmuch search -term2" doesn't actually work. I've never looked in\r
+> to why, but I've found that Xapian ignores '-' at the beginning of a\r
+> query or a parenthesized expression.\r
+\r
+Not sure what you mean here. Does Xapian just ignore the '-' and=20\r
+searches as if it wasn't specified? I'm usually testing stuff with=20\r
+'notmuch count', but I get:\r
+\r
+$ notmuch count -Debian\r
+Unrecognized option: -Debian\r
+\r
+With 'search' I get results, but right now I can't think of a query to=20\r
+test.\r
+\r
+> "notmuch search term1 -term2" will work.\r
+\r
+Does 'notmuch search -term1 term2' work?\r
+\r
+> In the brackets section, you'll need shell escaping for those queries\r
+> to work. It might be worth pointing out the need for shell escaping\r
+> at the beginning.\r
+\r
+Right, anything other than brackets and '*'?\r
+\r
+> XOR, NEAR, and ADJ were intentionally undocumented in\r
+> notmuch-search-terms because they may go away some day and we don't\r
+> want people thinking they can depend on them.\r
+\r
+In such case I think it's better to state so.\r
+\r
+I'll integrate all your comments (if somebody else doesn't beat me to=20\r
+it).\r
+\r
+Kind regards,\r
+Andrei\r
+--=20\r
+If you can't explain it simply, you don't understand it well enough.\r
+(Albert Einstein)\r
+\r
+--+1d8mk/W7pQzMfc7\r
+Content-Type: application/pgp-signature; name="signature.asc"\r
+Content-Description: Digital signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.12 (GNU/Linux)\r
+\r
+iQEcBAEBCAAGBQJPYom9AAoJEHNWs3jeoi3pugUH/1Edcx+tg7wA0ZNWff/7m3vH\r
+KhmFI5Z77Z+zDI2WfbYFCetnucFRz8kwWZ6WA1kCRhTgMnBJaDhzOSXDSUQvuvfh\r
+3oUUAYqiC6vGg6p+MRwZxsN/Gd5UOv2uEVSFrzKaTOBqGRi4dXC/Nh9BcpzqUXkU\r
+NpaYXgsDDUcbxVlvVngLm6OezKCuLtxqCoAAWFNAb7/xce/vB56lYqvXInVQbYu4\r
+3tT77A0aX59mUzNtem9LZIgcwyV+VcfWxgwrasqc0ZPRxD4l6JvR4Q2M65dSftcw\r
+CoJYyq2hJf+qvHUShxXN/l4IBRhHxRdyCtulcZHCiMBz6254puCDCCRE+9CpRqA=\r
+=0Otw\r
+-----END PGP SIGNATURE-----\r
+\r
+--+1d8mk/W7pQzMfc7--\r