aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog7
-rw-r--r--lisp/progmodes/compile.el35
2 files changed, 34 insertions, 8 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index f4ed60dc75e..99a3a0d04ec 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,10 @@
12006-06-02 Masatake YAMATO <jet@gyve.org>
2
3 * progmodes/compile.el (compilation-error-regexp-alist-alist::gcov-*):
4
5 Almost rewrite. Underlines over all lines of gcov output are too
6 uncomfortable to read. Suggested by Dan Nicolaescu.
7
12006-06-01 Luc Teirlinck <teirllm@auburn.edu> 82006-06-01 Luc Teirlinck <teirllm@auburn.edu>
2 9
3 * progmodes/inf-lisp.el (inferior-lisp-mode): Doc fixes. 10 * progmodes/inf-lisp.el (inferior-lisp-mode): Doc fixes.
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el
index 1649a2533ba..5da86972ec5 100644
--- a/lisp/progmodes/compile.el
+++ b/lisp/progmodes/compile.el
@@ -293,15 +293,34 @@ File = \\(.+\\), Line = \\([0-9]+\\)\\(?:, Column = \\([0-9]+\\)\\)?"
293\\(?:: \\(warning:\\)?\\|$\\| ),\\)" 1 2 nil (3)) 293\\(?:: \\(warning:\\)?\\|$\\| ),\\)" 1 2 nil (3))
294 294
295 (gcov-file 295 (gcov-file
296 "^ +-: \\(0\\):Source:\\(.+\\)$" 2 1 nil 0) 296 "^ *-: *\\(0\\):Source:\\(.+\\)$"
297 (gcov-bb-file 297 2 1 nil 0 nil
298 "^ +-: \\(0\\):Object:\\(?:.+\\)$" nil 1 nil 0) 298 (1 compilation-line-face prepend) (2 compilation-info-face prepend))
299 (gcov-never-called-line 299 (gcov-header
300 "^ +\\(#####\\): +\\([0-9]+\\):.+$" nil 2 nil 2 nil 300 "^ *-: *\\(0\\):\\(?:Object\\|Graph\\|Data\\|Runs\\|Programs\\):.+$"
301 (1 compilation-error-face)) 301 nil 1 nil 0 nil
302 (1 compilation-line-face prepend))
303 ;; Underlines over all lines of gcov output are too uncomfortable to read.
304 ;; However, hyperlinks embedded in the lines are useful.
305 ;; So I put default face on the lines; and then put
306 ;; compilation-*-face by manually to eliminate the underlines.
307 ;; The hyperlinks are still effective.
308 (gcov-nomark
309 "^ *-: *\\([1-9]\\|[0-9]\\{2,\\}\\):.*$"
310 nil 1 nil 0 nil
311 (0 'default t)
312 (1 compilation-line-face prepend))
302 (gcov-called-line 313 (gcov-called-line
303 "^ *[0-9]+: +\\([1-9]\\|[0-9]\\{2,\\}\\):.*$" nil 1 nil 0) 314 "^ *\\([0-9]+\\): *\\([0-9]+\\):.*$"
304) 315 nil 2 nil 0 nil
316 (0 'default t)
317 (1 compilation-info-face prepend) (2 compilation-line-face prepend))
318 (gcov-never-called
319 "^ *\\(#####\\): *\\([0-9]+\\):.*$"
320 nil 2 nil 2 nil
321 (0 'default t)
322 (1 compilation-error-face prepend) (2 compilation-line-face prepend))
323 )
305 "Alist of values for `compilation-error-regexp-alist'.") 324 "Alist of values for `compilation-error-regexp-alist'.")
306 325
307(defcustom compilation-error-regexp-alist 326(defcustom compilation-error-regexp-alist