unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@linkov.net>
To: Leo Liu <sdl.web@gmail.com>
Cc: 13417@debbugs.gnu.org
Subject: bug#13417: 24.2.92; Show number of errors in compilation mode
Date: Sun, 11 Feb 2018 23:42:25 +0200	[thread overview]
Message-ID: <87fu67b3um.fsf@mail.linkov.net> (raw)
In-Reply-To: <m2vcb3klmc.fsf@gmail.com> (Leo Liu's message of "Sat, 12 Jan 2013 13:37:15 +0800")

> 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?





  parent reply	other threads:[~2018-02-11 21:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2018-02-12 10:30   ` Leo Liu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fu67b3um.fsf@mail.linkov.net \
    --to=juri@linkov.net \
    --cc=13417@debbugs.gnu.org \
    --cc=sdl.web@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).