comparison lisp/progmodes/flymake.el @ 57696:fbcb259c5936

* progmodes/flymake.el (flymake-split-string): Use `flymake-split-string-remove-empty-edges' in any case. * progmodes/flymake.el (flymake-err-line-patterns): Use `compilation-error-regexp-alist-alist' instead of `compilation-error-regexp-alist'.
author Masatake YAMATO <jet@gyve.org>
date Mon, 25 Oct 2004 16:58:46 +0000
parents 26e0724718e2
children 4bac9c04ed9e
comparison
equal deleted inserted replaced
57695:e29c77181435 57696:fbcb259c5936
92 ) 92 )
93 ) 93 )
94 (defun flymake-split-string(str pattern) 94 (defun flymake-split-string(str pattern)
95 (cond 95 (cond
96 ((equal flymake-emacs 'xemacs) (flymake-split-string-remove-empty-edges str pattern)) 96 ((equal flymake-emacs 'xemacs) (flymake-split-string-remove-empty-edges str pattern))
97 (t (split-string str pattern)) 97 (t (flymake-split-string-remove-empty-edges str pattern))
98 ) 98 )
99 ) 99 )
100 100
101 (defun flymake-get-temp-dir() 101 (defun flymake-get-temp-dir()
102 (cond 102 (cond
1241 ; LaTeX warnings (fileless) ("\\(LaTeX \\(Warning\\|Error\\): .*\\) on input line \\([0-9]+\\)" 20 3 nil 1) 1241 ; LaTeX warnings (fileless) ("\\(LaTeX \\(Warning\\|Error\\): .*\\) on input line \\([0-9]+\\)" 20 3 nil 1)
1242 ; ant/javac 1242 ; ant/javac
1243 (" *\\(\\[javac\\]\\)? *\\(\\([a-zA-Z]:\\)?[^:(\t\n]+\\)\:\\([0-9]+\\)\:[ \t\n]*\\(.+\\)" 1243 (" *\\(\\[javac\\]\\)? *\\(\\([a-zA-Z]:\\)?[^:(\t\n]+\\)\:\\([0-9]+\\)\:[ \t\n]*\\(.+\\)"
1244 2 4 nil 5) 1244 2 4 nil 5)
1245 ) 1245 )
1246 compilation-error-regexp-alist) 1246 ;; compilation-error-regexp-alist)
1247 (mapcar (lambda (x) (cdr x)) compilation-error-regexp-alist-alist))
1247 "patterns for matching error/warning lines, (regexp file-idx line-idx err-text-idx)" 1248 "patterns for matching error/warning lines, (regexp file-idx line-idx err-text-idx)"
1248 ) 1249 )
1249 ;(defcustom flymake-err-line-patterns 1250 ;(defcustom flymake-err-line-patterns
1250 ; '( 1251 ; '(
1251 ; ; MS Visual C++ 6.0 1252 ; ; MS Visual C++ 6.0