# HG changeset patch # User Juri Linkov # Date 1094143159 0 # Node ID 3171d2f5b945c230dca57975079a19a02e2c82c2 # Parent 69c4e722e542ee03c6864f964e5497e47543c268 New option `grep-highlight-matches'. diff -r 69c4e722e542 -r 3171d2f5b945 etc/NEWS --- 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