From: Austin Clements Date: Thu, 3 Jan 2013 21:47:49 +0000 (-0500) Subject: emacs: Use the minibuffer for CLI error reporting X-Git-Tag: 0.15_rc1~24 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=401dbebd4803477563eff03d719605ed37a8e44d;hp=401dbebd4803477563eff03d719605ed37a8e44d 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). ---