help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: compilation-error-regexp-alist syntax problems


From: Stefan Monnier
Subject: Re: compilation-error-regexp-alist syntax problems
Date: Tue, 03 Feb 2004 16:07:52 GMT
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

>         (cons '("\\[javac\\] *\\(/[^:]+\\):\\([^:]*\\):" 1 2) 

Try to put point at the beginning of one of the lines and do

M-: (looking-at "\\[javac\\] *\\(/[^:]+\\):\\([^:]*\\):") RET

If it returns nil, there's stilla bug in your regexp.  Maybe you need
to allow spaces before [javac], or I don't know what.

> Local in buffer *compilation*; global value is
> (("\\[javac\\] *\\(/[^:]+\\):\\([^:]*\\):" 1 2)
>  [etc]

Huh?  What is the local value?  Does it include your line?
If not, that's no surprise it's not taken into account.


        Stefan


reply via email to

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