Commit e7eaabae authored by Dan Nicolaescu's avatar Dan Nicolaescu

(grep-regexp-alist): Match an optional ^[[K

that some versions of grep produce.
(grep-mode-font-lock-keywords): Likewise.
parent 41835686
2005-02-08 Dan Nicolaescu <dann@ics.uci.edu>
* progmodes/grep.el (grep-regexp-alist): Match an optional ^[[K
that some versions of grep produce.
(grep-mode-font-lock-keywords): Likewise.
2005-02-09 Nick Roberts <nickrob@snap.net.nz>
* progmodes/gdb-ui.el (gdb-location-list): New variable.
......
......@@ -253,7 +253,7 @@ Notice that using \\[next-error] or \\[compile-goto-error] modifies
'(("^\\(.+?\\)[: \t]+\
\\([0-9]+\\)\\([.:]?\\)\\([0-9]+\\)?\
\\(?:-\\(?:\\([0-9]+\\)\\3\\)?\\.?\\([0-9]+\\)?\\)?[: \t]" 1 (2 . 5) (4 . 6))
("^\\(.+?\\)[:(]+\\([0-9]+\\)\\([:)]\\).*?\\(\033\\[01;41m\\)\\(.*?\\)\\(\033\\[00m\\)"
("^\\(.+?\\)[:(]+\\([0-9]+\\)\\([:)]\\).*?\\(\033\\[01;41m\\)\\(.*?\\)\\(\033\\[00m\\(\033\\[K\\)?\\)"
1 2
;; Calculate column positions (beg . end) of first grep match on a line
((lambda ()
......@@ -293,7 +293,7 @@ Notice that using \\[next-error] or \\[compile-goto-error] modifies
(1 compilation-warning-face)
(2 compilation-line-face))
;; Highlight grep matches and delete markers
("\\(\033\\[01;41m\\)\\(.*?\\)\\(\033\\[00m\\)"
("\\(\033\\[01;41m\\)\\(.*?\\)\\(\033\\[00m\\(\033\\[K\\)?\\)"
(2 grep-match-face)
((lambda (p))
(progn
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment