[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Wed, 25 Oct 2000 00:08:03 -0700
This bug report will be sent to the Free Software Foundation,
not to your local site managers!!
Please write in English, because the Emacs maintainers do not have
translators to read other languages for them.
In GNU Emacs 20.7.1 (i386-redhat-linux-gnu, X toolkit)
of Thu Aug 24 2000 on porky.devel.redhat.com
configured using `configure --mandir=/usr/share/man --infodir=/usr/share/info
--prefix=/usr --libexecdir=/usr/lib --sharedstatedir=/var --with-gcc --with-pop
Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:
I am very novice at emacs, so please bear with me...
When I use compile to syntax-check my perl code, the filenames and
line numbers of the warnings are not recognized with the default
A sample warning is:
Name "main::act" used only once: possible typo at b.pl line 21.
There is one regexp in the list that comes very close:
(".* at \\([^ ]+\\) line \\([0-9]+\\)," 1 2)
it only needs to accept a . instead of the , at the end. The latest
version I have tested this in is the 20.7.1 that comes with Redhat
Linux 7.0. To work around this, I add the following to my .emacs:
(add-to-list 'compilation-error-regexp-alist '(".* at \\([^ ]+\\) line
\\([0-9]+\\)\\." 1 2))
It would be nice to have the default regexp handle this -- maybe
change the existing one to something like:
(".* at \\([^ ]+\\) line \\([0-9]+\\)[,\\.]" 1 2)
Perl version: (output from perl -v)
This is perl, version 5.005_03 built for i386-linux
|[Prev in Thread]
||[Next in Thread]|
Erik Forkalsrud <=