unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#13417: 24.2.92; Show number of errors in compilation mode
@ 2013-01-12  5:37 Leo Liu
  2013-01-13  9:51 ` Juri Linkov
  2018-02-11 21:42 ` Juri Linkov
  0 siblings, 2 replies; 4+ messages in thread
From: Leo Liu @ 2013-01-12  5:37 UTC (permalink / raw)
  To: 13417

This is a feature request originated from the discussion
http://thread.gmane.org/gmane.emacs.devel/154236:

  The unused compilation-num-errors-found variable seems to be a
  placeholder to showing number of errors or warnings in compilation mode,
  for example: 
  
    Compilation exited abnormally with 10 errors and 11 warnings at Wed
    Oct 10 23:34:40

Leo





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#13417: 24.2.92; Show number of errors in compilation mode
  2013-01-12  5:37 bug#13417: 24.2.92; Show number of errors in compilation mode Leo Liu
@ 2013-01-13  9:51 ` Juri Linkov
  2018-02-11 21:42 ` Juri Linkov
  1 sibling, 0 replies; 4+ messages in thread
From: Juri Linkov @ 2013-01-13  9:51 UTC (permalink / raw)
  To: Leo Liu; +Cc: 13417

> This is a feature request originated from the discussion
> http://thread.gmane.org/gmane.emacs.devel/154236:
>
>   The unused compilation-num-errors-found variable seems to be a
>   placeholder to showing number of errors or warnings in compilation mode,
>   for example:
>
>     Compilation exited abnormally with 10 errors and 11 warnings at Wed
>     Oct 10 23:34:40

Sometimes this might make the last line too long, e.g. 91 characters long:

  Compilation exited abnormally with code 2, 10 errors and 11 warnings at Wed Oct 10 23:34:40

But maybe this is not a problem.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#13417: 24.2.92; Show number of errors in compilation mode
  2013-01-12  5:37 bug#13417: 24.2.92; Show number of errors in compilation mode Leo Liu
  2013-01-13  9:51 ` Juri Linkov
@ 2018-02-11 21:42 ` Juri Linkov
  2018-02-12 10:30   ` Leo Liu
  1 sibling, 1 reply; 4+ messages in thread
From: Juri Linkov @ 2018-02-11 21:42 UTC (permalink / raw)
  To: Leo Liu; +Cc: 13417

> This is a feature request originated from the discussion
> http://thread.gmane.org/gmane.emacs.devel/154236:
>
>   The unused compilation-num-errors-found variable seems to be a
>   placeholder to showing number of errors or warnings in compilation mode,
>   for example: 
>   
>     Compilation exited abnormally with 10 errors and 11 warnings at Wed
>     Oct 10 23:34:40

I'm sorry to say this but I see no way to implement this.
The problem is that the last line in the *compilation* buffer
is printed earlier than we know the number of compilation errors
because errors are counted by font-lock invoked at unpredictable times
when compilation process is already finished.

Fortunately since now the number of compilation errors and
warnings are displayed in the mode-line of *compilation* buffer,
do you think this is enough and we can close this feature request?





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#13417: 24.2.92; Show number of errors in compilation mode
  2018-02-11 21:42 ` Juri Linkov
@ 2018-02-12 10:30   ` Leo Liu
  0 siblings, 0 replies; 4+ messages in thread
From: Leo Liu @ 2018-02-12 10:30 UTC (permalink / raw)
  To: Juri Linkov; +Cc: 13417

On 2018-02-11 23:42 +0200, Juri Linkov wrote:
> Fortunately since now the number of compilation errors and
> warnings are displayed in the mode-line of *compilation* buffer,
> do you think this is enough and we can close this feature request?

Sounds good to me. Thanks for asking.

Leo





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-02-12 10:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-12  5:37 bug#13417: 24.2.92; Show number of errors in compilation mode Leo Liu
2013-01-13  9:51 ` Juri Linkov
2018-02-11 21:42 ` Juri Linkov
2018-02-12 10:30   ` Leo Liu

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).