]> rtime.felk.cvut.cz Git - notmuch.git/commit
emacs: Use the minibuffer for CLI error reporting
authorAustin Clements <amdragon@MIT.EDU>
Thu, 3 Jan 2013 21:47:49 +0000 (16:47 -0500)
committerDavid Bremner <bremner@debian.org>
Mon, 7 Jan 2013 02:47:35 +0000 (22:47 -0400)
commit401dbebd4803477563eff03d719605ed37a8e44d
treee4ad1803db370bdc913da6ad14ac97759dd0abed
parentc31a91bc5c270a9f416b63bb75c95f6274fce978
emacs: Use the minibuffer for CLI error reporting

We recently switched to popping up a buffer to report CLI errors, but
this was too intrusive, especially for transient errors and especially
since we made fewer things ignore errors.  This patch changes this to
display a basic error message in the minibuffer (using Emacs' usual
error handling path) and, if there are additional details, to log
these to a separate error buffer and reference the error buffer from
the minibuffer message.  This is more in line with how Emacs typically
handles errors, but makes the details available to the user without
flooding them with the details.

Given this split, we pare down the basic message and make it more
user-friendly, and also make the verbose message even more detailed
(and more debugging-oriented).
emacs/notmuch-lib.el
emacs/notmuch.el
test/emacs
test/emacs-show