Mercurial > emacs
comparison lisp/progmodes/compile.el @ 104226:e312dc3a4650
Update comment (from Kevin Ryde).
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Mon, 10 Aug 2009 02:44:58 +0000 |
parents | bb5ce7283e84 |
children | 9caaade61f03 |
comparison
equal
deleted
inserted
replaced
104225:2b13858c8a2f | 104226:e312dc3a4650 |
---|---|
232 "^ *\\([0-9]+\\)\\.[ \t]+.*\n +\\(<-*>\n\\*\\*\\* \\(?:Error\\|Warnin\\(g\\)\\)\\)" | 232 "^ *\\([0-9]+\\)\\.[ \t]+.*\n +\\(<-*>\n\\*\\*\\* \\(?:Error\\|Warnin\\(g\\)\\)\\)" |
233 nil 1 nil 2 0 | 233 nil 1 nil 2 0 |
234 (2 (compilation-face '(3)))) | 234 (2 (compilation-face '(3)))) |
235 | 235 |
236 (gnu | 236 (gnu |
237 ;; I have no idea what this first line is supposed to match, but it | 237 ;; The first line matches the program name for |
238 ;; makes things ambiguous with output such as "foo:344:50:blabla" since | 238 |
239 ;; the "foo" part can match this first line (in which case the file | 239 ;; PROGRAM:SOURCE-FILE-NAME:LINENO: MESSAGE |
240 ;; name as "344"). To avoid this, the second line disallows filenames | 240 |
241 ;; exclusively composed of digits. --Stef | 241 ;; format, which is used for non-interactive programs other than |
242 ;; compilers (e.g. the "jade:" entry in compilation.txt). | |
243 | |
244 ;; This first line makes things ambiguous with output such as | |
245 ;; "foo:344:50:blabla" since the "foo" part can match this first | |
246 ;; line (in which case the file name as "344"). To avoid this, | |
247 ;; the second line disallows filenames exclusively composed of | |
248 ;; digits. | |
249 | |
242 ;; Similarly, we get lots of false positives with messages including | 250 ;; Similarly, we get lots of false positives with messages including |
243 ;; times of the form "HH:MM:SS" where MM is taken as a line number, so | 251 ;; times of the form "HH:MM:SS" where MM is taken as a line number, so |
244 ;; the last line tries to rule out message where the info after the | 252 ;; the last line tries to rule out message where the info after the |
245 ;; line number starts with "SS". --Stef | 253 ;; line number starts with "SS". --Stef |
246 | 254 |