[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#36564: 27.0.50; Wrong number of errors in compilation mode-line
From: |
Juri Linkov |
Subject: |
bug#36564: 27.0.50; Wrong number of errors in compilation mode-line |
Date: |
Fri, 12 Jul 2019 00:47:27 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) |
tags 36564 + patch fixed
found 36564 27.0.50
close 36564 27.0.50
quit
>> Often compilation-mode displays wrong number of errors
>> in the mode-line even when compilation is finished.
>>
>> compilation-mode is based on font-lock, so when the
>> *compilation* buffer is not displayed during compilation,
>> some parts of this buffer that contain error messages
>> are not fontified, and thus these errors are not counted.
>>
>> This patch ensures the correct number of errors
>> is displayed on the mode-line:
>
> Actually maybe better to count errors not at the end
> of compilation, but during compilation as output goes:
Fixed in master in ef6715364d.