]> git.eshelyaron.com Git - emacs.git/commit
Show number of errors in compilation-mode mode-line
authorTom Tromey <tom@tromey.com>
Sun, 5 Mar 2017 17:48:41 +0000 (10:48 -0700)
committerTom Tromey <tom@tromey.com>
Tue, 8 Aug 2017 03:48:33 +0000 (21:48 -0600)
commit846870e508021ee8d1099280b3f40fe108a34bf0
treed658cfb9421b34d4c7552e2d6f97bb0ddb6128ae
parentc3445aed51944becb3e58f5dace8121c0021f6c7
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.
doc/emacs/building.texi
etc/NEWS
lisp/progmodes/compile.el