From: Chong Yidong Date: Fri, 15 Sep 2006 15:37:58 +0000 (+0000) Subject: * progmodes/compile.el (compilation-error-regexp-alist-alist): X-Git-Tag: emacs-pretest-22.0.90~542 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d25593b77e1dfd3d18e3201d9e2bc587bcdec511;p=emacs.git * progmodes/compile.el (compilation-error-regexp-alist-alist): Disallow filenames containing " -" to avoid confusion with libtool compilation messages. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index e1d51646046..e64d501c5b8 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,9 @@ +2006-09-15 Chong Yidong + + * 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 * mouse-sel.el (mouse-sel-follow-link-p): Use event position diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index f4dd0fb5597..e6a6a8ed9c5 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el @@ -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:\\)\\|\