--- /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 90951429E37\r
+ for <notmuch@notmuchmail.org>; Mon, 3 Nov 2014 15:50:54 -0800 (PST)\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 5Jv62CpjOuLT for <notmuch@notmuchmail.org>;\r
+ Mon, 3 Nov 2014 15:50:47 -0800 (PST)\r
+Received: from max.feld.cvut.cz (max.feld.cvut.cz [147.32.192.36])\r
+ by olra.theworths.org (Postfix) with ESMTP id 687ED431FAF\r
+ for <notmuch@notmuchmail.org>; Mon, 3 Nov 2014 15:50:47 -0800 (PST)\r
+Received: from localhost (unknown [192.168.200.7])\r
+ by max.feld.cvut.cz (Postfix) with ESMTP id 6E2555CD011\r
+ for <notmuch@notmuchmail.org>; Tue, 4 Nov 2014 00:50:45 +0100 (CET)\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 mUs-K_T2GnzJ for <notmuch@notmuchmail.org>;\r
+ Tue, 4 Nov 2014 00:50:40 +0100 (CET)\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 C11EB5CD006\r
+ for <notmuch@notmuchmail.org>; Tue, 4 Nov 2014 00:50:40 +0100 (CET)\r
+Received: from wsh by steelpick.2x.cz with local (Exim 4.84)\r
+ (envelope-from <sojkam1@fel.cvut.cz>)\r
+ id 1XlROM-0005WJ-0t; Tue, 04 Nov 2014 00:50:34 +0100\r
+From: Michal Sojka <sojkam1@fel.cvut.cz>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH v2 00/10] "notmuch address" command\r
+Date: Tue, 4 Nov 2014 00:50:12 +0100\r
+Message-Id: <1415058622-21162-1-git-send-email-sojkam1@fel.cvut.cz>\r
+X-Mailer: git-send-email 2.1.1\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: Mon, 03 Nov 2014 23:50:54 -0000\r
+\r
+Hi all,\r
+\r
+this is v2 of "notmuch address" patchset. It obsoletes [1].\r
+\r
+Don't be scared by the number of patches. Most of them are trivial\r
+refactoring. Patches 1-4 refactor the code so that "notmuch search"\r
+command is easier to split. Patch 5 is Jani's hierarchical command\r
+line parsing patch. Patch 6 splits search functionality to new address\r
+command. Patch 7 is minor refactoring. Patches 8-10 correspond to\r
+patches 5-7 in the original "notmuch search\r
+--output=sender/recipients" patch series [2].\r
+\r
+Changes from v1:\r
+\r
+- Rebased to current master (conflicted with Jani's "notmuch search\r
+ --duplicate=N with --output=messages" patch)\r
+- Fixed printing of false "Unrecognized option" error message in\r
+ hierarchical command line parser.\r
+\r
+Regards,\r
+-Michal\r
+\r
+[1] id:1414889400-30977-1-git-send-email-sojkam1@fel.cvut.cz\r
+[2] id:1414792441-29555-1-git-send-email-sojkam1@fel.cvut.cz\r
+\r
+\r
+Jani Nikula (1):\r
+ cli: add support for hierarchical command line option arrays\r
+\r
+Michal Sojka (9):\r
+ cli: search: Rename options to context\r
+ cli: search: Move more variables into search_context_t\r
+ cli: search: Convert ctx. to ctx->\r
+ cli: search: Split notmuch_search_command to smaller functions\r
+ cli: Introduce "notmuch address" command\r
+ cli: search: Convert --output to keyword argument\r
+ cli: address: Do not output duplicate addresses\r
+ cli: address: Add --output=count\r
+ cli: address: Add --filter-by option to configure address filtering\r
+\r
+ command-line-arguments.c | 16 +-\r
+ command-line-arguments.h | 1 +\r
+ completion/notmuch-completion.bash | 48 +++-\r
+ completion/notmuch-completion.zsh | 11 +-\r
+ doc/man1/notmuch-address.rst | 140 ++++++++++++\r
+ doc/man1/notmuch-search.rst | 21 +-\r
+ doc/man1/notmuch.rst | 7 +-\r
+ notmuch-client.h | 3 +\r
+ notmuch-search.c | 454 +++++++++++++++++++++++++------------\r
+ notmuch.c | 2 +\r
+ test/T095-address.sh | 148 ++++++++++++\r
+ test/T097-address-filter-by.sh | 73 ++++++\r
+ 12 files changed, 751 insertions(+), 173 deletions(-)\r
+ create mode 100644 doc/man1/notmuch-address.rst\r
+ create mode 100755 test/T095-address.sh\r
+ create mode 100755 test/T097-address-filter-by.sh\r
+\r
+-- \r
+2.1.1\r
+\r