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 487CC431FB6 for ; Sun, 6 Feb 2011 14:39:33 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.799 X-Spam-Level: X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled 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 ZZAsIkJvYWbR for ; Sun, 6 Feb 2011 14:39:32 -0800 (PST) Received: from mail-bw0-f53.google.com (mail-bw0-f53.google.com [209.85.214.53]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 71875431FB5 for ; Sun, 6 Feb 2011 14:39:32 -0800 (PST) Received: by bwg12 with SMTP id 12so5149518bwg.26 for ; Sun, 06 Feb 2011 14:39:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=35bXHN6dE1PgA5I62MWcZLJdMma1OkJ1dlveIct9Yjw=; b=qseNnONrRmCtJlofMgruzKfsYjf1Y0heZfxY8oI3u3nkDd+MpE4F/nlbrsooxWVgXf bTXtfovSpRKcvyMcWqkotFMnz5yta8bLL8HvGr/Fv580J8tP4aqtzW1mZwVTaezKHzLj wI3hU1l1nPLUHhCp67CTDM3p1IL4xMT11BnuA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=B06sNnCUhF6ztr+E/RMh+fhqjZgssg8FZu4oPU0B6P3rdRxnP2JGmoDfGhsQEC41GK 14GKZdq2GzA5sc7TgI5BTWYqaGxsOPqOviI5S16F9MHBzwnjPanGTIF75PVz8nppLBxD EPRSNiqqVLL0bdPwqismHGTwQLU02NL/qgYoA= MIME-Version: 1.0 Received: by 10.204.128.200 with SMTP id l8mr3898233bks.60.1297031968580; Sun, 06 Feb 2011 14:39:28 -0800 (PST) Received: by 10.204.102.9 with HTTP; Sun, 6 Feb 2011 14:39:28 -0800 (PST) In-Reply-To: <1296998473-13514-1-git-send-email-felipe.contreras@gmail.com> References: <1296998473-13514-1-git-send-email-felipe.contreras@gmail.com> Date: Mon, 7 Feb 2011 00:39:28 +0200 Message-ID: Subject: Re: [PATCH] test/search: add check for slightly trick search From: Felipe Contreras To: notmuch@notmuchmail.org Content-Type: text/plain; charset=UTF-8 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: Sun, 06 Feb 2011 22:39:33 -0000 On Sun, Feb 6, 2011 at 3:21 PM, Felipe Contreras wrote: > It's not really tricky, there are many addresses with a '-' in them. I > personally really want to differentiate between foo, foo-testing, and > foo-patches. > > This fails, but it shouldn't: As discussed in IRC, perhaps the query should be 'search-by-from@', but that would require notmuch to distinguish @ as something special. Perhaps s/@/-at-/. Cheers. -- Felipe Contreras