From: Damien Cassou Date: Mon, 1 Oct 2012 09:42:15 +0000 (+0200) Subject: Re: Searching from a folder X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=6daa7cddff3c09a86b069659909da293f6d17dd6;p=notmuch-archives.git Re: Searching from a folder --- diff --git a/4d/b906f4a2b672474aa208aecd234508ebb7eaf3 b/4d/b906f4a2b672474aa208aecd234508ebb7eaf3 new file mode 100644 index 000000000..b4b6c8848 --- /dev/null +++ b/4d/b906f4a2b672474aa208aecd234508ebb7eaf3 @@ -0,0 +1,86 @@ +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 E1381431FBC + for ; Mon, 1 Oct 2012 02:42:39 -0700 (PDT) +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 qIUk7f6ubEaR for ; + Mon, 1 Oct 2012 02:42:39 -0700 (PDT) +Received: from mail-bk0-f53.google.com (mail-bk0-f53.google.com + [209.85.214.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id C23A1431FAE + for ; Mon, 1 Oct 2012 02:42:38 -0700 (PDT) +Received: by bkcjg15 with SMTP id jg15so4931148bkc.26 + for ; Mon, 01 Oct 2012 02:42:36 -0700 (PDT) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; + h=mime-version:in-reply-to:references:from:date:message-id:subject:to + :cc:content-type; + bh=hU83dsofg9LVJZPq3+/tnRvNcBZQWVku8S+UTo6TE5E=; + b=KEN+EmOUveIKaUY5TPO4rphmvzREsIgbITscg6OVt0ZslK1ZSObZ0Q37G99zm8nz2i + a4tzU1agtAZYCfo3JNCDCLQNwAleOIBEoIbq4lQEIReEHolOWHKvfg8O1TRiWavNyoNF + Af7GrlBiUZzSKF3Pg8Ujxl0QNnSo6eyP6Y03CHFzGb7ZH+LQ64HlGxdluYF7mm3qOL0F + FLBAQtHcJdbzV7PqNak4IK5QIX60QU8lzeNS1HWNPApVmxS8KrE8vVwPK0Czrr7vI6gH + fvbUmT8bWQudRfnHzG2zCpTix0qIquE/umdSLPhSNJHIAuHGrWQQYI/vdoQqnrSWH5l1 + GFWw== +Received: by 10.204.143.138 with SMTP id v10mr5603599bku.114.1349084555996; + Mon, 01 Oct 2012 02:42:35 -0700 (PDT) +MIME-Version: 1.0 +Received: by 10.204.40.78 with HTTP; Mon, 1 Oct 2012 02:42:15 -0700 (PDT) +In-Reply-To: <20120929161158.GX26662@mit.edu> +References: + + <20120929161158.GX26662@mit.edu> +From: Damien Cassou +Date: Mon, 1 Oct 2012 11:42:15 +0200 +Message-ID: + +Subject: Re: Searching from a folder +To: Austin Clements +Content-Type: text/plain; charset=ISO-8859-1 +Cc: notmuch@notmuchmail.org +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, 01 Oct 2012 09:42:40 -0000 + +On Sat, Sep 29, 2012 at 6:12 PM, Austin Clements wrote: +> $ notmuch search 'folder:"[Gmail].All Mail"' +> $ notmuch search 'folder:"[Gmail].Important"' + +thank you very much, it indeed works. I'm still a bit puzzled by the +fact that, on my other mailbox, I'm getting the following results: + +$ notmuch search 'folder:"[Gmail].Important"' | wc --lines +8928 +$ notmuch search folder:[Gmail].Important | wc --lines +138 + +So, without using quoting, something is indeed happening. Do you know what? + +Thank you + +-- +Damien Cassou +http://damiencassou.seasidehosting.st + +"Lambdas are relegated to relative obscurity until Java makes them +popular by not having them." James Iry