unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Tomi Ollila <tomi.ollila@iki.fi>
To: notmuch@notmuchmail.org
Subject: Re: [PATCH] emacs: address completion, allow sender/recipient and filters
Date: Thu, 19 May 2016 17:45:07 +0300	[thread overview]
Message-ID: <m2posihzt8.fsf@guru.guru-group.fi> (raw)
In-Reply-To: <87r3czo8g9.fsf@steelpick.2x.cz>

On Wed, May 18 2016, Michal Sojka <sojkam1@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@example.org'

notmuch 'address' '--format=sexp' '--format-version=2' \
'--output=sender' '--deduplicate=address' 'to:me@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

      reply	other threads:[~2016-05-19 14:45 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-20  9:07 [PATCH] emacs: address completion, allow sender/recipient and filters Mark Walters
2015-12-28 11:50 ` Michal Sojka
2016-05-13 15:28   ` [PATCH v2] " Mark Walters
2016-05-13 21:41     ` Michal Sojka
2016-05-16  7:36       ` [PATCH v3] " Mark Walters
2016-05-17 11:53         ` Michal Sojka
2016-05-18  8:06           ` [PATCH] " Mark Walters
2016-05-18 12:29             ` Michal Sojka
2016-05-19 14:45               ` Tomi Ollila [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2posihzt8.fsf@guru.guru-group.fi \
    --to=tomi.ollila@iki.fi \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).