[PATCH v2 1/7] emacs: Centralize notmuch command error handling