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
Subject: Re: compile.el does not find errors in numeric filenames
Date: Mon, 07 Feb 2005 20:07:20 +0530
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux)

I think, ada lines should be properly fontified.
Could someone review this patch?

On more thing i notice is that 

files like 

../../C:/hello.cc are recognized as valid filenames by cvs version.  Is it
valid?  I have not touched upon that issue in my patch, but if that is
invalid, we can modify the regexp (again!!!).

Index: lisp/progmodes/compile.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/progmodes/compile.el,v
retrieving revision 1.345
diff -u -4 -r1.345 compile.el
--- lisp/progmodes/compile.el   29 Jan 2005 15:50:26 -0000      1.345
+++ lisp/progmodes/compile.el   7 Feb 2005 14:14:41 -0000
@@ -213,9 +213,9 @@
 \\(.+\\):\\([0-9]+\\)\\(?:\\(:\\)\\|\\(,\\)\\)?" 1 2 nil (3 . 4))
 
     (gnu
      "^\\(?:[[:alpha:]][-[:alnum:].]+: ?\\)?\
-\\([/.]*[a-zA-Z]:?[^ \t\n:]*\\|{standard input}\\): ?\
+\\([/.]*\\(?:[a-zA-Z]:\\)?[^ \t\n:]*[^[:digit:]][^ \t\n:]*\\|{standard 
input}\\): ?\
 \\([0-9]+\\)\\([.:]?\\)\\([0-9]+\\)?\
 \\(?:-\\(?:\\([0-9]+\\)\\3\\)?\\.?\\([0-9]+\\)?\\)?:\
 \\(?: *\\(\\(?:Future\\|Runtime\\)?[Ww]arning\\|W:\\)\\|\
  *\\([Ii]nfo\\(?:\\>\\|rmationa?l?\\)\\|I:\\)\\)?"


-- 
    Rajsekar Manokaran
    IIT Madras




reply via email to

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