summaryrefslogtreecommitdiff
path: root/lisp/progmodes/compile.el
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2009-08-10 02:44:58 +0000
committerChong Yidong <cyd@stupidchicken.com>2009-08-10 02:44:58 +0000
commit6807d8ca512a3516df3e56e185204f2845bc121e (patch)
tree0db6466b9befeead70eeef9844640c89e87f6a6c /lisp/progmodes/compile.el
parent77437343067af467cab2c8925d2e86a769701feb (diff)
downloademacs-6807d8ca512a3516df3e56e185204f2845bc121e.tar.gz
Update comment (from Kevin Ryde).
Diffstat (limited to 'lisp/progmodes/compile.el')
-rw-r--r--lisp/progmodes/compile.el18
1 files changed, 13 insertions, 5 deletions
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el
index cad19b70674..6249f50cc9c 100644
--- a/lisp/progmodes/compile.el
+++ b/lisp/progmodes/compile.el
@@ -234,11 +234,19 @@ of[ \t]+\"?\\([a-zA-Z]?:?[^\":\n]+\\)\"?:" 3 2 nil (1))
(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