[RFC Patch 2/3] CLI/address: sort output by frequency with deduplicate=address

2021-12-19 Thread David Bremner
Since the current output is not in any guaranteed order, changing the output ordering should not break anything. This is one of the easy cases, since we are already making a complete pass of the matches and storing them in a hash table. --- notmuch-search.c | 19 +++

[RFC Patch 1/3] CLI/address: refactor/inline print_popular

2021-12-19 Thread David Bremner
The goal is to make it easier to sort the current output in future commits. There should be no functional change in this commit. --- notmuch-search.c | 19 ++- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/notmuch-search.c b/notmuch-search.c index

Partial support for sorting the output of notmuch address

2021-12-19 Thread David Bremner
One of the annoyances with notmuch-address (and motivations for various third party work-a-likes) is the fact that it does not output data in (descending) frequency order. This series adds that for either --output=count or --deduplicate=address. This is because the current --dedup=mailbox

[RFC Patch 3/3] CLI/address: source by frequency if output=count

2021-12-19 Thread David Bremner
This is the other low hanging fruit, because we already require a second pass of the hashed values to output. --- notmuch-search.c | 10 ++ test/T095-address.sh | 34 ++ 2 files changed, 40 insertions(+), 4 deletions(-) diff --git a/notmuch-search.c

Re: planned hosting transition for nmbug.notmuchmail.org 2021-12-19

2021-12-19 Thread David Bremner
David Bremner writes: > > If you find things that are not working on nmbug after Sunday, feel free > to mail me personally, or ping me on #notmuch (irc.libera.chat). Mailing > the mailing list is fine too, but that might be one of the disrupted > things. If this message makes to the members of