* Strange compilation-mode behaviour
@ 2008-09-22 19:32 Denis Golovan
0 siblings, 0 replies; only message in thread
From: Denis Golovan @ 2008-09-22 19:32 UTC (permalink / raw)
To: help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 1203 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 1389 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-09-22 19:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-22 19:32 Strange compilation-mode behaviour Denis Golovan
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.