Hi, all.
Maybe somebody can help me.
I try to add additional regexp for compilation-mode, but every time I get into strange thing.
My error-line looks like (let's call it mark line)
//D:\project\RowViewer\trunk/metaSpec/uRow.pasm4(9)
Now, if I use the following code in .emacs:
(require 'compile)
(setq compilation-error-regexp-alist '())
(pushnew '("//\\(.+\\)(\\([0-9]+\\))" 1 2 nil)
compilation-error-regexp-alist)
...everything is fine and compilation-mode works as expected and in any
position of mark line - at the beginning of line, in the middle,
everywhere. I use that 3 code lines for testing purposes so to ensure
that my regexp is single in the list
Now when I remove (setq compilation-error-regexp-alist '()) and test my
regexp - that strange behaviour appeares - mark line works as expected
only in the middle of the line. If mark line is strictly at the
beginning of line then emacs asks me to show him as directory where to
look for file. If I insert one space before the mark line - it catches
filename again properly.
P.S. I work on Windows XP,
Emacs - GNU Emacs
23.0.60.1 (i386-mingw-nt5.1.2600) of 2008-08-25 on LENNART-69DE564 (patched)
Thanks.
Best regards,
Denis Golovan