all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Juri Linkov <juri@linkov.net>
Cc: 30397@debbugs.gnu.org
Subject: bug#30397: Random numbers in grep mode-line
Date: Fri, 09 Feb 2018 11:50:34 +0200	[thread overview]
Message-ID: <83fu6a4hlh.fsf@gnu.org> (raw)
In-Reply-To: <87tvurtbek.fsf@mail.linkov.net> (message from Juri Linkov on Thu, 08 Feb 2018 23:32:51 +0200)

> From: Juri Linkov <juri@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.





  parent reply	other threads:[~2018-02-09  9:50 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-08 21:32 bug#30397: Random numbers in grep mode-line Juri Linkov
2018-02-08 21:48 ` Drew Adams
2018-02-09  9:51   ` Eli Zaretskii
2018-02-08 23:00 ` Noam Postavsky
2018-02-10 21:32   ` Juri Linkov
2018-02-10 22:01     ` Drew Adams
2018-02-11 21:40       ` Juri Linkov
2018-02-12  4:54         ` Drew Adams
2018-02-12 15:47         ` Eli Zaretskii
2018-02-12 21:39           ` Juri Linkov
2018-02-11 20:45     ` Richard Stallman
2018-02-12 16:34       ` Eli Zaretskii
2018-02-09  9:50 ` Eli Zaretskii [this message]
     [not found] <<87tvurtbek.fsf@mail.linkov.net>
     [not found] ` <<702f1621-529b-47b0-a15d-898a2fd81f79@default>
     [not found]   ` <<83eflu4hjx.fsf@gnu.org>
2018-02-09 15:27     ` Drew Adams
2018-02-09 15:35       ` Eli Zaretskii
     [not found] ` <<83fu6a4hlh.fsf@gnu.org>
2018-02-09 15:43   ` Drew Adams
     [not found] <<<87tvurtbek.fsf@mail.linkov.net>
     [not found] ` <<<702f1621-529b-47b0-a15d-898a2fd81f79@default>
     [not found]   ` <<<83eflu4hjx.fsf@gnu.org>
     [not found]     ` <<3e9d0fd8-b859-4eec-8f34-54185dd6c0f3@default>
     [not found]       ` <<83zi4i2n2o.fsf@gnu.org>
2018-02-09 15:59         ` Drew Adams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83fu6a4hlh.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=30397@debbugs.gnu.org \
    --cc=juri@linkov.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.