From unknown Mon Jun 23 02:24:19 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#3928: 23.1.50; compilation-mode not matching perl and more [regression] Reply-To: Kevin Ryde , 3928@debbugs.gnu.org Resent-From: Kevin Ryde Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 25 Jul 2009 12:50:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: report 3928 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.124852579914015 (code B ref -1); Sat, 25 Jul 2009 12:50:04 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 25 Jul 2009 12:43:19 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-1.1 required=4.0 tests=AWL,FOURLA,MURPHY_WRONG_WORD1, MURPHY_WRONG_WORD2 autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 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 n6PChDNo014009 for ; Sat, 25 Jul 2009 05:43:15 -0700 Received: from mx10.gnu.org ([199.232.76.166]:59571) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1MUgan-00016w-ID for emacs-pretest-bug@gnu.org; Sat, 25 Jul 2009 08:43:13 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1MUgal-0002hQ-CS for emacs-pretest-bug@gnu.org; Sat, 25 Jul 2009 08:43:13 -0400 Received: from mailout2-10.pacific.net.au ([125.255.80.137]:33771 helo=mailout2.pacific.net.au) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MUgak-0002hI-JY for emacs-pretest-bug@gnu.org; Sat, 25 Jul 2009 08:43:11 -0400 Received: from mailproxy2.pacific.net.au (mailproxy2.pacific.net.au [61.8.2.163]) by mailout2.pacific.net.au (Postfix) with ESMTP id 9CA9F156B52 for ; Sat, 25 Jul 2009 22:43:09 +1000 (EST) Received: from blah.blah (ppp2F11.dyn.pacific.net.au [61.8.47.17]) by mailproxy2.pacific.net.au (Postfix) with ESMTP id 2004E27407 for ; Sat, 25 Jul 2009 22:43:08 +1000 (EST) Received: from gg by blah.blah with local (Exim 4.69) (envelope-from ) id 1MUgaK-0002J9-L3 for emacs-pretest-bug@gnu.org; Sat, 25 Jul 2009 22:42:44 +1000 From: Kevin Ryde To: emacs-pretest-bug@gnu.org Date: Sat, 25 Jul 2009 22:42:44 +1000 Message-ID: <873a8l3pdn.fsf@blah.blah> User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) --=-=-= Running "emacs -Q etc/compilation.txt" and scrolling down to the perl section shows none of the sample perl errors matched at all, where I hoped they would be. I think the "^" anchor added by compilation-mode-font-lock-keywords means perl and some other more obscure patterns need a ".*", like they had back in Emacs 21, to work in the middle of a line. I noticed this on the perl one. I thought it was working fine not so long ago, so I don't know what/when/how it went bad. (The looseness of Emacs 22 not anchoring reverted, but the patterns not put back at the same time too??) 2009-07-25 Kevin Ryde * progmodes/compile.el (compilation-error-regexp-alist-alist): In aix, ftnchek, mips-1, mips-2, perl, sun, 4bsd entries add ".*" so as to match in the middle of a line, now that there's a "^" anchor is again enforced by compilation-mode-font-lock-keywords. These patterns were otherwise failing to match anything at all. In the 4bsd entry remove the "^" from inside the \\(\\) grouping since it's now unnecessary and since inside a group it isn't recognised by the omake indentation hack in compilation-mode-font-lock-keywords (meaning it wouldn't work with indentation). --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=compile.el.cope-with-anchoring.diff *** compile.el 11 Jul 2009 07:12:48 +1000 1.495 --- compile.el 25 Jul 2009 21:55:50 +1000 *************** *** 173,179 **** "\\(warning: .*\\)? at \\([^ \n]+\\):\\([0-9]+\\)$" 2 3 nil (1)) (aix ! " in line \\([0-9]+\\) of file \\([^ \n]+[^. \n]\\)\\.? " 2 1) (ant "^[ \t]*\\[[^] \n]+\\][ \t]*\\([^: \n]+\\):\\([0-9]+\\):\\(?:\\([0-9]+\\):[0-9]+:[0-9]+:\\)?\ --- 173,179 ---- "\\(warning: .*\\)? at \\([^ \n]+\\):\\([0-9]+\\)$" 2 3 nil (1)) (aix ! ".* in line \\([0-9]+\\) of file \\([^ \n]+[^. \n]\\)\\.? " 2 1) (ant "^[ \t]*\\[[^] \n]+\\][ \t]*\\([^: \n]+\\):\\([0-9]+\\):\\(?:\\([0-9]+\\):[0-9]+:[0-9]+:\\)?\ *************** *** 207,213 **** "^Error [0-9]+ at (\\([0-9]+\\):\\([^)\n]+\\))" 2 1) (ftnchek ! "\\(^Warning .*\\)? line[ \n]\\([0-9]+\\)[ \n]\\(?:col \\([0-9]+\\)[ \n]\\)?file \\([^ :;\n]+\\)" 4 2 3 (1)) (iar --- 207,213 ---- "^Error [0-9]+ at (\\([0-9]+\\):\\([^)\n]+\\))" 2 1) (ftnchek ! "\\(Warning\\)?.* line[ \n]\\([0-9]+\\)[ \n]\\(?:col \\([0-9]+\\)[ \n]\\)?file \\([^ :;\n]+\\)" 4 2 3 (1)) (iar *************** *** 284,292 **** ;; Should be lint-1, lint-2 (SysV lint) (mips-1 ! " (\\([0-9]+\\)) in \\([^ \n]+\\)" 2 1) (mips-2 ! " in \\([^()\n ]+\\)(\\([0-9]+\\))$" 1 2) (msft ;; AFAWK, The message may be a "warning", "error", or "fatal error". --- 284,292 ---- ;; Should be lint-1, lint-2 (SysV lint) (mips-1 ! ".* (\\([0-9]+\\)) in \\([^ \n]+\\)" 2 1) (mips-2 ! ".* in \\([^()\n ]+\\)(\\([0-9]+\\))$" 1 2) (msft ;; AFAWK, The message may be a "warning", "error", or "fatal error". *************** *** 308,314 **** ;; warnings" in recent perl when breaking circular references ;; during program or thread exit. (perl ! " at \\([^ \n]+\\) line \\([0-9]+\\)\\(?:[,.]\\|$\\| \ during global destruction\\.$\\)" 1 2) (php --- 308,314 ---- ;; warnings" in recent perl when breaking circular references ;; during program or thread exit. (perl ! "XXXXXXXXXX.* at \\([^ \n]+\\) line \\([0-9]+\\)\\(?:[,.]\\|$\\| \ during global destruction\\.$\\)" 1 2) (php *************** *** 332,338 **** nil 1 nil (3) nil (2 (compilation-face '(3)))) (sun ! ": \\(?:ERROR\\|WARNIN\\(G\\)\\|REMAR\\(K\\)\\) \\(?:[[:alnum:] ]+, \\)?\ File = \\(.+\\), Line = \\([0-9]+\\)\\(?:, Column = \\([0-9]+\\)\\)?" 3 4 5 (1 . 2)) --- 332,338 ---- nil 1 nil (3) nil (2 (compilation-face '(3)))) (sun ! ".*: \\(?:ERROR\\|WARNIN\\(G\\)\\|REMAR\\(K\\)\\) \\(?:[[:alnum:] ]+, \\)?\ File = \\(.+\\), Line = \\([0-9]+\\)\\(?:, Column = \\([0-9]+\\)\\)?" 3 4 5 (1 . 2)) *************** *** 345,351 **** 1 2 nil (4)) (4bsd ! "\\(?:^\\|:: \\|\\S ( \\)\\(/[^ \n\t()]+\\)(\\([0-9]+\\))\ \\(?:: \\(warning:\\)?\\|$\\| ),\\)" 1 2 nil (3)) (gcov-file --- 345,351 ---- 1 2 nil (4)) (4bsd ! "^\\(?:\\|.*:: \\|.*\\S ( \\)\\(/[^ \n\t()]+\\)(\\([0-9]+\\))\ \\(?:: \\(warning:\\)?\\|$\\| ),\\)" 1 2 nil (3)) (gcov-file --=-=-= In GNU Emacs 23.1.50.4 (i586-pc-linux-gnu, GTK+ Version 2.16.4) of 2009-07-24 on blah.blah configured using `configure 'CFLAGS=-O -g' '--prefix=/down/emacs/b/inst' '--with-x-toolkit=gtk'' 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: en_AU value of $XMODIFIERS: nil locale-coding-system: iso-latin-1-unix default-enable-multibyte-characters: t --=-=-=-- From unknown Mon Jun 23 02:24:19 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#3928: compilation-mode not matching perl and more [regression] Reply-To: Kevin Ryde , 3928@debbugs.gnu.org Resent-From: Kevin Ryde Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 27 Jul 2009 01:20:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 3928 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 3928-submit@emacsbugs.donarmstrong.com id=B3928.124865722527456 (code B ref 3928); Mon, 27 Jul 2009 01:20:05 +0000 Received: (at 3928) by emacsbugs.donarmstrong.com; 27 Jul 2009 01:13:45 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.6 required=4.0 tests=AWL,HAS_BUG_NUMBER, MURPHY_WRONG_WORD1,MURPHY_WRONG_WORD2 autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mailout1.pacific.net.au (mailout1-1.pacific.net.au [61.8.2.208]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n6R1Dcke027451 for <3928@emacsbugs.donarmstrong.com>; Sun, 26 Jul 2009 18:13:40 -0700 Received: from mailproxy2.pacific.net.au (mailproxy2.pacific.net.au [61.8.2.163]) by mailout1.pacific.net.au (Postfix) with ESMTP id 71F9A4FCF1E for <3928@emacsbugs.donarmstrong.com>; Mon, 27 Jul 2009 11:13:37 +1000 (EST) Received: from blah.blah (ppp2D41.dyn.pacific.net.au [61.8.45.65]) by mailproxy2.pacific.net.au (Postfix) with ESMTP id 5620427442 for <3928@emacsbugs.donarmstrong.com>; Mon, 27 Jul 2009 11:13:36 +1000 (EST) Received: from gg by blah.blah with local (Exim 4.69) (envelope-from ) id 1MVEm4-0006vu-Mr for 3928@emacsbugs.donarmstrong.com; Mon, 27 Jul 2009 11:13:08 +1000 From: Kevin Ryde To: 3928@debbugs.gnu.org References: <873a8l3pdn.fsf@blah.blah> Date: Mon, 27 Jul 2009 11:13:07 +1000 In-Reply-To: (Emacs bug Tracking System's message of "Sat, 25 Jul 2009 12:50:04 +0000") Message-ID: <871vo39bdo.fsf_-_@blah.blah> User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= The ada entry is afflicted too (it's supposed to match the second part of its compilation.txt, its first part is matched by the gnu pattern). So, 2009-07-27 Kevin Ryde * progmodes/compile.el (compilation-error-regexp-alist-alist): In ada, aix, ftnchek, mips-1, mips-2, perl, sun, 4bsd entries add ".*" so as to match in the middle of a line, now that there's a "^" anchor is again enforced by compilation-mode-font-lock-keywords. These patterns were otherwise failing to match anything at all. In the 4bsd entry remove the "^" from inside the \\(\\) grouping since it's now unnecessary and since inside a group it isn't recognised by the omake indentation hack in compilation-mode-font-lock-keywords (meaning it wouldn't work with indentation). --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=compile.el.cope-with-anchoring-2.diff *** compile.el 11 Jul 2009 07:12:48 +1000 1.495 --- compile.el 26 Jul 2009 14:43:04 +1000 *************** *** 170,179 **** of[ \t]+\"?\\([a-zA-Z]?:?[^\":\n]+\\)\"?:" 3 2 nil (1)) (ada ! "\\(warning: .*\\)? at \\([^ \n]+\\):\\([0-9]+\\)$" 2 3 nil (1)) (aix ! " in line \\([0-9]+\\) of file \\([^ \n]+[^. \n]\\)\\.? " 2 1) (ant "^[ \t]*\\[[^] \n]+\\][ \t]*\\([^: \n]+\\):\\([0-9]+\\):\\(?:\\([0-9]+\\):[0-9]+:[0-9]+:\\)?\ --- 170,179 ---- of[ \t]+\"?\\([a-zA-Z]?:?[^\":\n]+\\)\"?:" 3 2 nil (1)) (ada ! "\\(warning:\\)?.* at \\([^ \n]+\\):\\([0-9]+\\)$" 2 3 nil (1)) (aix ! ".* in line \\([0-9]+\\) of file \\([^ \n]+[^. \n]\\)\\.? " 2 1) (ant "^[ \t]*\\[[^] \n]+\\][ \t]*\\([^: \n]+\\):\\([0-9]+\\):\\(?:\\([0-9]+\\):[0-9]+:[0-9]+:\\)?\ *************** *** 207,213 **** "^Error [0-9]+ at (\\([0-9]+\\):\\([^)\n]+\\))" 2 1) (ftnchek ! "\\(^Warning .*\\)? line[ \n]\\([0-9]+\\)[ \n]\\(?:col \\([0-9]+\\)[ \n]\\)?file \\([^ :;\n]+\\)" 4 2 3 (1)) (iar --- 207,213 ---- "^Error [0-9]+ at (\\([0-9]+\\):\\([^)\n]+\\))" 2 1) (ftnchek ! "\\(Warning\\)?.* line[ \n]\\([0-9]+\\)[ \n]\\(?:col \\([0-9]+\\)[ \n]\\)?file \\([^ :;\n]+\\)" 4 2 3 (1)) (iar *************** *** 284,292 **** ;; Should be lint-1, lint-2 (SysV lint) (mips-1 ! " (\\([0-9]+\\)) in \\([^ \n]+\\)" 2 1) (mips-2 ! " in \\([^()\n ]+\\)(\\([0-9]+\\))$" 1 2) (msft ;; AFAWK, The message may be a "warning", "error", or "fatal error". --- 284,292 ---- ;; Should be lint-1, lint-2 (SysV lint) (mips-1 ! ".* (\\([0-9]+\\)) in \\([^ \n]+\\)" 2 1) (mips-2 ! ".* in \\([^()\n ]+\\)(\\([0-9]+\\))$" 1 2) (msft ;; AFAWK, The message may be a "warning", "error", or "fatal error". *************** *** 308,314 **** ;; warnings" in recent perl when breaking circular references ;; during program or thread exit. (perl ! " at \\([^ \n]+\\) line \\([0-9]+\\)\\(?:[,.]\\|$\\| \ during global destruction\\.$\\)" 1 2) (php --- 308,314 ---- ;; warnings" in recent perl when breaking circular references ;; during program or thread exit. (perl ! "XXXXXXXXXX.* at \\([^ \n]+\\) line \\([0-9]+\\)\\(?:[,.]\\|$\\| \ during global destruction\\.$\\)" 1 2) (php *************** *** 332,338 **** nil 1 nil (3) nil (2 (compilation-face '(3)))) (sun ! ": \\(?:ERROR\\|WARNIN\\(G\\)\\|REMAR\\(K\\)\\) \\(?:[[:alnum:] ]+, \\)?\ File = \\(.+\\), Line = \\([0-9]+\\)\\(?:, Column = \\([0-9]+\\)\\)?" 3 4 5 (1 . 2)) --- 332,338 ---- nil 1 nil (3) nil (2 (compilation-face '(3)))) (sun ! ".*: \\(?:ERROR\\|WARNIN\\(G\\)\\|REMAR\\(K\\)\\) \\(?:[[:alnum:] ]+, \\)?\ File = \\(.+\\), Line = \\([0-9]+\\)\\(?:, Column = \\([0-9]+\\)\\)?" 3 4 5 (1 . 2)) *************** *** 345,351 **** 1 2 nil (4)) (4bsd ! "\\(?:^\\|:: \\|\\S ( \\)\\(/[^ \n\t()]+\\)(\\([0-9]+\\))\ \\(?:: \\(warning:\\)?\\|$\\| ),\\)" 1 2 nil (3)) (gcov-file --- 345,351 ---- 1 2 nil (4)) (4bsd ! "^\\(?:\\|.*:: \\|.*\\S ( \\)\\(/[^ \n\t()]+\\)(\\([0-9]+\\))\ \\(?:: \\(warning:\\)?\\|$\\| ),\\)" 1 2 nil (3)) (gcov-file --=-=-=-- From rgm@gnu.org Mon Oct 12 09:24:52 2009 Received: (at control) by emacsbugs.donarmstrong.com; 12 Oct 2009 16:24:52 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-6.2 required=4.0 tests=AWL,HAS_BUG_NUMBER, MURPHY_DRUGS_REL8,URIBL_CNKR,X_DEBBUGS_NO_ACK autolearn=unavailable version=3.2.5-bugs.debian.org_2005_01_02 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 n9CGOps7003701; Mon, 12 Oct 2009 09:24:52 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1MxNhZ-0002Dc-GX; Mon, 12 Oct 2009 12:24:49 -0400 From: Glenn Morris To: LanX Cc: 4689@debbugs.gnu.org Subject: Re: bug#4689: 23.1.50; Matching of error lines in *compilation* buffer is broken for perl-files References: <4AD2DFE7.9070205@cena.fr> X-Spook: bank threat BCCI MILSATCOM Mossad NWO subversive Juiliett X-Ran: QpD|HZqI)plmzKNo`vy&5)04&pOq8UIg)/SEuo!>)wn#)m~[5*!Q|{E#I&e?`@bfg`@^S: X-Hue: magenta X-Debbugs-No-Ack: yes X-Attribution: GM Date: Mon, 12 Oct 2009 12:24:49 -0400 In-Reply-To: (LanX's message of "Mon, 12 Oct 2009 16:26:53 +0200") Message-ID: <3bpkcfulq.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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.) From unknown Mon Jun 23 02:24:19 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#3928: changes to compilation-mode Reply-To: Glenn Morris , 3928@debbugs.gnu.org Resent-From: Glenn Morris Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Mon, 12 Oct 2009 19:40:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 3928 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 3928-submit@emacsbugs.donarmstrong.com id=B3928.125537609432728 (code B ref 3928); Mon, 12 Oct 2009 19:40:06 +0000 Received: (at 3928) by emacsbugs.donarmstrong.com; 12 Oct 2009 19:34:54 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-4.7 required=4.0 tests=AWL,URIBL_CNKR, X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 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 n9CJYqiL032725 for <3928@emacsbugs.donarmstrong.com>; Mon, 12 Oct 2009 12:34:53 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1MxQfT-0003bp-K8; Mon, 12 Oct 2009 15:34:51 -0400 From: Glenn Morris To: Sam Steingold Cc: 3928@debbugs.gnu.org X-Spook: David John Oates ARPA South Africa Lexis-Nexis FTS2000 X-Ran: y,)SE,u^&4M|U*\Ih^_r{z0BZ\b[!D06Ch()\t^"mB8hcuzk!A2,MZ:F9XeiN=kf]sR]#. X-Hue: green X-Attribution: GM Date: Mon, 12 Oct 2009 15:34:51 -0400 Message-ID: <9f4oq44d9g.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Hi. This change: 2009-07-10 Sam Steingold * progmodes/compile.el (compilation-mode-font-lock-keywords): Omake sometimes indents the errors it prints, so allow all regexps to start with spaces. seems to cause issues with several of the existing compilation error regexps. See http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3928 Please could you comment on / fix this? I think it would be better not to have to change a bunch of the existing regexps. From unknown Mon Jun 23 02:24:19 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#3928: changes to compilation-mode Reply-To: Sam Steingold , 3928@debbugs.gnu.org Resent-From: Sam Steingold Original-Sender: sam.steingold@gmail.com Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Mon, 12 Oct 2009 21:15:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 3928 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 3928-submit@emacsbugs.donarmstrong.com id=B3928.125538157315043 (code B ref 3928); Mon, 12 Oct 2009 21:15:04 +0000 Received: (at 3928) by emacsbugs.donarmstrong.com; 12 Oct 2009 21:06:13 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: ** X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=2.5 required=4.0 tests=URIBL_CNKR autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from mail-gx0-f228.google.com (mail-gx0-f228.google.com [209.85.217.228]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9CL6Bj4015039 for <3928@emacsbugs.donarmstrong.com>; Mon, 12 Oct 2009 14:06:13 -0700 Received: by gxk28 with SMTP id 28so3913086gxk.9 for <3928@emacsbugs.donarmstrong.com>; Mon, 12 Oct 2009 14:06:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type; bh=tooQR5k3LN0zzsC18HlrH9pJstXLHHT027sGiBcBtx8=; b=FK8FWq23RLT6M3uDjaKponyk1rOnaSajGwcueqpZVRZbLlqRFvw9Y1+ljBCY54Wg9O uePAbLyKRte87ZJwYDdgI7bQn3JBveP17ZluAVm2FJSECmiNISON5FMfNmVpJFiZRhwm o+1V+NVhuab4xEMEDjDYBnyHSwKr2gw6vrGbI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=TIzFmXOR2V5AiV3zUxxd0ywn/510ycel+V+YPafkkS06vAs5V5EVdi9QTnZIYfUg+I rZ/W5/IKMxIk3fy+0aHk9Twq6nBc7iKK+j9JSOeENm/LDU1bnTf2fRbCZUsVsmAT7Vqw zLg89c6UpWTB9hPQrl1FdzAYz6NvAj8jZnYjQ= MIME-Version: 1.0 Sender: sam.steingold@gmail.com Received: by 10.150.35.3 with SMTP id i3mr10970110ybi.128.1255381566455; Mon, 12 Oct 2009 14:06:06 -0700 (PDT) In-Reply-To: <9f4oq44d9g.fsf@fencepost.gnu.org> References: <9f4oq44d9g.fsf@fencepost.gnu.org> Date: Mon, 12 Oct 2009 17:06:06 -0400 X-Google-Sender-Auth: b1aa00b173a2145b Message-ID: <1f77704b0910121406x5c5cf1a9x5d6132a30c51ef34@mail.gmail.com> From: Sam Steingold To: Glenn Morris Cc: 3928@debbugs.gnu.org Content-Type: text/plain; charset=UTF-8 Hi, I fixed this in the CVS. Sorry about the problem. -- Sam Steingold From unknown Mon Jun 23 02:24:19 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#3928: changes to compilation-mode Reply-To: Glenn Morris , 3928@debbugs.gnu.org Resent-From: Glenn Morris Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Tue, 13 Oct 2009 01:10:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 3928 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 3928-submit@emacsbugs.donarmstrong.com id=B3928.125539576416948 (code B ref 3928); Tue, 13 Oct 2009 01:10:06 +0000 Received: (at 3928) by emacsbugs.donarmstrong.com; 13 Oct 2009 01:02:44 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-5.9 required=4.0 tests=AWL,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 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 n9D12gCY016945 for <3928@emacsbugs.donarmstrong.com>; Mon, 12 Oct 2009 18:02:44 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1MxVmj-0004si-VV; Mon, 12 Oct 2009 21:02:41 -0400 From: Glenn Morris To: Sam Steingold Cc: 3928@debbugs.gnu.org References: <9f4oq44d9g.fsf@fencepost.gnu.org> <1f77704b0910121406x5c5cf1a9x5d6132a30c51ef34@mail.gmail.com> X-Spook: Indigo Albania mindwar World Trade Center Watergate X-Ran: RL>"K?yNbvV9k+WdCmqmVrMnp{{3YFT;=YwMU"`4VyE User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sam Steingold wrote: > Hi, I fixed this in the CVS. Thanks. In: (= ?* (aref pat 1)) I guess it is supposed to be `(aref pat 2)'? From unknown Mon Jun 23 02:24:19 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#3928: changes to compilation-mode Reply-To: Sam Steingold , 3928@debbugs.gnu.org Resent-From: Sam Steingold Original-Sender: sam.steingold@gmail.com Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Tue, 13 Oct 2009 03:05:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 3928 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 3928-submit@emacsbugs.donarmstrong.com id=B3928.12554027934060 (code B ref 3928); Tue, 13 Oct 2009 03:05:05 +0000 Received: (at 3928) by emacsbugs.donarmstrong.com; 13 Oct 2009 02:59:53 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: ** X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=2.5 required=4.0 tests=URIBL_CNKR autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from mail-gx0-f228.google.com (mail-gx0-f228.google.com [209.85.217.228]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9D2xppW004053 for <3928@emacsbugs.donarmstrong.com>; Mon, 12 Oct 2009 19:59:52 -0700 Received: by gxk28 with SMTP id 28so4145155gxk.9 for <3928@emacsbugs.donarmstrong.com>; Mon, 12 Oct 2009 19:59:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type; bh=3W/HkylueQpz7xT0uIqjfHSpY+twuyTTZLeFXNjVK7M=; b=KW+NIvusPAyO8x0Q6lW50Z7CKvGZSMCYpMkL1AuN+/RSMi/fOXX5lbWU1fEe3JZDfA Dg0q65NS0lP/2M6mb9GGKKjal6tEhqtdaSLsq3USTcNDwfHuPPdG/gj2qxoqn1GKcrdp M3b7DC/NKbgjvoUZTQVuPx+3+W7vjrYhBMPqY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=mLwxW6EuMCytDNfUTVEYPQyIo12l7/4PB5xdNWRDlFn0e1nvQjRXmH/k13Tq2hvEtb MZf2mFXDzD8cLjmDqXLbczOzLPHuwhXTfvkRI+h9OQuIz9eygtj6v/yf5Vqv/c4Rmufn GVvu/erp5P3EZDuCK7GRbmqgDhBt1KLgc6vA0= MIME-Version: 1.0 Sender: sam.steingold@gmail.com Received: by 10.150.43.3 with SMTP id q3mr6173375ybq.73.1255402786150; Mon, 12 Oct 2009 19:59:46 -0700 (PDT) In-Reply-To: References: <9f4oq44d9g.fsf@fencepost.gnu.org> <1f77704b0910121406x5c5cf1a9x5d6132a30c51ef34@mail.gmail.com> Date: Mon, 12 Oct 2009 22:59:46 -0400 X-Google-Sender-Auth: f5be5171ae956b1d Message-ID: <1f77704b0910121959j52e13114t713bccaa56c92022@mail.gmail.com> From: Sam Steingold To: Glenn Morris Cc: 3928@debbugs.gnu.org Content-Type: text/plain; charset=UTF-8 On Mon, Oct 12, 2009 at 9:02 PM, Glenn Morris wrote: > > (= ?* (aref pat 1)) > > I guess it is supposed to be `(aref pat 2)'? oops. fixed. sorry. -- Sam Steingold From unknown Mon Jun 23 02:24:19 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: owner@emacsbugs.donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: Kevin Ryde Subject: bug#3928 closed by Glenn Morris (Re: Bug#3928) Message-ID: References: <873a8l3pdn.fsf@blah.blah> X-Emacs-PR-Message: they-closed 3928 X-Emacs-PR-Package: emacs Reply-To: 3928@debbugs.gnu.org Date: Tue, 13 Oct 2009 03:45:07 +0000 Content-Type: multipart/mixed; boundary="----------=_1255405507-12224-1" This is a multi-part message in MIME format... ------------=_1255405507-12224-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs package: #3928: 23.1.50; compilation-mode not matching perl and more [regression] It has been closed by Glenn Morris . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Glenn Morris by replying to this email. --=20 3928: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D3928 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1255405507-12224-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 3928-done) by emacsbugs.donarmstrong.com; 13 Oct 2009 03:40:01 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.1 required=4.0 tests=AWL,ONEWORD,URIBL_CNKR, X_DEBBUGS_NO_ACK autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 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 n9D3dx49011313 for <3928-done@emacsbugs.donarmstrong.com>; Mon, 12 Oct 2009 20:40:01 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1MxYEw-0005If-Vl; Mon, 12 Oct 2009 23:39:59 -0400 From: Glenn Morris To: 3928-done@debbugs.gnu.org Subject: Re: Bug#3928 References: <9f4oq44d9g.fsf@fencepost.gnu.org> <1f77704b0910121406x5c5cf1a9x5d6132a30c51ef34@mail.gmail.com> <1f77704b0910121959j52e13114t713bccaa56c92022@mail.gmail.com> X-Spook: Taiwan Uzbekistan SSL Firewalls investigation e-bomb X-Ran: qnajTI@|;?dRBozuT (Sam Steingold's message of "Mon, 12 Oct 2009 22:59:46 -0400") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Fixed by this change: 2009-10-12 Sam Steingold * progmodes/compile.el (compilation-mode-font-lock-keywords): Do not prepend "^ *" to non-anchored patterns, like the perl one (bug#3928). ------------=_1255405507-12224-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 25 Jul 2009 12:43:19 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-1.1 required=4.0 tests=AWL,FOURLA,MURPHY_WRONG_WORD1, MURPHY_WRONG_WORD2 autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 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 n6PChDNo014009 for ; Sat, 25 Jul 2009 05:43:15 -0700 Received: from mx10.gnu.org ([199.232.76.166]:59571) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1MUgan-00016w-ID for emacs-pretest-bug@gnu.org; Sat, 25 Jul 2009 08:43:13 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1MUgal-0002hQ-CS for emacs-pretest-bug@gnu.org; Sat, 25 Jul 2009 08:43:13 -0400 Received: from mailout2-10.pacific.net.au ([125.255.80.137]:33771 helo=mailout2.pacific.net.au) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MUgak-0002hI-JY for emacs-pretest-bug@gnu.org; Sat, 25 Jul 2009 08:43:11 -0400 Received: from mailproxy2.pacific.net.au (mailproxy2.pacific.net.au [61.8.2.163]) by mailout2.pacific.net.au (Postfix) with ESMTP id 9CA9F156B52 for ; Sat, 25 Jul 2009 22:43:09 +1000 (EST) Received: from blah.blah (ppp2F11.dyn.pacific.net.au [61.8.47.17]) by mailproxy2.pacific.net.au (Postfix) with ESMTP id 2004E27407 for ; Sat, 25 Jul 2009 22:43:08 +1000 (EST) Received: from gg by blah.blah with local (Exim 4.69) (envelope-from ) id 1MUgaK-0002J9-L3 for emacs-pretest-bug@gnu.org; Sat, 25 Jul 2009 22:42:44 +1000 From: Kevin Ryde To: emacs-pretest-bug@gnu.org Subject: 23.1.50; compilation-mode not matching perl and more [regression] Date: Sat, 25 Jul 2009 22:42:44 +1000 Message-ID: <873a8l3pdn.fsf@blah.blah> User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) --=-=-= Running "emacs -Q etc/compilation.txt" and scrolling down to the perl section shows none of the sample perl errors matched at all, where I hoped they would be. I think the "^" anchor added by compilation-mode-font-lock-keywords means perl and some other more obscure patterns need a ".*", like they had back in Emacs 21, to work in the middle of a line. I noticed this on the perl one. I thought it was working fine not so long ago, so I don't know what/when/how it went bad. (The looseness of Emacs 22 not anchoring reverted, but the patterns not put back at the same time too??) 2009-07-25 Kevin Ryde * progmodes/compile.el (compilation-error-regexp-alist-alist): In aix, ftnchek, mips-1, mips-2, perl, sun, 4bsd entries add ".*" so as to match in the middle of a line, now that there's a "^" anchor is again enforced by compilation-mode-font-lock-keywords. These patterns were otherwise failing to match anything at all. In the 4bsd entry remove the "^" from inside the \\(\\) grouping since it's now unnecessary and since inside a group it isn't recognised by the omake indentation hack in compilation-mode-font-lock-keywords (meaning it wouldn't work with indentation). --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=compile.el.cope-with-anchoring.diff *** compile.el 11 Jul 2009 07:12:48 +1000 1.495 --- compile.el 25 Jul 2009 21:55:50 +1000 *************** *** 173,179 **** "\\(warning: .*\\)? at \\([^ \n]+\\):\\([0-9]+\\)$" 2 3 nil (1)) (aix ! " in line \\([0-9]+\\) of file \\([^ \n]+[^. \n]\\)\\.? " 2 1) (ant "^[ \t]*\\[[^] \n]+\\][ \t]*\\([^: \n]+\\):\\([0-9]+\\):\\(?:\\([0-9]+\\):[0-9]+:[0-9]+:\\)?\ --- 173,179 ---- "\\(warning: .*\\)? at \\([^ \n]+\\):\\([0-9]+\\)$" 2 3 nil (1)) (aix ! ".* in line \\([0-9]+\\) of file \\([^ \n]+[^. \n]\\)\\.? " 2 1) (ant "^[ \t]*\\[[^] \n]+\\][ \t]*\\([^: \n]+\\):\\([0-9]+\\):\\(?:\\([0-9]+\\):[0-9]+:[0-9]+:\\)?\ *************** *** 207,213 **** "^Error [0-9]+ at (\\([0-9]+\\):\\([^)\n]+\\))" 2 1) (ftnchek ! "\\(^Warning .*\\)? line[ \n]\\([0-9]+\\)[ \n]\\(?:col \\([0-9]+\\)[ \n]\\)?file \\([^ :;\n]+\\)" 4 2 3 (1)) (iar --- 207,213 ---- "^Error [0-9]+ at (\\([0-9]+\\):\\([^)\n]+\\))" 2 1) (ftnchek ! "\\(Warning\\)?.* line[ \n]\\([0-9]+\\)[ \n]\\(?:col \\([0-9]+\\)[ \n]\\)?file \\([^ :;\n]+\\)" 4 2 3 (1)) (iar *************** *** 284,292 **** ;; Should be lint-1, lint-2 (SysV lint) (mips-1 ! " (\\([0-9]+\\)) in \\([^ \n]+\\)" 2 1) (mips-2 ! " in \\([^()\n ]+\\)(\\([0-9]+\\))$" 1 2) (msft ;; AFAWK, The message may be a "warning", "error", or "fatal error". --- 284,292 ---- ;; Should be lint-1, lint-2 (SysV lint) (mips-1 ! ".* (\\([0-9]+\\)) in \\([^ \n]+\\)" 2 1) (mips-2 ! ".* in \\([^()\n ]+\\)(\\([0-9]+\\))$" 1 2) (msft ;; AFAWK, The message may be a "warning", "error", or "fatal error". *************** *** 308,314 **** ;; warnings" in recent perl when breaking circular references ;; during program or thread exit. (perl ! " at \\([^ \n]+\\) line \\([0-9]+\\)\\(?:[,.]\\|$\\| \ during global destruction\\.$\\)" 1 2) (php --- 308,314 ---- ;; warnings" in recent perl when breaking circular references ;; during program or thread exit. (perl ! "XXXXXXXXXX.* at \\([^ \n]+\\) line \\([0-9]+\\)\\(?:[,.]\\|$\\| \ during global destruction\\.$\\)" 1 2) (php *************** *** 332,338 **** nil 1 nil (3) nil (2 (compilation-face '(3)))) (sun ! ": \\(?:ERROR\\|WARNIN\\(G\\)\\|REMAR\\(K\\)\\) \\(?:[[:alnum:] ]+, \\)?\ File = \\(.+\\), Line = \\([0-9]+\\)\\(?:, Column = \\([0-9]+\\)\\)?" 3 4 5 (1 . 2)) --- 332,338 ---- nil 1 nil (3) nil (2 (compilation-face '(3)))) (sun ! ".*: \\(?:ERROR\\|WARNIN\\(G\\)\\|REMAR\\(K\\)\\) \\(?:[[:alnum:] ]+, \\)?\ File = \\(.+\\), Line = \\([0-9]+\\)\\(?:, Column = \\([0-9]+\\)\\)?" 3 4 5 (1 . 2)) *************** *** 345,351 **** 1 2 nil (4)) (4bsd ! "\\(?:^\\|:: \\|\\S ( \\)\\(/[^ \n\t()]+\\)(\\([0-9]+\\))\ \\(?:: \\(warning:\\)?\\|$\\| ),\\)" 1 2 nil (3)) (gcov-file --- 345,351 ---- 1 2 nil (4)) (4bsd ! "^\\(?:\\|.*:: \\|.*\\S ( \\)\\(/[^ \n\t()]+\\)(\\([0-9]+\\))\ \\(?:: \\(warning:\\)?\\|$\\| ),\\)" 1 2 nil (3)) (gcov-file --=-=-= In GNU Emacs 23.1.50.4 (i586-pc-linux-gnu, GTK+ Version 2.16.4) of 2009-07-24 on blah.blah configured using `configure 'CFLAGS=-O -g' '--prefix=/down/emacs/b/inst' '--with-x-toolkit=gtk'' 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: en_AU value of $XMODIFIERS: nil locale-coding-system: iso-latin-1-unix default-enable-multibyte-characters: t --=-=-=-- ------------=_1255405507-12224-1-- From unknown Mon Jun 23 02:24:19 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: owner@emacsbugs.donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: LanX Subject: bug#4689 closed by Glenn Morris (Re: Bug#3928) Message-ID: References: X-Emacs-PR-Message: they-closed 4689 X-Emacs-PR-Package: emacs Reply-To: 4689@debbugs.gnu.org Date: Tue, 13 Oct 2009 03:45:09 +0000 Content-Type: multipart/mixed; boundary="----------=_1255405509-12224-3" This is a multi-part message in MIME format... ------------=_1255405509-12224-3 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs package: #3928: 23.1.50; Matching of error lines in *compilation* buffer is broken = for perl-files It has been closed by Glenn Morris . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Glenn Morris by replying to this email. --=20 3928: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D3928 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1255405509-12224-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 3928-done) by emacsbugs.donarmstrong.com; 13 Oct 2009 03:40:01 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.1 required=4.0 tests=AWL,ONEWORD,URIBL_CNKR, X_DEBBUGS_NO_ACK autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 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 n9D3dx49011313 for <3928-done@emacsbugs.donarmstrong.com>; Mon, 12 Oct 2009 20:40:01 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1MxYEw-0005If-Vl; Mon, 12 Oct 2009 23:39:59 -0400 From: Glenn Morris To: 3928-done@debbugs.gnu.org Subject: Re: Bug#3928 References: <9f4oq44d9g.fsf@fencepost.gnu.org> <1f77704b0910121406x5c5cf1a9x5d6132a30c51ef34@mail.gmail.com> <1f77704b0910121959j52e13114t713bccaa56c92022@mail.gmail.com> X-Spook: Taiwan Uzbekistan SSL Firewalls investigation e-bomb X-Ran: qnajTI@|;?dRBozuT (Sam Steingold's message of "Mon, 12 Oct 2009 22:59:46 -0400") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Fixed by this change: 2009-10-12 Sam Steingold * progmodes/compile.el (compilation-mode-font-lock-keywords): Do not prepend "^ *" to non-anchored patterns, like the perl one (bug#3928). ------------=_1255405509-12224-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 9 Oct 2009 13:40:45 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: ** X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=2.1 required=4.0 tests=FOURLA,IMPRONONCABLE_2,MULTALT, MURPHY_DRUGS_REL8 autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 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 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 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 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 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= MIME-Version: 1.0 Received: by 10.142.249.24 with SMTP id w24mr208213wfh.325.1255095636455; Fri, 09 Oct 2009 06:40:36 -0700 (PDT) Date: Fri, 9 Oct 2009 15:40:36 +0200 Message-ID: Subject: 23.1.50; Matching of error lines in *compilation* buffer is broken for perl-files From: LanX To: emacs-pretest-bug@gnu.org Cc: boubaker@cena.fr, Roland McGrath , Daniel Pfeiffer Content-Type: multipart/alternative; boundary=00504501809891f3b7047580b911 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) --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-- ------------=_1255405509-12224-3--