Re: [RFC PATCH 3/5] cli: add support for not deduplicating notmuch address results

2015-08-30 Thread Jani Nikula
On Sun, 30 Aug 2015, David Bremner da...@tethera.net wrote: Jani Nikula j...@nikula.org writes: +{ NOTMUCH_OPT_KEYWORD, ctx-dupe, deduplicate, 'x', probably you want 'D' or 'd' here. Not that it makes a practical difference at this point. + (notmuch_keyword_t []){ { yes, -1 },

[RFC PATCH 3/5] cli: add support for not deduplicating notmuch address results

2015-08-29 Thread Jani Nikula
Make it possible to use notmuch address as part of a | sort | uniq -c pipe instead of forcing --output=count. This is useful for combining results from multiple notmuch address queries. --- notmuch-search.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/notmuch-search.c

Re: [RFC PATCH 3/5] cli: add support for not deduplicating notmuch address results

2015-08-29 Thread David Bremner
Jani Nikula j...@nikula.org writes: + { NOTMUCH_OPT_KEYWORD, ctx-dupe, deduplicate, 'x', probably you want 'D' or 'd' here. Not that it makes a practical difference at this point. + (notmuch_keyword_t []){ { yes, -1 }, I'm not very enthusiastic about reusing ctx-dupe for this. In