From 103a3910f36ed8af8d25f880f1c5ceb4d58cbccc Mon Sep 17 00:00:00 2001 From: Xu Wang Date: Sat, 5 Dec 2015 19:34:17 +1900 Subject: [PATCH] Re: Query to get emails from notmuch mailing list? --- 6a/e0cc0e6a859de0078be29eb4c6e2569822959c | 98 +++++++++++++++++++++++ 1 file changed, 98 insertions(+) create mode 100644 6a/e0cc0e6a859de0078be29eb4c6e2569822959c diff --git a/6a/e0cc0e6a859de0078be29eb4c6e2569822959c b/6a/e0cc0e6a859de0078be29eb4c6e2569822959c new file mode 100644 index 000000000..59a8c4b10 --- /dev/null +++ b/6a/e0cc0e6a859de0078be29eb4c6e2569822959c @@ -0,0 +1,98 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by arlo.cworth.org (Postfix) with ESMTP id 7E6956DE17D8 + for ; Fri, 4 Dec 2015 16:34:22 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: -0.485 +X-Spam-Level: +X-Spam-Status: No, score=-0.485 tagged_above=-999 required=5 tests=[AWL=0.066, + DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, + FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, + RCVD_IN_MSPIKE_H2=-0.001, 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 iV0LGWmyLid1 for ; + Fri, 4 Dec 2015 16:34:20 -0800 (PST) +Received: from mail-io0-f170.google.com (mail-io0-f170.google.com + [209.85.223.170]) + by arlo.cworth.org (Postfix) with ESMTPS id 127F46DE1769 + for ; Fri, 4 Dec 2015 16:34:20 -0800 (PST) +Received: by ioc74 with SMTP id 74so132900346ioc.2 + for ; Fri, 04 Dec 2015 16:34:18 -0800 (PST) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; + h=mime-version:in-reply-to:references:date:message-id:subject:from:to + :cc:content-type; + bh=Ng7PjhzHc3jVb7WielIG70oWYbvAphxoZnVJyXONC3w=; + b=sQTdreFXaPAB3TUReNhLIG1da0rs0WMSFHUk4o8Wdo2jMQ3xAjHayEyOlfEKFFb4Rc + be7xfBQg+AJbmY2QiaXmUjObYc2wGI+DR/OjZv0RIwLyeeWObC+wQRUmsQvAN46yrHeO + N6UDeerQzEv62jDGzM9nAuxlR7uNAyMDeNvby/YEShcnFczyQ1RYlEjPGSPiQQJ4++f5 + Tpns7/30NDptIz8NJkYHXChqRGaF8DqOc+x2flZ6rmwuXfd1Xi7DWZf9snqjSRAHUI1a + VTmJM5/scJ1vxgJQKkkr0pMONnv+TABBFQ6rvn98vXF9U+FanJ1UlNQDoSIcXTjhhWjW + 9DHg== +MIME-Version: 1.0 +X-Received: by 10.107.138.28 with SMTP id m28mr19733475iod.24.1449275657086; + Fri, 04 Dec 2015 16:34:17 -0800 (PST) +Received: by 10.79.117.214 with HTTP; Fri, 4 Dec 2015 16:34:17 -0800 (PST) +In-Reply-To: +References: <87y4dbbhlv.fsf@cassou.me> <874mfzl4uh.fsf@tesseract.cs.unb.ca> + + + +Date: Fri, 4 Dec 2015 19:34:17 -0500 +Message-ID: + +Subject: Re: Query to get emails from notmuch mailing list? +From: Xu Wang +To: Tomi Ollila +Cc: notmuch@notmuchmail.org +Content-Type: text/plain; charset=UTF-8 +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.20 +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: Sat, 05 Dec 2015 00:34:22 -0000 + +On Fri, Dec 4, 2015 at 10:08 AM, Tomi Ollila wrote: +> On Fri, Dec 04 2015, Xu Wang wrote: +> +>> On Thu, Dec 3, 2015 at 3:41 PM, Tomi Ollila wrote: +>>> On Thu, Dec 03 2015, David Bremner wrote: +>>> +>>>> Damien Cassou writes: +>>>> +>>>>> Hi, +>>>>> +>>>>> how do you write a notmuch query to get all emails of the notmuch +>>>>> mailing list? +>>>>> +>>>> +>>>> at one point I use +>>>> +>>>> notmuch tag +inbox::notmuch tag:inbox and '(' to:notmuch or folder:notmuch ')' +>>>> +>>>> just now I noticed the folder:notmuch is not matching anything because +>>>> of reorganization, so it's really to:notmuch; that seems to work for me. +>>> +>>> wouldn't to:notmuch@notmuchmail.org be more accurate ? +>> +>> Probably also CC? I don't know how to search for To or CC though. +> +> to: covers [Cc][Cc]: too :D + +Excellent to know. In that case I wonders how to do only CC or only +To: although I have not a user case. + +Kind regards, + +Xu -- 2.26.2