From: Chong Yidong <cyd@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Order of associations in compilation-error-regexp-alist-alist
Date: Mon, 24 Sep 2012 15:00:58 +0800 [thread overview]
Message-ID: <87zk4f3nx1.fsf@gnu.org> (raw)
In-Reply-To: <83a9wgj5nf.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 24 Sep 2012 08:28:52 +0200")
Eli Zaretskii <eliz@gnu.org> 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.
next prev parent reply other threads:[~2012-09-24 7:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-24 6:28 Order of associations in compilation-error-regexp-alist-alist Eli Zaretskii
2012-09-24 7:00 ` Chong Yidong [this message]
2012-09-24 7:06 ` Eli Zaretskii
2012-09-24 7:13 ` Chong Yidong
2012-10-14 7:42 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87zk4f3nx1.fsf@gnu.org \
--to=cyd@gnu.org \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).