emacs-devel
[Top][All Lists]
Advanced

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

compilation-error-regexp-alist-alist modifications


From: Markus Gritsch
Subject: compilation-error-regexp-alist-alist modifications
Date: Tue, 07 Jun 2005 23:06:43 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511

Hi,

I like to report two problems with the default value of compilation-error-regexp-alist-alist in compile.el:


* On some errors the compiler from Microsoft VisualStudio prints "fatal error" instead of just "error". The entry for msft is too restrictive and should read

    (msft
     "^\\(\\(?:[a-zA-Z]:\\)?[^:(\t\n]+\\)(\\([0-9]+\\)) \
: \\(?:\\(fatal \\)?error\\|warnin\\(g\\)\\) C[0-9]+:" 1 2 nil (3))

instead of

    (msft
     "^\\(\\(?:[a-zA-Z]:\\)?[^:(\t\n]+\\)(\\([0-9]+\\)) \
: \\(?:error\\|warnin\\(g\\)\\) C[0-9]+:" 1 2 nil (3))

Something similar like the following line should be added to etc/compilation.txt:

e:\devel\ico\SearchComponent.hpp(4) : fatal error C1083: Cannot open include file: 'search/Component.hpp': No such file or directory


* I am using Emacs to edit Python source files on Windows, and the files have sometimes spaces in their names. I am not sure how to modify the caml entry, which is also responsible for matching the Python tracebacks. However, it should be modified so that the following example line matches:

  File "Test Exmple.py", line 11, in ?


Kind regards,
Markus





reply via email to

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