>> Often compilation-mode displays wrong number of errors >> in the mode-line even when compilation is finished. BTW, there is another problem with notifications in the mode-line. Recording devices have the record button identified by the red dot to indicate active recording mode. But in Emacs keyboard macro recording is not highlighted in the mode-line and easy to miss. This patch adds highlighting in the mode-line like on a recording device: