From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#30397: Random numbers in grep mode-line Date: Sat, 10 Feb 2018 14:01:38 -0800 (PST) Message-ID: References: <87tvurtbek.fsf@mail.linkov.net> <87zi4gpm2r.fsf@mail.linkov.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1518300045 5398 195.159.176.226 (10 Feb 2018 22:00:45 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 10 Feb 2018 22:00:45 +0000 (UTC) Cc: 30397@debbugs.gnu.org To: Juri Linkov , Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 10 23:00:41 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 1ekdBr-0007q2-Qo for geb-bug-gnu-emacs@m.gmane.org; Sat, 10 Feb 2018 23:00:12 +0100 Original-Received: from localhost ([::1]:39462 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekdDr-0005DY-Be for geb-bug-gnu-emacs@m.gmane.org; Sat, 10 Feb 2018 17:02:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40087) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekdDi-0005CC-Ju for bug-gnu-emacs@gnu.org; Sat, 10 Feb 2018 17:02:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ekdDf-0002P3-4L for bug-gnu-emacs@gnu.org; Sat, 10 Feb 2018 17:02:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:57654) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ekdDf-0002Oi-0l for bug-gnu-emacs@gnu.org; Sat, 10 Feb 2018 17:02:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ekdDe-0005Al-DY for bug-gnu-emacs@gnu.org; Sat, 10 Feb 2018 17:02:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 10 Feb 2018 22:02:02 +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.151830010819862 (code B ref 30397); Sat, 10 Feb 2018 22:02:02 +0000 Original-Received: (at 30397) by debbugs.gnu.org; 10 Feb 2018 22:01:48 +0000 Original-Received: from localhost ([127.0.0.1]:37318 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ekdDQ-0005AH-JX for submit@debbugs.gnu.org; Sat, 10 Feb 2018 17:01:48 -0500 Original-Received: from userp2130.oracle.com ([156.151.31.86]:59542) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ekdDP-0005A5-Ci for 30397@debbugs.gnu.org; Sat, 10 Feb 2018 17:01:47 -0500 Original-Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w1AM1f37140407; Sat, 10 Feb 2018 22:01:41 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2017-10-26; bh=JVxpiQF3jzJEEJHWbx/5LyunJ3EPYLbHmmsZAHm/MEk=; b=LGvOusjaZZm9J29OjPUmWumdCk9F00BM1S5eJlFWd0DU8UWyMvmnf/JH+THI2rn5AM0K opkvf9+V0p0cLA1KiaGnBrE7DvY4zm7EzMV79RJJHwlojTJwvn3pJAIi9/GbmSjlbDs1 43QQFD+Mde34fra25W11s05EftSrGzjyI3Hp6lg9cQixavKl2OLbZTCxiDOJ0rZ+t/kN h5f8EC5zL/F0zQjXwJoF/Jx6MFndEV0oZ0EDuBsqx3ltHFc5OGgFikfqeZAHfxc3Qs4a idfkZQQ3puaSB2OpHHO2+bUfj9NrvFdHFIz3Xs+HYc+oF2Go1hYGehJvFUhX4vI+1TgB Kw== Original-Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by userp2130.oracle.com with ESMTP id 2g28dnr1fb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 10 Feb 2018 22:01:41 +0000 Original-Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w1AM1emC028398 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Sat, 10 Feb 2018 22:01:40 GMT Original-Received: from abhmp0009.oracle.com (abhmp0009.oracle.com [141.146.116.15]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w1AM1eGo026713; Sat, 10 Feb 2018 22:01:40 GMT In-Reply-To: <87zi4gpm2r.fsf@mail.linkov.net> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4639.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8801 signatures=668668 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=638 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1802100291 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:143114 Archived-At: > 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: >=20 > Grep finished with 42 matches in 5 lines at Thu Jul 21 15:02:15 >=20 > Than the mode-line will display two numbers: the number of matches > and the number of matching lines (in green). Is the total number of lines (in the search space) also available? If so, would that be useful? Maybe something like this? Grep finished at Thu Jul 21 15:02:15 - 42 matches in 5/113 lines=20 ^^^^