[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/progmodes/grep.el
From: |
Richard M . Stallman |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/progmodes/grep.el |
Date: |
Sat, 23 Jul 2005 18:13:55 -0400 |
Index: emacs/lisp/progmodes/grep.el
diff -c emacs/lisp/progmodes/grep.el:1.39 emacs/lisp/progmodes/grep.el:1.40
*** emacs/lisp/progmodes/grep.el:1.39 Tue Jul 19 14:21:23 2005
--- emacs/lisp/progmodes/grep.el Sat Jul 23 22:13:54 2005
***************
*** 277,283 ****
(defvar grep-hit-face compilation-info-face
"Face name to use for grep hits.")
! (defvar grep-error-face compilation-error-face
"Face name to use for grep error messages.")
(defvar grep-match-face 'match
--- 277,284 ----
(defvar grep-hit-face compilation-info-face
"Face name to use for grep hits.")
! ;; compilation-error-face is wrong for this; it's designed to look like a
link.
! (defvar grep-error-face font-lock-keyword-face
"Face name to use for grep error messages.")
(defvar grep-match-face 'match
***************
*** 291,302 ****
;; remove match from grep-regexp-alist before fontifying
("^Grep finished \\(?:(\\(matches found\\))\\|with \\(no matches
found\\)\\).*"
(0 '(face nil message nil help-echo nil mouse-face nil) t)
! (1 grep-hit-face nil t)
! (2 grep-error-face nil t))
("^Grep \\(exited abnormally\\) with code \\([0-9]+\\).*"
(0 '(face nil message nil help-echo nil mouse-face nil) t)
! (1 compilation-warning-face)
! (2 compilation-line-face))
;; Highlight grep matches and delete markers
("\\(\033\\[01;31m\\)\\(.*?\\)\\(\033\\[[0-9]*m\\)"
;; Refontification does not work after the markers have been
--- 292,303 ----
;; remove match from grep-regexp-alist before fontifying
("^Grep finished \\(?:(\\(matches found\\))\\|with \\(no matches
found\\)\\).*"
(0 '(face nil message nil help-echo nil mouse-face nil) t)
! (1 font-lock-keyword-face nil t)
! (2 font-lock-keyword-face nil t))
("^Grep \\(exited abnormally\\) with code \\([0-9]+\\).*"
(0 '(face nil message nil help-echo nil mouse-face nil) t)
! (1 grep-error-face)
! (2 grep-error-face))
;; Highlight grep matches and delete markers
("\\(\033\\[01;31m\\)\\(.*?\\)\\(\033\\[[0-9]*m\\)"
;; Refontification does not work after the markers have been