]> code.delx.au - gnu-emacs/commitdiff
* progmodes/compile.el (compilation-error-regexp-alist-alist):
authorChong Yidong <cyd@stupidchicken.com>
Fri, 15 Sep 2006 15:37:58 +0000 (15:37 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Fri, 15 Sep 2006 15:37:58 +0000 (15:37 +0000)
Disallow filenames containing " -" to avoid confusion with libtool
compilation messages.

lisp/ChangeLog
lisp/progmodes/compile.el

index e1d51646046da8bbb046d647c451eabba913ed4e..e64d501c5b8c14a606d1e49e72b8ffb1b139268a 100644 (file)
@@ -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.  Suggested by Stefan Monnier.
+
 2006-09-15  David Kastrup  <dak@gnu.org>
 
        * mouse-sel.el (mouse-sel-follow-link-p): Use event position
index f4dd0fb5597b95785a2196f7ca10edea20c80c55..e6a6a8ed9c5087c86d169b1e8375e21d3fb78042 100644 (file)
@@ -229,7 +229,7 @@ of[ \t]+\"?\\([a-zA-Z]?:?[^\":\n]+\\)\"?:" 3 2 nil (1))
      ;; 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:\\)\\|\