]> git.notmuchmail.org Git - notmuch/commit
emacs: hello: use batch count
authorMark Walters <markwalters1009@gmail.com>
Sun, 31 Mar 2013 09:46:03 +0000 (12:46 +0300)
committerDavid Bremner <bremner@unb.ca>
Mon, 1 Apr 2013 16:22:30 +0000 (12:22 -0400)
commitc933e54227ccd9d73bac814cc0cd9c2bbc13e91c
tree9e00856a8e7b1a09beb2e1740f3e8e74886a012b
parent360c3c86070ba60c3973da7803335ba7331e7e9d
emacs: hello: use batch count

This modifies notmuch hello to use the new count --batch
functionality. It should give exactly the same results as before but
under many conditions it should be much faster. In particular it is
much faster for remote use.

The code is a little ugly as it has to do some working out of the
query when asking the query and some when dealing with the result.
However, the code path is exactly the same in both local and remote
use.
emacs/notmuch-hello.el