emacs-devel
[Top][All Lists]
Advanced

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

Re: Order of associations in compilation-error-regexp-alist-alist


From: Chong Yidong
Subject: Re: Order of associations in compilation-error-regexp-alist-alist
Date: Mon, 24 Sep 2012 15:00:58 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

> This means that if an error message matches more than one regexp
> there, the first one wins.

Yep, and that's the way it's worked for ages.

> If the latter, how do we make sure only the correct regexp matches?

By cunning choice of ordering in compilation-error-regexp-alist.

See also test/automated/compile-tests.el, which is a regression test for
precisely this issue, and etc/compilation.txt for a non-ERT version.



reply via email to

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