[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Compile Error Regex Problems
From: |
gamename |
Subject: |
Compile Error Regex Problems |
Date: |
Sun, 2 Dec 2007 10:31:31 -0800 (PST) |
User-agent: |
G2/1.0 |
Hi Guys,
Got a strange problem with a regex for compile mode. On the initial
compile it doesn't work (i.e. doesn't highlight lines), but on the
*re*compile, it works fine (lines are highlighted).
Here is the code in my .emacs:
(require 'compile)
(setq compilation-search-path
'("./"
"../../"))
(add-to-list 'compilation-error-regexp-alist
'("^ +[0-9]+\. \\([^ :]+\\):\\([0-9]+\\) +" 1 2))
(defun fdeunit (command)
"fdeunit test run"
(interactive (list (read-file-name "FDEUnit (with args): "
(buffer-file-name))))
(compile-internal (concat "fdeunit " command)
"finished" "FDEUnit Test" nil grep-regexp-alist))
Any ideas?
-T
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Compile Error Regex Problems,
gamename <=