aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorTom Tromey2017-03-05 10:48:41 -0700
committerTom Tromey2017-08-07 21:48:33 -0600
commit846870e508021ee8d1099280b3f40fe108a34bf0 (patch)
treed658cfb9421b34d4c7552e2d6f97bb0ddb6128ae /doc
parentc3445aed51944becb3e58f5dace8121c0021f6c7 (diff)
downloademacs-846870e508021ee8d1099280b3f40fe108a34bf0.tar.gz
emacs-846870e508021ee8d1099280b3f40fe108a34bf0.zip
Show number of errors in compilation-mode mode-line
Bug#25354 * lisp/progmodes/compile.el (compilation-num-errors-found): Provide default value. (compilation-num-warnings-found, compilation-num-infos-found): New defvars. (compilation-mode-line-errors): New defconst. (compilation-face): Remove. (compilation-type, compilation--note-type): New functions. (compilation-parse-errors): Call compilation--note-type. (compilation-start): Include compilation-mode-line-errors in mode-line-process. (compilation-setup): Initialize compilation-num-* variables to 0. (compilation-handle-exit): Include compilation-mode-line-errors in mode-line-process. * doc/emacs/building.texi (Compilation): Document new feature.
Diffstat (limited to 'doc')
-rw-r--r--doc/emacs/building.texi4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/emacs/building.texi b/doc/emacs/building.texi
index f7eb8fe9eaf..cc79eae7770 100644
--- a/doc/emacs/building.texi
+++ b/doc/emacs/building.texi
@@ -90,6 +90,10 @@ inserted above point, which remains at the end. Otherwise, point
90remains fixed while compilation output is added at the end of the 90remains fixed while compilation output is added at the end of the
91buffer. 91buffer.
92 92
93 While compilation proceeds, the mode line is updated to show the
94number of errors, warnings, and informational messages that have been
95seen so far.
96
93@cindex compilation buffer, keeping point at end 97@cindex compilation buffer, keeping point at end
94@vindex compilation-scroll-output 98@vindex compilation-scroll-output
95 If you change the variable @code{compilation-scroll-output} to a 99 If you change the variable @code{compilation-scroll-output} to a