[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
flymake's regexp
From: |
Masatake YAMATO |
Subject: |
flymake's regexp |
Date: |
Sat, 23 Oct 2004 16:56:03 +0900 (JST) |
Hi,
I've tried flymake in CVS version of GNU Emacs.
It may be interesting but it doesn't work.
It seems that the format of compilation-error-regexp-alist is changed.
I guess flymake-err-line-patterns should use
compilation-error-regexp-alist-alist
instead.
*** Welcome to IELM *** Type (describe-mode) for help.
ELISP> compilation-error-regexp-alist
(absoft ada aix ant bash borland caml comma edg-1 edg-2 epc iar ...
ELISP> compilation-error-regexp-alist-alist
((absoft "^\\(?:[Ee]rror on \\|[Ww]arning on\\( \\)\\)?[Ll]ine[ ...
p.s. I'm looking for the way to use flymake with a Makefile generated
from automake without adding check-syntax target to the Makefile.
Regareds,
Masatake YAMATO
2004-10-23 Masatake YAMATO <address@hidden>
* progmodes/flymake.el (flymake-err-line-patterns): Use
`compilation-error-regexp-alist-alist' instead of
compilation-error-regexp-alist.
Index: lisp/progmodes/flymake.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/progmodes/flymake.el,v
retrieving revision 1.2
diff -u -r1.2 flymake.el
--- lisp/progmodes/flymake.el 29 May 2004 21:02:20 -0000 1.2
+++ lisp/progmodes/flymake.el 23 Oct 2004 07:50:54 -0000
@@ -1243,7 +1243,7 @@
(" *\\(\\[javac\\]\\)?
*\\(\\([a-zA-Z]:\\)?[^:(\t\n]+\\)\:\\([0-9]+\\)\:[ \t\n]*\\(.+\\)"
2 4 nil 5)
)
- compilation-error-regexp-alist)
+ (mapcar (lambda (x) (cdr x)) compilation-error-regexp-alist-alist)))
"patterns for matching error/warning lines, (regexp file-idx line-idx
err-text-idx)"
)
;(defcustom flymake-err-line-patterns
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- flymake's regexp,
Masatake YAMATO <=