[PATCH] emacs: address completion, allow sender/recipient and filters

Tomi Ollila tomi.ollila at iki.fi
Thu May 19 07:45:07 PDT 2016


On Wed, May 18 2016, Michal Sojka <sojkam1 at fel.cvut.cz> wrote:

> On Wed, May 18 2016, Mark Walters wrote:
>> This commit lets the user customize the address completion. It makes
>> two changes.
>
> Thanks Mark, now it LGTM.
>
> I configured my address completion to be based on received emails and
> I'm surprised how many variations of my email address is used by
> spammers :)

I tried this and it seems to work. LGTM +1.

Thanks to David's latest pushes I grabbed a little time from my temporarily
busy time and attempted to test this internal address completion...

... for anyone who might be interested, the address harvesting command options
from emacs (without extra filtering) now are.

notmuch 'address' '--format=sexp' '--format-version=2' \
'--output=recipients' '--deduplicate=address' 'from:me at example.org'

notmuch 'address' '--format=sexp' '--format-version=2' \
'--output=sender' '--deduplicate=address' 'to:me at example.org'

... I had text here wondering whether this from:/to: is too restrictive
but perhaps it is not. I don't know. Therefore I shut up now :D


Tomi



> Cheers
> -Michal


More information about the notmuch mailing list