unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Mark Walters <markwalters1009@gmail.com>
To: sfischme@uwaterloo.ca, notmuch@notmuchmail.org
Subject: Re: Filtering completions
Date: Mon, 21 Nov 2016 07:53:14 +0000	[thread overview]
Message-ID: <87twb1jml1.fsf@qmul.ac.uk> (raw)
In-Reply-To: <87wpfxqx2x.fsf@uwaterloo.ca>


Hi

On Mon, 21 Nov 2016, Sebastian Fischmeister <sfischme@uwaterloo.ca> wrote:
> Hi,
>
> Is there a variable defining a regex to filter harvested completions before showing them? My completions include some outdated or invalid email addresses for people and I would like to automatically remove them from the list.
>
> I didn't find something for that in notmuch-address.el, and for instance notmuch-address-matching.

There is no regex or similar, but you can filter the search used to
harvest the addresses -- see notmuch-address-internal-completion
(customisable under notmuch-send). 

You might find that putting a date limit would work; alternatively you
could tag messages from the dead addresses (eg tag:dead-address) and put
a "not tag:dead-address" in the filter field.

Best wishes

Mark

      reply	other threads:[~2016-11-21  7:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-21  5:18 Filtering completions Sebastian Fischmeister
2016-11-21  7:53 ` Mark Walters [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=87twb1jml1.fsf@qmul.ac.uk \
    --to=markwalters1009@gmail.com \
    --cc=notmuch@notmuchmail.org \
    --cc=sfischme@uwaterloo.ca \
    /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).