Adding a regexp to recognise a certain error format
  Home FAQ Contact Sign in
gnu.emacs.help only
 
Advanced search
POPULAR GROUPS

more...

gnu.emacs.help Profile…
 Up
Adding a regexp to recognise a certain error format         


Author: Davin Pearson
Date: Sep 19, 2008 22:10

I want to press Enter on the following code in a *compilation-mode*
buffer:

*** ASSERTION FAILED AT (363/reflect.hh:
10)

(note that the above code should all be on one line) so that it causes
Emacs to visit 363/reflect.hh at line 10. I believe that I am
supposed to add to one of the following
alists:

compilation-error-regexp-alist-
alist
compilation-error-regexp-
alist

but I am unsure which and what do I add to recognise the above
regexp.
1 Comment
Re: Adding a regexp to recognise a certain error format         


Author: Kevin Rodgers
Date: Sep 22, 2008 05:45

Davin Pearson wrote:
> I want to press Enter on the following code in a *compilation-mode*
> buffer:
>
> *** ASSERTION FAILED AT (363/reflect.hh:
> 10)
>
> (note that the above code should all be on one line) so that it causes
> Emacs to visit 363/reflect.hh at line 10. I believe that I am
> supposed to add to one of the following
> alists:
>
> compilation-error-regexp-alist-
> alist
> compilation-error-regexp-
> alist
>
> but I am unsure which and what do I add to recognise the above
> regexp.
Show full article (0.61Kb)
no comments