From ec3c1533c36ee2a3c9bf5ecc843601892c62eb99 Mon Sep 17 00:00:00 2001 From: Michal Sojka Date: Fri, 31 Oct 2014 16:43:35 +0100 Subject: [PATCH] Re: [PATCH v5 0/7] notmuch search --output=sender/recipients --- 4d/a45f4e1be13a8581264f5ac1fb4edcb5cc8709 | 102 ++++++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 4d/a45f4e1be13a8581264f5ac1fb4edcb5cc8709 diff --git a/4d/a45f4e1be13a8581264f5ac1fb4edcb5cc8709 b/4d/a45f4e1be13a8581264f5ac1fb4edcb5cc8709 new file mode 100644 index 000000000..310139d12 --- /dev/null +++ b/4d/a45f4e1be13a8581264f5ac1fb4edcb5cc8709 @@ -0,0 +1,102 @@ +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 42E18431FC2 + for ; Fri, 31 Oct 2014 08:43:59 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -2.3 +X-Spam-Level: +X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5 + tests=[RCVD_IN_DNSWL_MED=-2.3] 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 mC7DTz9viOyn for ; + Fri, 31 Oct 2014 08:43:52 -0700 (PDT) +Received: from max.feld.cvut.cz (max.feld.cvut.cz [147.32.192.36]) + by olra.theworths.org (Postfix) with ESMTP id DA0BA431FBC + for ; Fri, 31 Oct 2014 08:43:51 -0700 (PDT) +Received: from localhost (unknown [192.168.200.7]) + by max.feld.cvut.cz (Postfix) with ESMTP id AAB775CCF5E; + Fri, 31 Oct 2014 16:43:47 +0100 (CET) +X-Virus-Scanned: IMAP STYX AMAVIS +Received: from max.feld.cvut.cz ([192.168.200.1]) + by localhost (styx.feld.cvut.cz [192.168.200.7]) (amavisd-new, + port 10044) + with ESMTP id MBXJJFPJIEew; Fri, 31 Oct 2014 16:43:41 +0100 (CET) +Received: from imap.feld.cvut.cz (imap.feld.cvut.cz [147.32.192.34]) + by max.feld.cvut.cz (Postfix) with ESMTP id 555725CD0AC; + Fri, 31 Oct 2014 16:43:41 +0100 (CET) +Received: from wsh by steelpick.2x.cz with local (Exim 4.84) + (envelope-from ) + id 1XkEMR-0002I2-RY; Fri, 31 Oct 2014 16:43:35 +0100 +From: Michal Sojka +To: Jesse Rosenthal , notmuch@notmuchmail.org +Subject: Re: [PATCH v5 0/7] notmuch search --output=sender/recipients +In-Reply-To: <874mukgu1t.fsf@jhu.edu> +References: <1414713573-21461-1-git-send-email-sojkam1@fel.cvut.cz> + <874mukgu1t.fsf@jhu.edu> +User-Agent: Notmuch/0.18.2+157~ga00d359 (http://notmuchmail.org) Emacs/24.3.1 + (x86_64-pc-linux-gnu) +Date: Fri, 31 Oct 2014 16:43:35 +0100 +Message-ID: <87sii46y8o.fsf@steelpick.2x.cz> +MIME-Version: 1.0 +Content-Type: text/plain; charset=utf-8 +Content-Transfer-Encoding: quoted-printable +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: Fri, 31 Oct 2014 15:43:59 -0000 + +On Fri, Oct 31 2014, Jesse Rosenthal wrote: +> Dear Michal, +> +> Thanks for all this. The feature looks great! One issue: I'm getting +> corrupt output when using `--output=3Dcount` with "fold" filters: +> +> ~~~ +> jkr@ladybug [11:01AM] ~ $ notmuch search --output=3Drecipients --output= +=3Dcount "tag:notmuch and date:today.."=20 +> 2 Jani Nikula +> 2 Michal Sojka +> 1 David Edmondson +> 9 notmuch@notmuchmail.org +> +> jkr@ladybug [11:01AM] ~ $ notmuch search --output=3Drecipients --output= +=3Dcount --filter-by=3Daddrfold "tag:notmuch and date:today.." +> 2 Michal Sojka <0Fam1@fel.cvutH> +> 9=09 +> 1 David Edmondson <8dme.org> +> 2 Jani Nikula +> +> jkr@ladybug [11:01AM] ~ $ notmuch search --output=3Drecipients --output= +=3Dcount --filter-by=3Dnameaddr "tag:notmuch and date:today.." +> 2 Jani Nikula +> 2 Michal Sojka +> 1 David Edmondson +> 9 notmuch@notmuchmail.org +> +> jkr@ladybug [11:01AM] ~ $ notmuch search --output=3Drecipients --output= +=3Dcount --filter-by=3Dnameaddrfold "tag:notmuch and date:today.." +> 2 Jani Nikula +> 2 Michal Sojka <0V=EF=BF=BD am1@fel.cvutH> +> 1 David Edmondson <8=EF=BF=BD=EF=BF=BD dme.org> +> 9 +> ~~~ +> +> Not sure if this is expected behavior with the filtering mechanism in +> its current state, but I wanted to call it to your attention if not. + +Definitely not. I'll look into that. Thanks. + +-Michal -- 2.26.2