# HG changeset patch # User Chong Yidong # Date 1278791279 14400 # Node ID 2749a14ed3255f0dda1f721199826ecb240e51cd # Parent c17b03e52a4aa7e64f009cfe679848bd5424cc7c Add compilation regexps for cucumber and ruby. * lisp/progmodes/compile.el (compilation-error-regexp-alist-alist): Add regexps for cucumber and ruby. diff -r c17b03e52a4a -r 2749a14ed325 lisp/ChangeLog --- a/lisp/ChangeLog Sat Jul 10 15:01:01 2010 -0400 +++ b/lisp/ChangeLog Sat Jul 10 15:47:59 2010 -0400 @@ -1,3 +1,8 @@ +2010-07-10 Aleksei Gusev (tiny change) + + * progmodes/compile.el (compilation-error-regexp-alist-alist): Add + regexps for cucumber and ruby. + 2010-07-08 Daiki Ueno * epa-file.el (epa-file-error, epa-file--find-file-not-found-function) diff -r c17b03e52a4a -r 2749a14ed325 lisp/emacs-lisp/cl-loaddefs.el --- a/lisp/emacs-lisp/cl-loaddefs.el Sat Jul 10 15:01:01 2010 -0400 +++ b/lisp/emacs-lisp/cl-loaddefs.el Sat Jul 10 15:47:59 2010 -0400 @@ -282,7 +282,7 @@ ;;;;;; flet progv psetq do-all-symbols do-symbols dotimes dolist ;;;;;; do* do loop return-from return block etypecase typecase ecase ;;;;;; case load-time-value eval-when destructuring-bind function* -;;;;;; defmacro* defun* gentemp gensym) "cl-macs" "cl-macs.el" "49b7d96626dd8ba5d39551909edbd4c7") +;;;;;; defmacro* defun* gentemp gensym) "cl-macs" "cl-macs.el" "36cafd5054969b5bb0b1ce6a21605fed") ;;; Generated autoloads from cl-macs.el (autoload 'gensym "cl-macs" "\ diff -r c17b03e52a4a -r 2749a14ed325 lisp/progmodes/compile.el --- a/lisp/progmodes/compile.el Sat Jul 10 15:01:01 2010 -0400 +++ b/lisp/progmodes/compile.el Sat Jul 10 15:47:59 2010 -0400 @@ -196,6 +196,10 @@ "^\"\\([^,\" \n\t]+\\)\", line \\([0-9]+\\)\ \\(?:[(. pos]+\\([0-9]+\\))?\\)?[:.,; (-]\\( warning:\\|[-0-9 ]*(W)\\)?" 1 2 3 (4)) + (cucumber + "\\(?:^cucumber\\(?: -p [^[:space:]]+\\)?\\|#\\)\ +\\(?: \\)\\([^\(].*\\):\\([1-9][0-9]*\\)" 1 2) + (edg-1 "^\\([^ \n]+\\)(\\([0-9]+\\)): \\(?:error\\|warnin\\(g\\)\\|remar\\(k\\)\\)" 1 2 nil (3 . 4)) @@ -325,6 +329,13 @@ "\\(?:Parse\\|Fatal\\) error: \\(.*\\) in \\(.*\\) on line \\([0-9]+\\)" 2 3 nil nil) + (ruby + "^[\t ]*\\(?:from \\)?\ +\\([^\(\n][^[:space:]\n]*\\):\\([1-9][0-9]*\\)\\(:in `.*'\\)?.*$" 1 2) + + (ruby-Test::Unit + "[\t ]*\\[\\([^\(].*\\):\\([1-9][0-9]*\\)\\(\\]\\)?:$" 1 2) + (rxp "^\\(?:Error\\|Warnin\\(g\\)\\):.*\n.* line \\([0-9]+\\) char\ \\([0-9]+\\) of file://\\(.+\\)" @@ -2083,7 +2094,7 @@ pre-existing (let ((display-buffer-reuse-frames t) (pop-up-windows t)) - ;; Pop up a window. + ;; Pop up a window. (display-buffer (marker-buffer msg))))) (highlight-regexp (with-current-buffer (marker-buffer msg) ;; also do this while we change buffer