]> git.notmuchmail.org Git - notmuch/commit
emacs: Use async process helper for search
authorAustin Clements <amdragon@MIT.EDU>
Sat, 1 Jun 2013 00:40:05 +0000 (20:40 -0400)
committerDavid Bremner <bremner@debian.org>
Sat, 1 Jun 2013 11:56:16 +0000 (08:56 -0300)
commit08fde50bf3a4c54f6413aff4052e0d84392463f9
tree211409ceef966edec6c7e8bb9d58201ccf224104
parenta13b388243247a423a8c8476e35a4ebe6c9bde5b
emacs: Use async process helper for search

Previously, search started the async notmuch process directly.  Now,
it uses `notmuch-start-notmuch'.  This simplifies the process sentinel
a bit and means that we no longer have to worry about errors
interleaved with the JSON output.

We also update the tests of Emacs error handling, since the error
output is now separated from the search results buffer.
emacs/notmuch.el
test/emacs