]> git.notmuchmail.org Git - notmuch/commitdiff
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)
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).


No differences found