From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#13417: 24.2.92; Show number of errors in compilation mode Date: Sun, 11 Feb 2018 23:42:25 +0200 Organization: LINKOV.NET Message-ID: <87fu67b3um.fsf@mail.linkov.net> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1518385466 24450 195.159.176.226 (11 Feb 2018 21:44:26 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 11 Feb 2018 21:44:26 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) Cc: 13417@debbugs.gnu.org To: Leo Liu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Feb 11 22:44:22 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ekzPw-0005X8-W9 for geb-bug-gnu-emacs@m.gmane.org; Sun, 11 Feb 2018 22:44:13 +0100 Original-Received: from localhost ([::1]:59431 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekzRy-0005jK-Ph for geb-bug-gnu-emacs@m.gmane.org; Sun, 11 Feb 2018 16:46:18 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52517) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekzRm-0005he-IV for bug-gnu-emacs@gnu.org; Sun, 11 Feb 2018 16:46:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ekzRj-0004lW-JM for bug-gnu-emacs@gnu.org; Sun, 11 Feb 2018 16:46:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:59012) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ekzRj-0004l7-FH for bug-gnu-emacs@gnu.org; Sun, 11 Feb 2018 16:46:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ekzRi-0001oy-5z for bug-gnu-emacs@gnu.org; Sun, 11 Feb 2018 16:46:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 11 Feb 2018 21:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13417 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13417-submit@debbugs.gnu.org id=B13417.15183855536971 (code B ref 13417); Sun, 11 Feb 2018 21:46:02 +0000 Original-Received: (at 13417) by debbugs.gnu.org; 11 Feb 2018 21:45:53 +0000 Original-Received: from localhost ([127.0.0.1]:38673 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ekzRZ-0001oN-Em for submit@debbugs.gnu.org; Sun, 11 Feb 2018 16:45:53 -0500 Original-Received: from sub3.mail.dreamhost.com ([69.163.253.7]:42748 helo=homiemail-a100.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ekzRY-0001oE-1M for 13417@debbugs.gnu.org; Sun, 11 Feb 2018 16:45:52 -0500 Original-Received: from homiemail-a100.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a100.g.dreamhost.com (Postfix) with ESMTP id 7F3A431A075; Sun, 11 Feb 2018 13:45:51 -0800 (PST) Original-Received: from localhost.linkov.net (m91-129-100-74.cust.tele2.ee [91.129.100.74]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by homiemail-a100.g.dreamhost.com (Postfix) with ESMTPSA id 956F631A070; Sun, 11 Feb 2018 13:45:50 -0800 (PST) In-Reply-To: (Leo Liu's message of "Sat, 12 Jan 2013 13:37:15 +0800") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:143177 Archived-At: > 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?