diff options
| author | Juri Linkov | 2004-09-02 16:40:38 +0000 |
|---|---|---|
| committer | Juri Linkov | 2004-09-02 16:40:38 +0000 |
| commit | f02069102bdac8ff32609518de0d48c0861cad0c (patch) | |
| tree | 215867f1a6bc1a8c4e1c0953cc16a14c23f0a99e | |
| parent | cc3064a5e99d3aa5bebb1713a1a275e67c0c33c1 (diff) | |
| download | emacs-f02069102bdac8ff32609518de0d48c0861cad0c.tar.gz emacs-f02069102bdac8ff32609518de0d48c0861cad0c.zip | |
New option `grep-highlight-matches'.
| -rw-r--r-- | etc/NEWS | 7 | ||||
| -rw-r--r-- | lisp/ChangeLog | 17 |
2 files changed, 23 insertions, 1 deletions
| @@ -1878,7 +1878,12 @@ in new face `next-error'. | |||
| 1878 | `grep-scroll-output' can be used to override the corresponding | 1878 | `grep-scroll-output' can be used to override the corresponding |
| 1879 | compilation mode settings for grep commands. | 1879 | compilation mode settings for grep commands. |
| 1880 | 1880 | ||
| 1881 | *** Source line is temporarily highlighted when going to next match. | 1881 | *** New option `grep-highlight-matches' highlightes matches in *grep* |
| 1882 | buffer. It uses a special feature of some grep programs which accept | ||
| 1883 | --color option to output markers around matches. When going to the next | ||
| 1884 | match with `next-error' the exact match is highlighted in the source | ||
| 1885 | buffer. Otherwise, if `grep-highlight-matches' is nil, the whole | ||
| 1886 | source line is highlighted. | ||
| 1882 | 1887 | ||
| 1883 | *** New key bindings in grep output window: | 1888 | *** New key bindings in grep output window: |
| 1884 | SPC and DEL scrolls window up and down. C-n and C-p moves to next and | 1889 | 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 @@ | |||
| 7 | recent compilation directory only when `recompile' is invoked NOT | 7 | recent compilation directory only when `recompile' is invoked NOT |
| 8 | in the compilation buffer. Otherwise, use `default-directory' of | 8 | in the compilation buffer. Otherwise, use `default-directory' of |
| 9 | the compilation buffer. | 9 | the compilation buffer. |
| 10 | (compilation-error-properties): Allow to funcall col and end-col. | ||
| 11 | (compilation-mode-font-lock-keywords): Check col and end-col by | ||
| 12 | `integerp'. | ||
| 13 | (compilation-goto-locus): If end-mk is non-nil in transient mark | ||
| 14 | mode don't activate the mark (and don't display message in | ||
| 15 | push-mark), but highlight overlay between mk and end-mk. | ||
| 16 | |||
| 17 | * progmodes/grep.el (grep-highlight-matches): New defcustom. | ||
| 18 | (grep-regexp-alist): Add rule to highlight grep matches. | ||
| 19 | (grep-process-setup): Set env-vars GREP_OPTIONS and GREP_COLOR. | ||
| 20 | |||
| 21 | * info.el (Info-fontify-node): Don't compute other-tag | ||
| 22 | if Info-hide-note-references=hide. | ||
| 23 | |||
| 24 | * help.el (function-called-at-point): | ||
| 25 | * help-fns.el (variable-at-point): | ||
| 26 | Try `find-tag-default' when other methods failed. | ||
| 10 | 27 | ||
| 11 | * emacs-lisp/lisp.el (beginning-of-defun, end-of-defun): | 28 | * emacs-lisp/lisp.el (beginning-of-defun, end-of-defun): |
| 12 | Do not push mark if inhibit-mark-movement is non-nil. | 29 | Do not push mark if inhibit-mark-movement is non-nil. |