# HG changeset patch # User Chong Yidong # Date 1249872298 0 # Node ID e312dc3a46507e8150de37d235e250481517e0e6 # Parent 2b13858c8a2f2282b723a88c2ff70bab40cb4b92 Update comment (from Kevin Ryde). diff -r 2b13858c8a2f -r e312dc3a4650 lisp/progmodes/compile.el --- a/lisp/progmodes/compile.el Mon Aug 10 00:57:48 2009 +0000 +++ b/lisp/progmodes/compile.el Mon Aug 10 02:44:58 2009 +0000 @@ -234,11 +234,19 @@ (2 (compilation-face '(3)))) (gnu - ;; I have no idea what this first line is supposed to match, but it - ;; makes things ambiguous with output such as "foo:344:50:blabla" since - ;; the "foo" part can match this first line (in which case the file - ;; name as "344"). To avoid this, the second line disallows filenames - ;; exclusively composed of digits. --Stef + ;; The first line matches the program name for + + ;; PROGRAM:SOURCE-FILE-NAME:LINENO: MESSAGE + + ;; format, which is used for non-interactive programs other than + ;; compilers (e.g. the "jade:" entry in compilation.txt). + + ;; This first line makes things ambiguous with output such as + ;; "foo:344:50:blabla" since the "foo" part can match this first + ;; line (in which case the file name as "344"). To avoid this, + ;; the second line disallows filenames exclusively composed of + ;; digits. + ;; Similarly, we get lots of false positives with messages including ;; times of the form "HH:MM:SS" where MM is taken as a line number, so ;; the last line tries to rule out message where the info after the