--- /dev/null
+Return-Path: <sojkam1@fel.cvut.cz>\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 1526E431E84\r
+ for <notmuch@notmuchmail.org>; Sun, 12 Oct 2014 14:41:59 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -2.3\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5\r
+ tests=[RCVD_IN_DNSWL_MED=-2.3] 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 UyocNQJk1gnc for <notmuch@notmuchmail.org>;\r
+ Sun, 12 Oct 2014 14:41:51 -0700 (PDT)\r
+Received: from max.feld.cvut.cz (max.feld.cvut.cz [147.32.192.36])\r
+ by olra.theworths.org (Postfix) with ESMTP id 1FD6E431FAE\r
+ for <notmuch@notmuchmail.org>; Sun, 12 Oct 2014 14:41:51 -0700 (PDT)\r
+Received: from localhost (unknown [192.168.200.7])\r
+ by max.feld.cvut.cz (Postfix) with ESMTP id E01695CCF24\r
+ for <notmuch@notmuchmail.org>; Sun, 12 Oct 2014 23:41:49 +0200 (CEST)\r
+X-Virus-Scanned: IMAP STYX AMAVIS\r
+Received: from max.feld.cvut.cz ([192.168.200.1])\r
+ by localhost (styx.feld.cvut.cz [192.168.200.7]) (amavisd-new,\r
+ port 10044) with ESMTP id GtsAi_AdO1FV for <notmuch@notmuchmail.org>;\r
+ Sun, 12 Oct 2014 23:41:46 +0200 (CEST)\r
+Received: from imap.feld.cvut.cz (imap.feld.cvut.cz [147.32.192.34])\r
+ by max.feld.cvut.cz (Postfix) with ESMTP id 463725CCF21\r
+ for <notmuch@notmuchmail.org>; Sun, 12 Oct 2014 23:41:45 +0200 (CEST)\r
+Received: from wsh by steelpick.2x.cz with local (Exim 4.84)\r
+ (envelope-from <sojkam1@fel.cvut.cz>)\r
+ id 1XdQtb-0002C6-2r; Sun, 12 Oct 2014 23:41:43 +0200\r
+From: Michal Sojka <sojkam1@fel.cvut.cz>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH v3 0/4] notmuch search --output=sender/recipients\r
+Date: Sun, 12 Oct 2014 23:41:29 +0200\r
+Message-Id: <1413150093-8383-1-git-send-email-sojkam1@fel.cvut.cz>\r
+X-Mailer: git-send-email 2.1.1\r
+In-Reply-To: <87zjd51phx.fsf@steelpick.2x.cz>\r
+References: <87zjd51phx.fsf@steelpick.2x.cz>\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, 12 Oct 2014 21:41:59 -0000\r
+\r
+Hi,\r
+\r
+this is a third version of my adaptation of Jani's patch series adding\r
+--output=sender/recipients and related arguments to notmuch search.\r
+\r
+The 1st patch is the same as in v2 (Marked as OK in\r
+id:m24mvht4c4.fsf@guru.guru-group.fi).\r
+\r
+The 2nd patch is not changed as well, but in v2 it was patch 3/4.\r
+\r
+The 3rd patch is rewritten to use the "keyword flags" introduced in\r
+patch 2 (requested by Tomi). The code is basically the same as in\r
+id:1410021689-15901-1-git-send-email-jani@nikula.org, but tests are\r
+added and shell completion is updated.\r
+\r
+Finally, last patch adds --filter-by option that allows one to filter\r
+out duplicate addresses. This option was called --unique in v2 and the\r
+the semantic is slightly different now. This resulted in simpler code.\r
+The documentation was also reworked and is hopefully more\r
+understandable now.\r
+\r
+-Michal\r
+\r
+\r
+Jani Nikula (1):\r
+ cli: Add support for parsing multiple keyword arguments\r
+\r
+Michal Sojka (3):\r
+ cli: Refactor option passing in the search command\r
+ cli: Extend the search command for --output={sender,recipients}\r
+ cli: Add an option to filter our duplicate addresses\r
+\r
+ command-line-arguments.c | 6 +-\r
+ command-line-arguments.h | 1 +\r
+ completion/notmuch-completion.bash | 8 +-\r
+ completion/notmuch-completion.zsh | 4 +-\r
+ doc/man1/notmuch-search.rst | 54 ++++++-\r
+ notmuch-search.c | 309 +++++++++++++++++++++++++++++--------\r
+ test/T090-search-output.sh | 64 ++++++++\r
+ test/T095-search-filter-by.sh | 55 +++++++\r
+ test/T410-argument-parsing.sh | 3 +-\r
+ test/arg-test.c | 9 ++\r
+ 10 files changed, 440 insertions(+), 73 deletions(-)\r
+ create mode 100755 test/T095-search-filter-by.sh\r
+\r
+-- \r
+2.1.1\r
+\r