From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: LanX Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#4689: 23.1.50; Matching of error lines in *compilation* buffer is broken for perl-files Date: Fri, 9 Oct 2009 15:40:36 +0200 Message-ID: Reply-To: LanX , 4689@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=00504501809891f3b7047580b911 X-Trace: ger.gmane.org 1255097495 31347 80.91.229.12 (9 Oct 2009 14:11:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 9 Oct 2009 14:11:35 +0000 (UTC) Cc: Roland McGrath , Daniel Pfeiffer , boubaker@cena.fr To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 09 16:11:18 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MwGBh-00078w-Hu for geb-bug-gnu-emacs@m.gmane.org; Fri, 09 Oct 2009 16:11:18 +0200 Original-Received: from localhost ([127.0.0.1]:56205 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MwGBg-00068Z-Uq for geb-bug-gnu-emacs@m.gmane.org; Fri, 09 Oct 2009 10:11:17 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MwFoV-0005TG-BS for bug-gnu-emacs@gnu.org; Fri, 09 Oct 2009 09:47:19 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MwFoP-0005Np-4r for bug-gnu-emacs@gnu.org; Fri, 09 Oct 2009 09:47:18 -0400 Original-Received: from [199.232.76.173] (port=56675 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MwFoO-0005Ni-Q5 for bug-gnu-emacs@gnu.org; Fri, 09 Oct 2009 09:47:12 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:42872) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MwFoO-0001fa-76 for bug-gnu-emacs@gnu.org; Fri, 09 Oct 2009 09:47:12 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n99Dl9FJ002139; Fri, 9 Oct 2009 06:47:09 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n99Dj50M001518; Fri, 9 Oct 2009 06:45:05 -0700 Resent-Date: Fri, 9 Oct 2009 06:45:05 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: LanX Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Fri, 09 Oct 2009 13:45:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 4689 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12550956451162 (code B ref -1); Fri, 09 Oct 2009 13:45:05 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 9 Oct 2009 13:40:45 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n99Deis2001158 for ; Fri, 9 Oct 2009 06:40:45 -0700 Original-Received: from mail.gnu.org ([199.232.76.166]:50926 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1MwFi7-0000Ka-BJ for emacs-pretest-bug@gnu.org; Fri, 09 Oct 2009 09:40:43 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1MwFi4-0000bF-Qr for emacs-pretest-bug@gnu.org; Fri, 09 Oct 2009 09:40:43 -0400 Original-Received: from mail-px0-f202.google.com ([209.85.216.202]:35157) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MwFi4-0000aN-A1; Fri, 09 Oct 2009 09:40:40 -0400 Original-Received: by pxi40 with SMTP id 40so7293238pxi.24 for ; Fri, 09 Oct 2009 06:40:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:cc:content-type; bh=xwczLrqBfbAopVsZnHk7aCX98NDTiSrB+nGRzSbzjNI=; b=jrHP8EGboTZ/KrnlJuKUU6k7Xa/BDcLyFOr9bCsbRQbIc9UeBVwDRGVV780lixysO7 Nqd0neYg12hZKxKKr1mOUIb4Y/L+mnaLZGwF6vvHXw9wUVh+/WJLge0eVvSIJdNrErxS K0bGUYdyyBq3Cbf/CB18mZ9J51F4pe/Ijzoxw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=hF5kHamloehNo0ALlBD/yvUkmj1yWZa7FtqP+tKbnQoHOJNLg3aPzUsNxtXZ6bnJPa BKoMrjtednFg5Ot73QZtyOlSCPuPjefJlC2kJ659Ax/4aErQWU3v+lvzco1kJDO2pE7x SGWW8RHG8RjaAw+Q/bUQZcsRyER72Al2WDgDk= Original-Received: by 10.142.249.24 with SMTP id w24mr208213wfh.325.1255095636455; Fri, 09 Oct 2009 06:40:36 -0700 (PDT) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Fri, 09 Oct 2009 09:47:17 -0400 X-Mailman-Approved-At: Fri, 09 Oct 2009 10:10:15 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:31812 gmane.emacs.pretest.bugs:25113 Archived-At: --00504501809891f3b7047580b911 Content-Type: text/plain; charset=ISO-8859-1 > 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 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 --00504501809891f3b7047580b911 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable > 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 errorline= s, filenames and linenumbers are not recognized or activated in *compilatio= n*

No problem whatsoever with emacs 22 and the same configs!

The pr= oblem didn't occure while compiling sh or python files!!!

The pr= oblem 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.<= br>
For detailed discussion including a WORKING REGEX-PATCH for mode-com= pile.el please look at:

--> http://groups.google.de/group/gnu.emacs.help/browse_thread= /thread/c1a62e304177fefe/9a28488347dd77e7#9a28488347dd77e7

--> h= ttp://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=3DA;
print $a;
$a=3DA;
$a=3DA;
$a=3DA;
---= -----------------

> If Emacs crashed ....

No crash!

In GNU Emacs 23.1.50.1 (i686-pc-linux-gnu, GTK+ Version 2.14.4)
=A0= of 2009-10-08 on nc10-ubuntu
Windowing system distributor `The X.Org Foundation', version 11.0.10502= 000
configured using `configure=A0 '--prefix=3D/home/lanx/lib/emacs-= cvs''

Important settings:
=A0 value of $LC_ALL: nil
= =A0 value of $LC_COLLATE: nil
=A0 value of $LC_CTYPE: nil
=A0 value of $LC_MESSAGES: nil
=A0 value = of $LC_MONETARY: nil
=A0 value of $LC_NUMERIC: nil
=A0 value of $LC_T= IME: nil
=A0 value of $LANG: de_DE.UTF-8
=A0 value of $XMODIFIERS: ni= l
=A0 locale-coding-system: utf-8-unix
=A0 default enable-multibyte-characters: t

Major mode: Perl

M= inor modes in effect:
=A0 tooltip-mode: t
=A0 mouse-wheel-mode: t
= =A0 tool-bar-mode: t
=A0 menu-bar-mode: t
=A0 file-name-shadow-mode: = t
=A0 global-font-lock-mode: t
=A0 font-lock-mode: t
=A0 blink-cursor-mode: t
=A0 global-auto-compos= ition-mode: t
=A0 auto-composition-mode: t
=A0 auto-encryption-mode: = t
=A0 auto-compression-mode: t
=A0 line-number-mode: t
=A0 transie= nt-mark-mode: t

Recent input:
M-x m o d e - c o m p i l <tab> <return> &= lt;return> <help-echo>
<help-echo> <help-echo> <= ;help-echo> <help-echo> <help-echo>
<help-echo> &l= t;help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <= ;help-echo>
<help-echo> <help-echo> <help-echo> &l= t;help-echo> <help-echo>
<help-echo> <help-echo> &= lt;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 t= imes]
lade mode-compile.el
Loading cl-macs...done
Loading `mode-co= mpile': old-style backquotes detected!
mode-compile: Compiling in Pe= rl 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/p= rogmodes/cperl-mode hides /home/lanx/.emacs.d/debug/cperl-mode

--00504501809891f3b7047580b911--