notmuch-address-command questions
David Bremner
david at tethera.net
Sat Apr 30 03:29:57 PDT 2016
Sebastian Fischmeister <sfischme at uwaterloo.ca> writes:
> Hi,
>
> I'm trying out the internal expansion for notmuch-address-command. One
> thing I immediately notice is that it has lag over 250K emails, since
> it's lookup up addresses each time. Scripts like nottoomuch-addresses
> have cached results of only all email addresses and have instantaneous
> response.
There is caching with the internal completion, just not between emacs
sessions. So the second and following completions in a given session
should be much faster. I have almost twice that number of messages, and
the lag is barely noticable here. So maybe something's wrong if you're not
restarting emacs and still noticing completion lag. You might have a
look at the variable "notmuch-address-completions". For me this has a
bout 3700 entries in it at a steady state.
> The second thing is that it seems to list any email it finds. However, I
> don't care about email addresses found in emails from 10 years ago. I
> only care about the last two years.
>
I think the plan was/is make this search customizable in various ways,
but so far nobody got around to it.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 647 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20160430/ec2fbb5e/attachment-0001.sig>
More information about the notmuch
mailing list