[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How do I use compilation mode?
From: |
Óscar Fuentes |
Subject: |
Re: How do I use compilation mode? |
Date: |
Sun, 05 Feb 2012 16:20:30 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) |
Hello Alan.
Alan Mackenzie <address@hidden> writes:
> In particular, I pushed 'acm onto compilation-error-regexp-alist and
>
> ((acm "\\(cc-mode.acm\\) \\([0-9]+\\):\\[\\^[0-9]+-[0-9]+-[0-9?]+:[^]]*\\]:"
> 1 2 nil))
>
> onto compilation-error-regexp-alist.
That symbol `acm' there is wrong. The solution is simpler. For instance,
this is what I use for matching the diagnostics reported by my compiler:
(add-to-list 'compilation-error-regexp-alist
'("^\\(?:..\\[[ 0-9]+\\]+
\\)*\\([a-zA-Z0-9:\\/\\.-]+\.lp0\\)\(\\([0-9]+\\)\)"
1 2 nil))