unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* Filtering completions
@ 2016-11-21  5:18 Sebastian Fischmeister
  2016-11-21  7:53 ` Mark Walters
  0 siblings, 1 reply; 2+ messages in thread
From: Sebastian Fischmeister @ 2016-11-21  5:18 UTC (permalink / raw)
  To: notmuch

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.

Thanks,
  Sebastian

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

* Re: Filtering completions
  2016-11-21  5:18 Filtering completions Sebastian Fischmeister
@ 2016-11-21  7:53 ` Mark Walters
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Walters @ 2016-11-21  7:53 UTC (permalink / raw)
  To: sfischme, notmuch


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

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

end of thread, other threads:[~2016-11-21  7:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-21  5:18 Filtering completions Sebastian Fischmeister
2016-11-21  7:53 ` Mark Walters

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).