[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: matching different line number format in grep-mode
From: |
Jim Newton |
Subject: |
Re: matching different line number format in grep-mode |
Date: |
Wed, 27 Jun 2012 01:31:37 -0700 (PDT) |
User-agent: |
G2/1.0 |
Thanks Stephan, this is on the right track.
can you show me how to do this with define-compilation-mode?
Jim
On Monday, June 25, 2012 6:04:57 PM UTC+2, Stefan Monnier wrote:
> > I have an application which prints line number information not in the
> > standard grep format but as follows.
>
> > at line 302 in file /full/path/to/file.ext
>
> > Is there something I can do to the variable
> > compilation-error-regexp-alist-alist
> > which will cause grep-mode to also find these lines?
>
> Does it have to be grep-mode? If you can use compilation-mode, than
> adding the relevant regexp to compilation-error-regexp-alist should
> be sufficient. Otherwise you might want to use define-compilation-mode.