aboutsummaryrefslogtreecommitdiffhomepage
path: root/util/error_util.h
diff options
context:
space:
mode:
authorGravatar Austin Clements <amdragon@MIT.EDU>2013-01-03 16:47:49 -0500
committerGravatar David Bremner <bremner@debian.org>2013-01-06 22:47:35 -0400
commit401dbebd4803477563eff03d719605ed37a8e44d (patch)
treee4ad1803db370bdc913da6ad14ac97759dd0abed /util/error_util.h
parentc31a91bc5c270a9f416b63bb75c95f6274fce978 (diff)
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).
Diffstat (limited to 'util/error_util.h')
0 files changed, 0 insertions, 0 deletions