[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#30397: Random numbers in grep mode-line

From: Juri Linkov
Subject: bug#30397: Random numbers in grep mode-line
Date: Sat, 10 Feb 2018 23:32:44 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu)

>> 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).

reply via email to

[Prev in Thread] Current Thread [Next in Thread]