GNU bug report logs -
#4689
23.1.50; Matching of error lines in *compilation* buffer is broken for perl-files
Previous Next
Reported by: LanX <lanx.perl <at> googlemail.com>
Date: Fri, 9 Oct 2009 13:45:05 UTC
Severity: normal
Merged with 3928
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 4689 in the body.
You can then email your comments to 4689 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#4689
; Package
emacs
.
(Fri, 09 Oct 2009 13:45:05 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
LanX <lanx.perl <at> googlemail.com>
:
New bug report received and forwarded. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Fri, 09 Oct 2009 13:45:06 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
[Message part 1 (text/plain, inline)]
> Please describe exactly what actions triggered the bug
> and the precise symptoms of the bug:
- Installing emacs 23
- Loading perl-code with errors
- M-x mode-compile
- Effect: The errorlines, filenames and linenumbers are not recognized or
activated in *compilation*
No problem whatsoever with emacs 22 and the same configs!
The problem didn't occure while compiling sh or python files!!!
The problem was reproducible on different machines with Ubuntu 8.04 and 8.10
but not with Windows XP, all with default installation with German
localization.
It was reported NOT to happen with Ubuntu 9.04 on an american machine.
For detailed discussion including a WORKING REGEX-PATCH for mode-compile.el
please look at:
-->
http://groups.google.de/group/gnu.emacs.help/browse_thread/thread/c1a62e304177fefe/9a28488347dd77e7#9a28488347dd77e7
-->
http://groups.google.com/group/emacs-perl-intersection/browse_thread/thread/328823127d1f8b7/8adaceafa79cc216#8adaceafa79cc216
DIAGNOSIS: It seems like the handling of regexes in compile.el changed
considerably from
22 to 23, breaking compatibility with mode-compile.el!!!
A sample perl code to produce 4 error-lines is:
-------------------
use strict;
$a=A;
print $a;
$a=A;
$a=A;
$a=A;
--------------------
> If Emacs crashed ....
No crash!
In GNU Emacs 23.1.50.1 (i686-pc-linux-gnu, GTK+ Version 2.14.4)
of 2009-10-08 on nc10-ubuntu
Windowing system distributor `The X.Org Foundation', version 11.0.10502000
configured using `configure '--prefix=/home/lanx/lib/emacs-cvs''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: de_DE.UTF-8
value of $XMODIFIERS: nil
locale-coding-system: utf-8-unix
default enable-multibyte-characters: t
Major mode: Perl
Minor modes in effect:
tooltip-mode: t
mouse-wheel-mode: t
tool-bar-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
global-auto-composition-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: t
Recent input:
M-x m o d e - c o m p i l <tab> <return> <return> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <menu-bar> <help-menu>
<send-emacs-bug-report>
Recent messages:
loading debug.el
leaving debug.el
For information about GNU Emacs and the GNU system, type C-h C-a.
Use M-x make-directory RET RET to create the directory and its parents [2
times]
lade mode-compile.el
Loading cl-macs...done
Loading `mode-compile': old-style backquotes detected!
mode-compile: Compiling in Perl mode ... M-x mode-compile-kill to kill.
(No files need saving)
Compilation exited abnormally with code 255
Load-path shadows:
/home/lanx/lib/emacs-cvs/share/emacs/23.1.50/lisp/progmodes/cperl-mode hides
/home/lanx/.emacs.d/debug/cperl-mode
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#4689
; Package
emacs
.
(Fri, 09 Oct 2009 16:10:06 GMT)
Full text and
rfc822 format available.
Message #8 received at 4689 <at> emacsbugs.donarmstrong.com (full text, mbox):
LanX wrote:
> - Installing emacs 23
> - Loading perl-code with errors
> - M-x mode-compile
mode-compile is not part of Emacs.
> - Effect: The errorlines, filenames and linenumbers are not recognized or
> activated in *compilation*
>
> No problem whatsoever with emacs 22 and the same configs!
[...]
> DIAGNOSIS: It seems like the handling of regexes in compile.el
> changed considerably from 22 to 23, breaking compatibility with
> mode-compile.el!!!
Then mode-compile probably needs updating.
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#4689
; Package
emacs
.
(Fri, 09 Oct 2009 16:35:08 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
LanX <lanx.perl <at> googlemail.com>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Fri, 09 Oct 2009 16:35:08 GMT)
Full text and
rfc822 format available.
Message #13 received at 4689 <at> emacsbugs.donarmstrong.com (full text, mbox):
[Message part 1 (text/plain, inline)]
Glenn, as I showed, the behavior of emacs 23 in this respect is very
inconsistent on different systems.
If mode-compile and cperl-mode need an update it would be only fair to know
to which specification it needs to be updated to!
Or do you think emacs 23 is not an example of consistent software???
2009/10/9 Glenn Morris <rgm <at> gnu.org>
> LanX wrote:
>
> > - Installing emacs 23
> > - Loading perl-code with errors
> > - M-x mode-compile
>
> mode-compile is not part of Emacs.
>
> > - Effect: The errorlines, filenames and linenumbers are not recognized or
> > activated in *compilation*
> >
> > No problem whatsoever with emacs 22 and the same configs!
> [...]
> > DIAGNOSIS: It seems like the handling of regexes in compile.el
> > changed considerably from 22 to 23, breaking compatibility with
> > mode-compile.el!!!
>
> Then mode-compile probably needs updating.
>
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#4689
; Package
emacs
.
(Fri, 09 Oct 2009 16:45:04 GMT)
Full text and
rfc822 format available.
Message #16 received at 4689 <at> emacsbugs.donarmstrong.com (full text, mbox):
PS please don't cc the original authors when reporting bugs.
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#4689
; Package
emacs
.
(Fri, 09 Oct 2009 16:55:07 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
LanX <lanx.perl <at> googlemail.com>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Fri, 09 Oct 2009 16:55:07 GMT)
Full text and
rfc822 format available.
Message #21 received at 4689 <at> emacsbugs.donarmstrong.com (full text, mbox):
[Message part 1 (text/plain, inline)]
2009/10/9 Glenn Morris <rgm <at> gnu.org>
>
> PS please don't cc the original authors when reporting bugs.
>
OK, but I just replied to all recipients of your mail...
Sorry, I've spend much time to isolate that bug and I don't wanna be part of
any kind of xemacs vs emacs flame war in response.
compile.el of emacs 23 acts inconsistently and I think if it's due to
different system or unicode settings it's only one incarnation of a bigger
underlying bug, one could be worried of ...
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#4689
; Package
emacs
.
(Fri, 09 Oct 2009 18:35:05 GMT)
Full text and
rfc822 format available.
Message #24 received at 4689 <at> emacsbugs.donarmstrong.com (full text, mbox):
LanX wrote:
> OK, but I just replied to all recipients of your mail...
Yes, I first replied to your original report without noticing that you
had cc'd the authors of compile.el.
> Sorry, I've spend much time to isolate that bug and I don't wanna be
> part of any kind of xemacs vs emacs flame war in response.
Nobody has mentioned XEmacs. I was asking you not to bother the
blameless original authors of compile.el, one of whom has not touched
the code in over 12 years.
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#4689
; Package
emacs
.
(Fri, 09 Oct 2009 20:35:04 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
LanX <lanx.perl <at> googlemail.com>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Fri, 09 Oct 2009 20:35:04 GMT)
Full text and
rfc822 format available.
Message #29 received at 4689 <at> emacsbugs.donarmstrong.com (full text, mbox):
[Message part 1 (text/plain, inline)]
Glenn,
Neither mode-compile nor cperl-mode are necessary to reproduce the problem.
And after 12 years a maintainer might perhaps consider to delete his email
address.
Anyway I met Daniel Pfeiffer on the last German Perl Workshop, I'm going to
provide him directly with more detailed infos in German.
No need to bother you longer...
Thanx for your help!
Bye
2009/10/9 Glenn Morris <rgm <at> gnu.org>
> LanX wrote:
>
> > OK, but I just replied to all recipients of your mail...
>
> Yes, I first replied to your original report without noticing that you
> had cc'd the authors of compile.el.
>
> > Sorry, I've spend much time to isolate that bug and I don't wanna be
> > part of any kind of xemacs vs emacs flame war in response.
>
> Nobody has mentioned XEmacs. I was asking you not to bother the
> blameless original authors of compile.el, one of whom has not touched
> the code in over 12 years.
>
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#4689
; Package
emacs
.
(Fri, 09 Oct 2009 21:30:06 GMT)
Full text and
rfc822 format available.
Message #32 received at 4689 <at> emacsbugs.donarmstrong.com (full text, mbox):
LanX wrote:
> Neither mode-compile nor cperl-mode are necessary to reproduce the problem.
OK. If you want someone on this list to help fix anything, then the
way to go about it is to provide a complete, self-contained recipe
starting from `emacs -Q'. This does not seem to exist anywhere in
either of the two linked threads which I took the trouble to read.
> And after 12 years a maintainer might perhaps consider to delete his email
> address.
We leave the original Author: header intact to respect people's
contribution. Note that the Maintainer: header says "FSF".
None of this is at all revelant though, because the documented
procedure for reporting an Emacs bug is to use M-x report-emacs-bug.
That is all. Do not cc every email address you might find in the
source files.
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#4689
; Package
emacs
.
(Sat, 10 Oct 2009 14:55:07 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Jason Rumney <jasonr <at> gnu.org>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Sat, 10 Oct 2009 14:55:07 GMT)
Full text and
rfc822 format available.
Message #37 received at 4689 <at> emacsbugs.donarmstrong.com (full text, mbox):
LanX wrote:
> compile.el of emacs 23 acts inconsistently
Then please file a bug report about that inconsistency, rather than
reporting a bug in mode-compile, which is not part of Emacs.
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#4689
; Package
emacs
.
(Mon, 12 Oct 2009 08:00:06 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Heddy Boubaker <boubaker <at> cena.fr>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Mon, 12 Oct 2009 08:00:06 GMT)
Full text and
rfc822 format available.
Message #42 received at 4689 <at> emacsbugs.donarmstrong.com (full text, mbox):
hi guys
I'm the original developer of mode-compile but unfortunately I do not use it
almost for years now, and I even forgot almost anything about elisp :) (my only
use of emacs is to edit html & css files now).
If somebody have the courage to maintain it, it will be with great pleasure.
best
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#4689
; Package
emacs
.
(Mon, 12 Oct 2009 14:35:05 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
LanX <lanx.perl <at> googlemail.com>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Mon, 12 Oct 2009 14:35:05 GMT)
Full text and
rfc822 format available.
Message #47 received at 4689 <at> emacsbugs.donarmstrong.com (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi Heddy
I doubt that mode-compile is to blame, neither of the following combination
succeeds in capturing and activating the error-lines, like it does with
emacs 22:
:~$ emacs-23.1.50 -Q -debug-init -no-site-file ~/tst.pl -f cperl-mode
--eval='(compile "perl ~/tst.pl")'
:~$ emacs-23.1.50 -Q -debug-init -no-site-file ~/tst.pl -f perl-mode
--eval='(compile "perl ~/tst.pl")'
Si tu cherche quelqun pour continuer mode-compile: A mon avis il sera mieux
de demander a gnu.emac.help. Ici en insiste seulment que c'est pas un part
integral de emacs.
De toute facon merci bien pour mode-compile!!! :-)
Bye
Rolf
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#4689
; Package
emacs
.
(Mon, 12 Oct 2009 16:30:04 GMT)
Full text and
rfc822 format available.
Message #50 received at 4689 <at> emacsbugs.donarmstrong.com (full text, mbox):
merge 4689 3928
stop
LanX wrote:
> :~$ emacs-23.1.50 -Q -debug-init -no-site-file ~/tst.pl -f cperl-mode
> --eval='(compile "perl ~/tst.pl")'
Thanks. If only we could have started here.
I guess this is a duplicate of bug#3928. (The patch in that report has
some issues, eg XXX in the perl part.)
Merged 3928 4689.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> emacsbugs.donarmstrong.com
.
(Mon, 12 Oct 2009 16:30:06 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#4689
; Package
emacs
.
(Mon, 12 Oct 2009 17:05:05 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Juanma Barranquero <lekktu <at> gmail.com>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Mon, 12 Oct 2009 17:05:05 GMT)
Full text and
rfc822 format available.
Message #57 received at 4689 <at> emacsbugs.donarmstrong.com (full text, mbox):
On Mon, Oct 12, 2009 at 16:26, LanX <lanx.perl <at> googlemail.com> wrote:
> Ici en insiste seulment que c'est pas un part
> integral de emacs.
And for a good reason.
If you really think it is a bug in Emacs, please send precise,
complete instructions, starting from "emacs -Q" and including anything
needed to reproduce it.
Juanma
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#4689
; Package
emacs
.
(Mon, 12 Oct 2009 19:45:04 GMT)
Full text and
rfc822 format available.
Message #60 received at 4689 <at> emacsbugs.donarmstrong.com (full text, mbox):
Oh, and it seems when you said "emacs 23", you meant "CVS trunk".
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#4689
; Package
emacs
.
(Mon, 12 Oct 2009 22:10:05 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
LanX <lanx.perl <at> googlemail.com>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Mon, 12 Oct 2009 22:10:05 GMT)
Full text and
rfc822 format available.
Message #65 received at 4689 <at> emacsbugs.donarmstrong.com (full text, mbox):
[Message part 1 (text/plain, inline)]
2009/10/12 Glenn Morris <rgm <at> gnu.org>
>
> Oh, and it seems when you said "emacs 23", you meant "CVS trunk".
>
Yes ... 23.1.50 is indeed not considered stable...
To be sure, I just installed GNU Emacs 23.1.1, which doesn't show any of
these problems.
Sorry, Googling for "emacs 23 install" predominantly leads to advices for
"CVS trunk" installations, even including complete ubuntu packages, which I
have trouble to find for the stable release...
[Message part 2 (text/html, inline)]
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> emacsbugs.donarmstrong.com
.
(Tue, 10 Nov 2009 15:24:12 GMT)
Full text and
rfc822 format available.
This bug report was last modified 15 years and 228 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.