changeset 56885:3171d2f5b945

New option `grep-highlight-matches'.
author Juri Linkov <juri@jurta.org>
date Thu, 02 Sep 2004 16:39:19 +0000
parents 69c4e722e542
children 2d8aa6e59b6b
files etc/NEWS
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/etc/NEWS	Thu Sep 02 16:37:22 2004 +0000
+++ b/etc/NEWS	Thu Sep 02 16:39:19 2004 +0000
@@ -1878,7 +1878,12 @@
 `grep-scroll-output' can be used to override the corresponding
 compilation mode settings for grep commands.
 
-*** Source line is temporarily highlighted when going to next match.
+*** New option `grep-highlight-matches' highlightes matches in *grep*
+buffer.  It uses a special feature of some grep programs which accept
+--color option to output markers around matches.  When going to the next
+match with `next-error' the exact match is highlighted in the source
+buffer.  Otherwise, if `grep-highlight-matches' is nil, the whole
+source line is highlighted.
 
 *** New key bindings in grep output window:
 SPC and DEL scrolls window up and down.  C-n and C-p moves to next and