Address completion

Subject: Address completion

Date: Tue, 20 Apr 2010 23:33:11 +0200

To: Notmuch development list


From: Sebastian Spaeth

Oh my goodness. I just tried
together with the latest version of my "addrlookup" tool (which does the
same as jkr's and it just works, even in current

Address completion for to: and cc: headers based on my notmuch database,
sweet! Thanks David. I only need to reverse the sort order of addrlookup
as this uses most-to-least likely (which is more intuitive than eudc's
least-to-most likely sort order).

BTW, addrlookup now first tries to find matches that I previously sent
mails to and failing that it will try to find matches for all from:
addresses that match the search.

It would be trivial to include cworth's 3rd pass (or rather the 1st one)
of checking entries with an "address book" tag first. Which would
satisfy his entry in the notmuch TODO :-). which tag would make most
sense? And if a message had such a tag, would that mean the to: or the
from: is in the address book? Carl? It's your idea :-)