From: Andreas O. <oe...@oe...> - 2003-05-06 20:14:12
|
Hi Arnaud, On Tue, 6 May 2003, Arnaud Desitter wrote: > ;; Currently this regexp only matches the first error. > ;; Thanks to Hans Petter Jansson <hp...@xi...> for his regexp wisdom. > (setq compilation-error-regexp-alist > (append compilation-error-regexp-alist > '(("^==[0-9]+==[^(]+\(\\([^:]+\\):\\([0-9]+\\)" > 1 2)))) thanks a lot! This works nicely when called from the compilation-mode-hook, and despite the comment it works for all lines matching the RE, not just the first one. Regards, --Andreas |