From: Juri Linkov Date: Thu, 2 Sep 2004 16:40:38 +0000 (+0000) Subject: New option `grep-highlight-matches'. X-Git-Tag: ttn-vms-21-2-B4~5101 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f02069102bdac8ff32609518de0d48c0861cad0c;p=emacs.git New option `grep-highlight-matches'. --- diff --git a/etc/NEWS b/etc/NEWS index ec00bb58f4f..5b5d897adf8 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -1878,7 +1878,12 @@ in new face `next-error'. `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 diff --git a/lisp/ChangeLog b/lisp/ChangeLog index e9f9e39ef72..015fb9253c5 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -7,6 +7,23 @@ recent compilation directory only when `recompile' is invoked NOT in the compilation buffer. Otherwise, use `default-directory' of the compilation buffer. + (compilation-error-properties): Allow to funcall col and end-col. + (compilation-mode-font-lock-keywords): Check col and end-col by + `integerp'. + (compilation-goto-locus): If end-mk is non-nil in transient mark + mode don't activate the mark (and don't display message in + push-mark), but highlight overlay between mk and end-mk. + + * progmodes/grep.el (grep-highlight-matches): New defcustom. + (grep-regexp-alist): Add rule to highlight grep matches. + (grep-process-setup): Set env-vars GREP_OPTIONS and GREP_COLOR. + + * info.el (Info-fontify-node): Don't compute other-tag + if Info-hide-note-references=hide. + + * help.el (function-called-at-point): + * help-fns.el (variable-at-point): + Try `find-tag-default' when other methods failed. * emacs-lisp/lisp.el (beginning-of-defun, end-of-defun): Do not push mark if inhibit-mark-movement is non-nil.