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

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

order of elements in compilation-error-regexp-alist


From: David Kuehling
Subject: order of elements in compilation-error-regexp-alist
Date: 28 Dec 2001 12:20:12 +0100

Hi there!

I recently tried to customize `compilation-error-regexp-alist', for
correctly recognizing errors of the form

Parsing...../home/user/file:1234: error

Although this error line is already matched by existing regexps in
`compilation-error-regexp-alist', they took the prefix "Parsing...." as
part of the file-name, which is not what I want.  

By adding a new element to the front of the list
(`("^\\(Parsing\\.+\\)?\\([^:\n]+\\):\\([0-9]+\\):
\\(error\\|warning\\)" 2 3)'), errors were hilighted correctly, but
`compile-goto-error' seemed to use one of the bad regexps, that include
"Parsing..." in the file name. By adding the new element to the end of
the list, `compile-goto-error' worked correctly, but hilighting was
wrong. 

This inconsitency looks like a bug to me. It would also be helpful if
the order of precedence of elements in `compilation-error-regexp-alist'
was documented.

Bye,

                                                        David Kühling

PS: I'm using GNU Emacs 21.1.4 




reply via email to

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