From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Bernhard Herzog <bh@intevation.de>
Cc: emacs-devel@gnu.org
Subject: Re: compilation mode does not parse error messages from ant correctly
Date: Tue, 03 Jun 2008 10:49:34 -0400 [thread overview]
Message-ID: <jwvod6ipobf.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <s9zod6i8wxv.fsf@thoe.hq.intevation.de> (Bernhard Herzog's message of "Tue, 03 Jun 2008 15:33:48 +0200")
> The compilation mode does not parse error messages from ant correctly.
> I have this problem with Emacs HEAD from this morning, but the problem
> is probably older.
> To reproduce, visit etc/compilation.txt. In the ant section, emacs
> highlights the filenames correctly, e.g. in the line
> [javac] /src/DataBaseTestCase.java:27: unreported exception ...
> /src/DataBaseTestCase.java is shown with the compilation-error face as
> expected. However, when clicking on the line with mouse button 1, I get
> a prompt in the minibuffer with:
> Find this error in (default [javac] /src/DataBaseTestCase.java): /vol1/opt/src/emacs-hg-sarge/etc/
> I. e. the default filename is the contents of the error line from the
> beginning of the line until the first colon. That is, it includes the "
> [javac] " which is not part of the filename.
> AFAICT, this is due to the gnu regexp from
> compilation-error-regexp-alist-alist also matching the ant line.
If you'd used M-x report-emacs-bug, I wouldn't need to ask: what version
of Emacs was that? I've installed a patch recently which rules out " /"
from some filenames and should have fixed this problem.
Stefan
next prev parent reply other threads:[~2008-06-03 14:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-03 13:33 compilation mode does not parse error messages from ant correctly Bernhard Herzog
2008-06-03 14:49 ` Stefan Monnier [this message]
2008-06-03 15:06 ` Bernhard Herzog
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=jwvod6ipobf.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=bh@intevation.de \
--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).