emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How do I use compilation mode?


From: Alan Mackenzie
Subject: Re: How do I use compilation mode?
Date: Sun, 5 Feb 2012 17:53:42 +0000
User-agent: Mutt/1.5.21 (2010-09-15)

Hello, Óscar/

On Sun, Feb 05, 2012 at 04:20:30PM +0100, Óscar Fuentes wrote:
> 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))

That worked like a dream.  Thanks!

-- 
Alan Mackenzie (Nuremberg, Germany).



reply via email to

[Prev in Thread] Current Thread [Next in Thread]