changeset 72894:26df5bbb5d61

* progmodes/compile.el (compilation-error-regexp-alist-alist): Disallow filenames containing " -" to avoid confusion with libtool compilation messages.
author Chong Yidong <cyd@stupidchicken.com>
date Fri, 15 Sep 2006 15:37:36 +0000
parents 6f52b959d9a8
children 725b0bfb3ed6
files lisp/ChangeLog lisp/progmodes/compile.el
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Fri Sep 15 14:26:04 2006 +0000
+++ b/lisp/ChangeLog	Fri Sep 15 15:37:36 2006 +0000
@@ -1,3 +1,9 @@
+2006-09-15  Chong Yidong  <cyd@stupidchicken.com>
+
+	* progmodes/compile.el (compilation-error-regexp-alist-alist):
+	Disallow filenames containing " -" to avoid confusion with libtool
+	compilation messages.
+
 2006-09-15  David Kastrup  <dak@gnu.org>
 
 	* mouse-sel.el (mouse-sel-follow-link-p): Use event position
--- a/lisp/progmodes/compile.el	Fri Sep 15 14:26:04 2006 +0000
+++ b/lisp/progmodes/compile.el	Fri Sep 15 15:37:36 2006 +0000
@@ -229,7 +229,7 @@
      ;; the last line tries to rule out message where the info after the
      ;; line number starts with "SS".  --Stef
      "^\\(?:[[:alpha:]][-[:alnum:].]+: ?\\)?\
-\\([0-9]*[^0-9\n].*?\\): ?\
+\\([0-9]*[^0-9\n]\\(?:[^\n ]\\| [^-\n]\\)*?\\): ?\
 \\([0-9]+\\)\\(?:\\([.:]\\)\\([0-9]+\\)\\)?\
 \\(?:-\\([0-9]+\\)?\\(?:\\3\\([0-9]+\\)\\)?\\)?:\
 \\(?: *\\(\\(?:Future\\|Runtime\\)?[Ww]arning\\|W:\\)\\|\