diff options
| author | Masatake YAMATO | 2006-06-02 02:38:53 +0000 |
|---|---|---|
| committer | Masatake YAMATO | 2006-06-02 02:38:53 +0000 |
| commit | eb3d96092ad3fc6b8a29e5f58dafa89338ba2b58 (patch) | |
| tree | 35a2d2f3ca6bb7673a67f83bbe02f8a9fe28fd1a | |
| parent | 55f626914e8e48e68673c4082a932b4c431f4c0d (diff) | |
| download | emacs-eb3d96092ad3fc6b8a29e5f58dafa89338ba2b58.tar.gz emacs-eb3d96092ad3fc6b8a29e5f58dafa89338ba2b58.zip | |
(compilation-error-regexp-alist-alist::gcov-*): Almost rewrite. Underlines over all lines of gcov output are too uncomfortable to read.
| -rw-r--r-- | lisp/ChangeLog | 7 | ||||
| -rw-r--r-- | lisp/progmodes/compile.el | 35 |
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 @@ | |||
| 1 | 2006-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 | |||
| 1 | 2006-06-01 Luc Teirlinck <teirllm@auburn.edu> | 8 | 2006-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 |