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