Re: [notmuch] strange behavior of indexing of and searching for strings containing...
authorJed Brown <jed@59A2.org>
Mon, 8 Feb 2010 17:35:44 +0000 (18:35 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:36:07 +0000 (09:36 -0800)
7f/d4fbbb3bd589f46afa8fe7e1858aecb8a4bcab [new file with mode: 0644]

diff --git a/7f/d4fbbb3bd589f46afa8fe7e1858aecb8a4bcab b/7f/d4fbbb3bd589f46afa8fe7e1858aecb8a4bcab
new file mode 100644 (file)
index 0000000..b72e7b8
--- /dev/null
@@ -0,0 +1,78 @@
+Return-Path: <five9a2@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 E2199431FBC\r
+       for <notmuch@notmuchmail.org>; Mon,  8 Feb 2010 09:33:44 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.174\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.174 tagged_above=-999 required=5 tests=[AWL=0.011,\r
+       BAYES_40=-0.185] autolearn=ham\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 pV6CFDf5c2zx for <notmuch@notmuchmail.org>;\r
+       Mon,  8 Feb 2010 09:33:44 -0800 (PST)\r
+Received: from mail-fx0-f212.google.com (mail-fx0-f212.google.com\r
+       [209.85.220.212])\r
+       by olra.theworths.org (Postfix) with ESMTP id D10DE431FAE\r
+       for <notmuch@notmuchmail.org>; Mon,  8 Feb 2010 09:33:43 -0800 (PST)\r
+Received: by fxm4 with SMTP id 4so63128fxm.0\r
+       for <notmuch@notmuchmail.org>; Mon, 08 Feb 2010 09:33:43 -0800 (PST)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;\r
+       h=domainkey-signature:received:received:sender:from:to:subject\r
+       :in-reply-to:references:date:message-id:mime-version:content-type;\r
+       bh=6oObZUH8D/sc1+14MTXah6uhmh7fP2NSms1SB66TN1w=;\r
+       b=vs/QOs+JFmFCxHvZvvlIk+dG6mMh9/CgfNYojmCsBiy+v6kF8cFMKa/VfvLwrDh3Eu\r
+       uoYsPFBkHDub6fH17vGOgEZGijFfWekzQHhuha1pobskQIJdzxGyknVCCBj7YxGbkwbO\r
+       WAppWY368/qMtpdyl935KBPh1q9K5eGJcMW7U=\r
+DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;\r
+       h=sender:from:to:subject:in-reply-to:references:date:message-id\r
+       :mime-version:content-type;\r
+       b=gPYUHdWLMl82eFtpy4Psn8SzA1fHfUMnbGyVHQ1uSTg9Tkr/0imw3KmZrZ7VGlcZCg\r
+       swp6Hqi7fNzsG8vUdlnxFC6rXetikD0NvrXZmyOvCGYIZs8q5U4kRcaDozBzHF+TXC9w\r
+       7ep+5K4LgLadVKjeU3HKE5RJu99YNOyatUxF0=\r
+Received: by 10.223.63.208 with SMTP id c16mr2943971fai.29.1265650422936;\r
+       Mon, 08 Feb 2010 09:33:42 -0800 (PST)\r
+Received: from kunyang (vawpc43.ethz.ch [129.132.59.11])\r
+       by mx.google.com with ESMTPS id 13sm6871107fks.45.2010.02.08.09.33.41\r
+       (version=TLSv1/SSLv3 cipher=RC4-MD5);\r
+       Mon, 08 Feb 2010 09:33:41 -0800 (PST)\r
+Sender: Jed Brown <five9a2@gmail.com>\r
+From: Jed Brown <jed@59A2.org>\r
+To: Jameson Rollins <jrollins@finestructure.net>, Olly Betts\r
+       <olly@survex.com>, notmuch@notmuchmail.org\r
+In-Reply-To: <87hbpr8wuh.fsf@servo.finestructure.net>\r
+References: <87636bws2o.fsf@servo.finestructure.net>\r
+       <slrnhmpbhk.4kj.olly@msgid.survex.com>\r
+       <87hbpr8wuh.fsf@servo.finestructure.net>\r
+Date: Mon, 08 Feb 2010 18:35:44 +0100\r
+Message-ID: <87sk9btytr.fsf@59A2.org>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+Subject: Re: [notmuch] strange behavior of indexing of and searching for\r
+ strings containing '[]'\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: Mon, 08 Feb 2010 17:33:45 -0000\r
+\r
+On Mon, 08 Feb 2010 12:24:06 -0500, Jameson Rollins <jrollins@finestructure.net> wrote:\r
+> I don't think that this is exactly correct.  The quoting is interpreted\r
+> by the shell in order to construct a single string that is then passed\r
+> as an argument to the program.\r
+\r
+The command line distinguishes, but the constructed query does not.\r
+Look at query-string.c, the arguments are just concatenated.\r
+\r
+Jed\r