all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* compilation mode does not parse error messages from ant correctly
@ 2008-06-03 13:33 Bernhard Herzog
  2008-06-03 14:49 ` Stefan Monnier
  0 siblings, 1 reply; 3+ messages in thread
From: Bernhard Herzog @ 2008-06-03 13:33 UTC (permalink / raw)
  To: emacs-devel


Hi,

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.

  Bernhard




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-06-03 15:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-03 13:33 compilation mode does not parse error messages from ant correctly Bernhard Herzog
2008-06-03 14:49 ` Stefan Monnier
2008-06-03 15:06   ` Bernhard Herzog

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.