Re: [PATCH v3 3/4] cli: Extend the search command for --output={sender, recipients}
authorTomi Ollila <tomi.ollila@iki.fi>
Sun, 19 Oct 2014 10:02:28 +0000 (13:02 +0300)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 18:05:22 +0000 (10:05 -0800)
c3/f9e9233a877705218b70118eeb796923cc968e [new file with mode: 0644]

diff --git a/c3/f9e9233a877705218b70118eeb796923cc968e b/c3/f9e9233a877705218b70118eeb796923cc968e
new file mode 100644 (file)
index 0000000..56a9401
--- /dev/null
@@ -0,0 +1,90 @@
+Return-Path: <tomi.ollila@iki.fi>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id C06FA431FC4\r
+       for <notmuch@notmuchmail.org>; Sun, 19 Oct 2014 03:02:54 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
+       autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id Pfsqy3ZjmJDL for <notmuch@notmuchmail.org>;\r
+       Sun, 19 Oct 2014 03:02:47 -0700 (PDT)\r
+Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])\r
+       by olra.theworths.org (Postfix) with ESMTP id A6966431FBF\r
+       for <notmuch@notmuchmail.org>; Sun, 19 Oct 2014 03:02:47 -0700 (PDT)\r
+Received: from guru.guru-group.fi (localhost [IPv6:::1])\r
+       by guru.guru-group.fi (Postfix) with ESMTP id 8301F10008C;\r
+       Sun, 19 Oct 2014 13:02:28 +0300 (EEST)\r
+From: Tomi Ollila <tomi.ollila@iki.fi>\r
+To: Michal Sojka <sojkam1@fel.cvut.cz>, notmuch@notmuchmail.org\r
+Subject: Re: [PATCH v3 3/4] cli: Extend the search command\r
+       for     --output={sender, recipients}\r
+In-Reply-To: <871tqbejl5.fsf@steelpick.2x.cz>\r
+References: <87zjd51phx.fsf@steelpick.2x.cz>\r
+       <1413150093-8383-1-git-send-email-sojkam1@fel.cvut.cz>\r
+       <1413150093-8383-4-git-send-email-sojkam1@fel.cvut.cz>\r
+       <m238arrdzp.fsf@guru.guru-group.fi>\r
+       <871tqbejl5.fsf@steelpick.2x.cz>\r
+User-Agent: Notmuch/0.18.1+130~ga61922f (http://notmuchmail.org) Emacs/24.3.1\r
+       (x86_64-unknown-linux-gnu)\r
+X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL\r
+       $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F\r
+       !)g;OY^,BjTbr)Np:%c_o'jj,Z\r
+Date: Sun, 19 Oct 2014 13:02:28 +0300\r
+Message-ID: <m2k33wbcnf.fsf@guru.guru-group.fi>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Sun, 19 Oct 2014 10:02:54 -0000\r
+\r
+\r
+Hi Michal, been busy lately so I haven't got into this...\r
+\r
+... I'll look into it in a bit more detail a bit later, \r
+\r
+\r
+On Tue, Oct 14 2014, Michal Sojka <sojkam1@fel.cvut.cz> wrote:\r
+\r
+>\r
+> I don't know. You seem to think about this in the opposite way than how\r
+> it is implemented. The implementation really filters things out whereas\r
+> you specify what not to filter.\r
+>\r
+> My feeling is that if you would implement your proposal, the code would\r
+> be more complex than in my patch, because the mapping between command\r
+> line options and the actual algorithm would require some extra code. And\r
+> in a previous comment, you preferred simplicity.\r
+\r
+Yes, maybe the choice of reusing --duplicate was bad, and perhaps took\r
+thought from the main point -- what kind output options should be possible...\r
+\r
+> Hopefully, you consider the above as "healthy" criticism.\r
+\r
+Yes, I do -- I hope we can get something decent out in this in near future,\r
+with duplicate filtering that can have useful options to be used directly\r
+by MUAs and no duplicate filtering option which I can use in \r
+nottoomuch-addresses in 2016 ;D\r
+\r
+\r
+\r
+> Thanks for quick review.\r
+> -Michal\r
+\r
+\r
+Tomi\r