emacs-devel
[Top][All Lists]
Advanced

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

Re: compile.el does not find errors in numeric filenames


From: Rajsekar Manokaran
Subject: Re: compile.el does not find errors in numeric filenames
Date: Sun, 6 Feb 2005 11:03:22 +0530

i debugged the problem.

the regexp  was this
   (gnu
    "^\\(?:[[:alpha:]][-[:alnum:].]+: ?\\)?\
\\([/.]*[a-zA-Z]:?[^ \t\n:]*\\|{standard input}\\): ?\
\\([0-9]+\\)\\([.:]?\\)\\([0-9]+\\)?\
\\(?:-\\(?:\\([0-9]+\\)\\3\\)?\\.?\\([0-9]+\\)?\\)?:\
\\(?: *\\(\\(?:Future\\|Runtime\\)?[Ww]arning\\|W:\\)\\|\
*\\([Ii]nfo\\(?:\\>\\|rmationa?l?\\)\\|I:\\)\\)?"
    1 (2 . 5) (4 . 6) (7 . 8))

and i changed it to
   (gnu
    "^\\(?:[[:alpha:]][-[:alnum:].]+: ?\\)?\
\\([/.]*[[:alnum:]]:?[^ \t\n:]*\\|{standard input}\\): ?\
\\([0-9]+\\)\\([.:]?\\)\\([0-9]+\\)?\
\\(?:-\\(?:\\([0-9]+\\)\\3\\)?\\.?\\([0-9]+\\)?\\)?:\
\\(?: *\\(\\(?:Future\\|Runtime\\)?[Ww]arning\\|W:\\)\\|\
*\\([Ii]nfo\\(?:\\>\\|rmationa?l?\\)\\|I:\\)\\)?"
    1 (2 . 5) (4 . 6) (7 . 8))

I am also copying a diff file
please try it out and comment on it

diff -Naur old/compile.el new/compile.el
--- old/compile.el      2005-02-04 11:18:41.148180000 +0530
+++ new/compile.el      2005-02-04 11:18:13.099444056 +0530
@@ -214,7 +214,7 @@

    (gnu
     "^\\(?:[[:alpha:]][-[:alnum:].]+: ?\\)?\
-\\([/.]*[a-zA-Z]:?[^ \t\n:]*\\|{standard input}\\): ?\
+\\([/.]*[[:alnum:]]:?[^ \t\n:]*\\|{standard input}\\): ?\
\\([0-9]+\\)\\([.:]?\\)\\([0-9]+\\)?\
\\(?:-\\(?:\\([0-9]+\\)\\3\\)?\\.?\\([0-9]+\\)?\\)?:\
\\(?: *\\(\\(?:Future\\|Runtime\\)?[Ww]arning\\|W:\\)\\|\


On Sat, 5 Feb 2005 20:20:51 +0530, Rajsekar Manokaran
<address@hidden> wrote:
> Sending this mail again coz i have not got any reply and something
> tells me i sent this message before having got the reply from the
> listbot.
> 
> 
> I have a CVS version of emacs (checked out somewhere last week).
> 
> I have a file with name like 10776.cc and compile.el does not
> recognize the output as errors.
> Then I changed the filename to a10776.cc and it worked
> 
> i think one of the regexp in compilation-error-regexp-alist-alist
> is not setup correctly
> 
> could some help me out ?
>




reply via email to

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