unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [PATCH 0/5] cli: alternative address deduplication
@ 2015-08-29 14:56 Jani Nikula
  2015-08-29 14:56 ` [RFC PATCH 1/5] cli: g_hash_table_lookup_extended is overkill Jani Nikula
                   ` (4 more replies)
  0 siblings, 5 replies; 15+ messages in thread
From: Jani Nikula @ 2015-08-29 14:56 UTC (permalink / raw)
  To: notmuch

This series adds support both for not deduplicating addresses in notmuch
address, and for using just the case insensitive address part of an email
address. The new deduplication picks the most popular variant.

Real life examples, current deduplication:

$ notmuch address --output=count from:amdragon
1544	Austin Clements <amdragon@MIT.EDU>
63	Austin Clements <amdragon@mit.edu>

$ notmuch address --output=count from:jani@nikula.org
2344	Jani Nikula <jani@nikula.org>
3	Jani <jani@nikula.org>
5	jani@nikula.org
6	"jani@nikula.org" <jani@nikula.org>

And new deduplication:

$ notmuch address --output=count --deduplicate=address from:amdragon
1607	Austin Clements <amdragon@MIT.EDU>

$ notmuch address --output=count --deduplicate=address from:jani@nikula.org
2358	Jani Nikula <jani@nikula.org>

BR,
Jani.


Jani Nikula (5):
  cli: g_hash_table_lookup_extended is overkill
  cli: abstract new mailbox creation
  cli: add support for not deduplicating notmuch address results
  cli: change the data structure for notmuch address deduplication
  cli: add support for deduplicating based on case insensitive address

 notmuch-client.h |   1 +
 notmuch-search.c | 149 +++++++++++++++++++++++++++++++++++++++++++++++--------
 2 files changed, 130 insertions(+), 20 deletions(-)

-- 
2.1.4

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2015-08-31 11:18 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-29 14:56 [PATCH 0/5] cli: alternative address deduplication Jani Nikula
2015-08-29 14:56 ` [RFC PATCH 1/5] cli: g_hash_table_lookup_extended is overkill Jani Nikula
2015-08-29 14:56 ` [RFC PATCH 2/5] cli: abstract new mailbox creation Jani Nikula
2015-08-29 14:56 ` [RFC PATCH 3/5] cli: add support for not deduplicating notmuch address results Jani Nikula
2015-08-30  1:29   ` David Bremner
2015-08-30  7:33     ` Jani Nikula
2015-08-29 14:56 ` [RFC PATCH 4/5] cli: change the data structure for notmuch address deduplication Jani Nikula
2015-08-30  1:48   ` David Bremner
2015-08-30  7:45     ` Jani Nikula
2015-08-30 11:46       ` David Bremner
2015-08-30  7:47     ` Jani Nikula
2015-08-29 14:56 ` [RFC PATCH 5/5] cli: add support for deduplicating based on case insensitive address Jani Nikula
2015-08-30 12:06   ` David Bremner
2015-08-31 10:52     ` Tomi Ollila
2015-08-31 11:15       ` David Bremner

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).