]> git.eshelyaron.com Git - emacs.git/commitdiff
New option `grep-highlight-matches'.
authorJuri Linkov <juri@jurta.org>
Thu, 2 Sep 2004 16:40:38 +0000 (16:40 +0000)
committerJuri Linkov <juri@jurta.org>
Thu, 2 Sep 2004 16:40:38 +0000 (16:40 +0000)
etc/NEWS
lisp/ChangeLog

index ec00bb58f4ff33797e9b692fb9be6291aa98ca21..5b5d897adf840a7972fa590acb38bb475d467c43 100644 (file)
--- 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
index e9f9e39ef727140ab9c244b908bb60302bf1140a..015fb9253c527d279541991d136b3cc9f83607eb 100644 (file)
@@ -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.