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#30397: Random numbers in grep mode-line Date: Sat, 10 Feb 2018 23:32:44 +0200 Organization: LINKOV.NET Message-ID: <87zi4gpm2r.fsf@mail.linkov.net> References: <87tvurtbek.fsf@mail.linkov.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1518299181 1800 195.159.176.226 (10 Feb 2018 21:46:21 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 10 Feb 2018 21:46:21 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) Cc: 30397@debbugs.gnu.org To: Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 10 22:46:17 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 1ekcyG-00084F-69 for geb-bug-gnu-emacs@m.gmane.org; Sat, 10 Feb 2018 22:46:08 +0100 Original-Received: from localhost ([::1]:38029 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekd0H-0007Sy-SL for geb-bug-gnu-emacs@m.gmane.org; Sat, 10 Feb 2018 16:48:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57816) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekd0B-0007S7-Ml for bug-gnu-emacs@gnu.org; Sat, 10 Feb 2018 16:48:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ekd07-00055A-DM for bug-gnu-emacs@gnu.org; Sat, 10 Feb 2018 16:48:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:57629) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ekd07-00054K-9O for bug-gnu-emacs@gnu.org; Sat, 10 Feb 2018 16:48:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ekd06-0004pX-Tg for bug-gnu-emacs@gnu.org; Sat, 10 Feb 2018 16:48: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: Sat, 10 Feb 2018 21:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30397 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 30397-submit@debbugs.gnu.org id=B30397.151829925018526 (code B ref 30397); Sat, 10 Feb 2018 21:48:01 +0000 Original-Received: (at 30397) by debbugs.gnu.org; 10 Feb 2018 21:47:30 +0000 Original-Received: from localhost ([127.0.0.1]:37293 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ekczZ-0004ok-Q9 for submit@debbugs.gnu.org; Sat, 10 Feb 2018 16:47:29 -0500 Original-Received: from sub3.mail.dreamhost.com ([69.163.253.7]:41109 helo=homiemail-a101.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ekczY-0004oc-8v for 30397@debbugs.gnu.org; Sat, 10 Feb 2018 16:47:28 -0500 Original-Received: from homiemail-a101.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a101.g.dreamhost.com (Postfix) with ESMTP id 5FE68117E06A; Sat, 10 Feb 2018 13:47:27 -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-a101.g.dreamhost.com (Postfix) with ESMTPSA id 71BAF117E065; Sat, 10 Feb 2018 13:47:26 -0800 (PST) In-Reply-To: (Noam Postavsky's message of "Thu, 8 Feb 2018 18:00:39 -0500") 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:143112 Archived-At: >> What was the goal of this feature and where it is documented? > > `(emacs) Compilation' (and similar in etc/NEWS): > > While compilation proceeds, the mode line is updated to show the > number of errors, warnings, and informational messages that have been > seen so far. > > Perhaps it needs some adjustment for grep. > > Original report: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=25354 Yes, some adjustment is needed for grep. That reminded me about two unclosed feature requests: bug#13417 and bug#14017 that proposed to display these numbers also at the bottom of output buffers. But the showstopper was to decide on the final format of such messages. Although this looks good: Grep finished with 42 matches in 5 lines at Thu Jul 21 15:02:15 Than the mode-line will display two numbers: the number of matches and the number of matching lines (in green).