strange search behaviour in emacs

David Bremner david at tethera.net
Tue Mar 24 12:25:48 PDT 2015


Sebastian Fischmeister <sfischme at uwaterloo.ca> writes:

> The following *always* returns an empty list, even when I see an email
> with "bar" right there in the list after the first search:
>
> M-: (notmuch-search "from:sfischme") ;;me
> M-: (notmuch-search "bar")

I suspect this is related to asynch loading. The first query is still
filling into the buffer, and emacs doesn't starting filling the second
buffer until the first search finishes. In my experiments it
_eventually_ does the second query. It just takes a while. I agree it
would be nice if there was some UI hint before the first result arrives.

d


More information about the notmuch mailing list