From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 909476DE0225 for ; Sun, 2 Feb 2020 04:17:43 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.066 X-Spam-Level: X-Spam-Status: No, score=-0.066 tagged_above=-999 required=5 tests=[AWL=-0.065, SPF_PASS=-0.001] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id j6P5L2FGXu-K for ; Sun, 2 Feb 2020 04:17:41 -0800 (PST) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by arlo.cworth.org (Postfix) with ESMTPS id 83A566DE0222 for ; Sun, 2 Feb 2020 04:17:41 -0800 (PST) Received: from remotemail by fethera.tethera.net with local (Exim 4.89) (envelope-from ) id 1iyEBx-0002rE-5s; Sun, 02 Feb 2020 07:17:33 -0500 Received: (nullmailer pid 1868262 invoked by uid 1000); Sun, 02 Feb 2020 12:17:31 -0000 From: David Bremner To: Teemu Likonen , Kevin Foley , notmuch@notmuchmail.org Subject: Re: Searching for an Exact Email Address In-Reply-To: <87pnexbjq5.fsf@iki.fi> References: <87pnexbjq5.fsf@iki.fi> Date: Sun, 02 Feb 2020 08:17:31 -0400 Message-ID: <87a761kwtg.fsf@tethera.net> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.29 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: Sun, 02 Feb 2020 12:17:43 -0000 Teemu Likonen writes: > The shell built-in "set" is useful for testing parameters: > > $ set -- to:"example@email.com" to:\"example@email.com\" > $ printf '%s\n' "$@" > to:example@email.com > to:"example@email.com" Also useful is setting NOTMUCH_DEBUG_QUERY in the environment. This will show the parsed Xapian query. In my case this shows both 'to:"example@email.com"' and to:"example@email.com" end up parsed the same way, so I guess the problem is elsewhere. Maybe you can try it with your actual query. d