Please disregard the previous message. I forgot to amend a change that uses
a nonexistent query to speed up the call to notmuch count.
___
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch
This loads all known email addresses for completion, and caches the
result. The cache validity is based on `notmuch count --lastmod
mid:nonexistent`.
---
completion/zsh/_email-notmuch | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/completion/zsh/_email-notmuch
---
completion/zsh/_email-notmuch | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/completion/zsh/_email-notmuch b/completion/zsh/_email-notmuch
index 291c2358..c6db00b6 100644
--- a/completion/zsh/_email-notmuch
+++ b/completion/zsh/_email-notmuch
@@ -2,8 +2,14 @@
On Sun, Sep 16 2018, David Bremner wrote:
> The main goal here is to be able to install the notmuch-mutt script
> with an absolute shebang. I have tried to make the notmuch-mut
Series looks pretty good to me... mut mut should probably be mutt ;D
Also we probably don't care those who have
---
bindings/python/notmuch/message.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bindings/python/notmuch/message.py
b/bindings/python/notmuch/message.py
index d242097a..de0fb415 100644
--- a/bindings/python/notmuch/message.py
+++ b/bindings/python/notmuch/message.py
@@
Vincent Breitmoser writes:
> Ah, that's a bit annoying.
>
> What we could do is just stupidly load all addresses and work from there? On
> my
> machine, `notmuch address --deduplicate=address --output=address '*'` takes
> 0.25
> seconds for a result set of 5500 addresses.
>
Here it's 1.9s for
Ah, that's a bit annoying.
What we could do is just stupidly load all addresses and work from there? On my
machine, `notmuch address --deduplicate=address --output=address '*'` takes 0.25
seconds for a result set of 5500 addresses.
Could also put that result set in the zsh completion cache, for
Vincent Breitmoser writes:
> --- /dev/null
> +++ b/completion/zsh/_email-notmuch
> @@ -0,0 +1,9 @@
> +#autoload
> +
> +local expl
> +local -a notmuch_addr
> +
> +notmuch_addr=( ${(f)"$(notmuch address --deduplicate=address
> --output=address -- $PREFIX'*')"} )
> +
> +_description notmuch-addr