Re: [notmuch] strange behavior of indexing of and searching for strings containing '[]'

Subject: Re: [notmuch] strange behavior of indexing of and searching for strings containing '[]'

Date: Mon, 08 Feb 2010 12:37:19 -0500

To: Jed Brown, Olly Betts, notmuch@notmuchmail.org

Cc:

From: Jameson Rollins


On Mon, 08 Feb 2010 18:35:44 +0100, Jed Brown <jed@59A2.org> wrote:
> On Mon, 08 Feb 2010 12:24:06 -0500, Jameson Rollins <jrollins@finestructure.net> 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.

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.
part-000.sig (application/pgp-signature)

Thread: