GNU bug report logs - #30397
Random numbers in grep mode-line

Previous Next

Package: emacs;

Reported by: Juri Linkov <juri <at> linkov.net>

Date: Thu, 8 Feb 2018 21:39:02 UTC

Severity: minor

Tags: fixed

Fixed in version 26.1

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Juri Linkov <juri <at> linkov.net>
Cc: 30397 <at> debbugs.gnu.org
Subject: bug#30397: Random numbers in grep mode-line
Date: Fri, 09 Feb 2018 11:50:34 +0200
> From: Juri Linkov <juri <at> linkov.net>
> Date: Thu, 08 Feb 2018 23:32:51 +0200
> 
> What do these seemingly random numbers in the mode-line of the *grep*
> buffer mean?  I don't get any logic behind these colored numbers.
> They are neither the number of matches nor the number of matched lines.
> And why non-zero numbers are always highlighted in red as errors
> when there are no errors in the grep output?  What was the goal
> of this feature and where it is documented?

From NEWS:

  ** Compilation mode
  [...]
  *** The number of errors, warnings, and informational messages is now
  displayed in the mode line.  These are updated as compilation
  proceeds.

Also mentioned in the user manual, in "Compilation":

     While compilation proceeds, the mode line is updated to show the
  number of errors, warnings, and informational messages that have been
  seen so far.

I've now added a similar text in "Grep".

Maybe we should modify the display for Grep, e.g. show only one
number, and use a distinct face that doesn't display as red by
default.




This bug report was last modified 7 years and 154 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.