This series adds a load/save functionality for the address completions. This avoids the slow and poor completion provided until the full address-hash has been generated -- this can take some time, (over a minute on my machine), and is annoying if you frequently restart emacs (e.g. when debugging things).
Although the patch is quite large it is relatively simple: essentially a "print" to save, and a "read" to load. I have tried quite hard to stop over-writing existing files, and to make sure the user does not get surprising results if they change settings or the address completion is upgraded in some way (e.g., we store the frequency of each match in the map). By default the save/load is switched off: this avoids accidental privacy leaks, but does make it harder for users to discover. Best wishes Mark Mark Walters (2): emacs: address: move address-full-harvest-finished to a function emacs: address: save hash emacs/notmuch-address.el | 85 ++++++++++++++++++++++++++++++++++++++++++++++-- emacs/notmuch-company.el | 4 +-- 2 files changed, 84 insertions(+), 5 deletions(-) -- 2.1.4 _______________________________________________ notmuch mailing list notmuch@notmuchmail.org https://notmuchmail.org/mailman/listinfo/notmuch