Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id E63E5431FBC for ; Mon, 8 Feb 2010 09:37:59 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -4.357 X-Spam-Level: X-Spam-Status: No, score=-4.357 tagged_above=-999 required=5 tests=[AWL=0.383, BAYES_20=-0.74, RCVD_IN_DNSWL_MED=-4] 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 T8AMLQv2mWbN for ; Mon, 8 Feb 2010 09:37:59 -0800 (PST) Received: from brinza.cc.columbia.edu (brinza.cc.columbia.edu [128.59.29.8]) by olra.theworths.org (Postfix) with ESMTP id 09D44431FBD for ; Mon, 8 Feb 2010 09:37:58 -0800 (PST) Received: from servo.finestructure.net (geco.phys.columbia.edu [128.59.170.159]) (user=jgr2110 author=jrollins@finestructure.net mech=PLAIN bits=0) by brinza.cc.columbia.edu (8.14.3/8.14.3) with ESMTP id o18HbkYR010689 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT); Mon, 8 Feb 2010 12:37:56 -0500 (EST) Received: from jrollins by servo.finestructure.net with local (Exim 4.71) (envelope-from ) id 1NeXY2-00075I-PY; Mon, 08 Feb 2010 12:37:22 -0500 From: Jameson Rollins To: Jed Brown , Olly Betts , notmuch@notmuchmail.org In-Reply-To: <87sk9btytr.fsf@59A2.org> References: <87636bws2o.fsf@servo.finestructure.net> <87hbpr8wuh.fsf@servo.finestructure.net> <87sk9btytr.fsf@59A2.org> Date: Mon, 08 Feb 2010 12:37:19 -0500 Message-ID: <87eikv8w8g.fsf@servo.finestructure.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-No-Spam-Score: Local X-Scanned-By: MIMEDefang 2.68 on 128.59.29.8 Subject: Re: [notmuch] 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:38:00 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable On Mon, 08 Feb 2010 18:35:44 +0100, Jed Brown wrote: > 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. >=20 > The command line distinguishes, but the constructed query does not. > Look at query-string.c, the arguments are just concatenated. Hi, Jed. Yes, this is clear from the behavior, but I'm claiming it's a bug that should be fixed. It produces unexpected behavior with confusing results. jamie. --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQIcBAEBCAAGBQJLcEvQAAoJEO00zqvie6q8G8MP/2deaFIuztcujItvofDt5Dat REgpg2uwdiJE0qCgcncWDOSf3h7qQg1oeeYK7lecLVILbIx3aONq/EHOwXUiCzfa VsXKOy8jur8pbWRcuZWbU+RxcgNccbvoxPFnzp6kibIxw510z9S0Vd6DpUJdS43/ 0rk/cCBDHVZ8FTMguF6nPohdBW2L9pAuJ8nREIkjIla+AotoElN4t8YFduu4KilB 1jA6jGtwLvzThiMNGa7fqNc6ARp78HNYJnvvxNbyk9aTBiCSfunCpP+F0d9fDvIx zsm72KRwV2HWnhCSdKk1A0ZWoHXPF7XG5WBxmbN4mju5xWyCUBmwwvl08S33Y6/r B6f8JdHB3Cr2nYRllHekjN5sJD/icTpaxtER/lLZZIT966Vmzy0DhRklYguBxR5k xbSXP9H5xbA0r7+dHNFO/OHo/KUloEkti6PeMKsjyyPjtnVpCp2LhiUwUDAf1zkX MrmT01dgTXEZ85eTm5hEnYlIdDVjnufp//de3VRSiQqLwn6VrKpeg14bJJpVJ+OC cQthFlV0Xbqc3sl9ffipZgvg6oaVcwzmo0PgJBVU/krSDJDhklsoVm3wv14ma8qf 5CYoKZ01RGjiSFzJ/AYdgFanZlfu6aCBHRZ406CCL7bHIUqAkLqRZB29E44Aj/34 Yq8WM2hZ4APa0n0FCHLJ =JlT0 -----END PGP SIGNATURE----- --=-=-=--