[PATCH v3 0/4] notmuch search --output=sender/recipients
Michal Sojka
sojkam1 at fel.cvut.cz
Sun Oct 12 14:41:29 PDT 2014
Hi,
this is a third version of my adaptation of Jani's patch series adding
--output=sender/recipients and related arguments to notmuch search.
The 1st patch is the same as in v2 (Marked as OK in
id:m24mvht4c4.fsf at guru.guru-group.fi).
The 2nd patch is not changed as well, but in v2 it was patch 3/4.
The 3rd patch is rewritten to use the "keyword flags" introduced in
patch 2 (requested by Tomi). The code is basically the same as in
id:1410021689-15901-1-git-send-email-jani at nikula.org, but tests are
added and shell completion is updated.
Finally, last patch adds --filter-by option that allows one to filter
out duplicate addresses. This option was called --unique in v2 and the
the semantic is slightly different now. This resulted in simpler code.
The documentation was also reworked and is hopefully more
understandable now.
-Michal
Jani Nikula (1):
cli: Add support for parsing multiple keyword arguments
Michal Sojka (3):
cli: Refactor option passing in the search command
cli: Extend the search command for --output={sender,recipients}
cli: Add an option to filter our duplicate addresses
command-line-arguments.c | 6 +-
command-line-arguments.h | 1 +
completion/notmuch-completion.bash | 8 +-
completion/notmuch-completion.zsh | 4 +-
doc/man1/notmuch-search.rst | 54 ++++++-
notmuch-search.c | 309 +++++++++++++++++++++++++++++--------
test/T090-search-output.sh | 64 ++++++++
test/T095-search-filter-by.sh | 55 +++++++
test/T410-argument-parsing.sh | 3 +-
test/arg-test.c | 9 ++
10 files changed, 440 insertions(+), 73 deletions(-)
create mode 100755 test/T095-search-filter-by.sh
--
2.1.1
More information about the notmuch
mailing list