From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 02 10:14:45 2010 Received: (at submit) by debbugs.gnu.org; 2 Aug 2010 14:14:45 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ofvmv-0005S3-5u for submit@debbugs.gnu.org; Mon, 02 Aug 2010 10:14:45 -0400 Received: from mx10.gnu.org ([199.232.76.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ofvmt-0005Ry-PA for submit@debbugs.gnu.org; Mon, 02 Aug 2010 10:14:44 -0400 Received: from lists.gnu.org ([199.232.76.165]:36726) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1OfvnH-0000pK-66 for submit@debbugs.gnu.org; Mon, 02 Aug 2010 10:15:07 -0400 Received: from [140.186.70.92] (port=38667 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OfvnF-00014H-CQ for bug-gnu-emacs@gnu.org; Mon, 02 Aug 2010 10:15:06 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=unavailable version=3.3.1 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OfvnC-0003Hn-Bh for bug-gnu-emacs@gnu.org; Mon, 02 Aug 2010 10:15:05 -0400 Received: from smtp12.dentaku.gol.com ([203.216.5.74]:49223) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OfvnB-0003HH-UC; Mon, 02 Aug 2010 10:15:02 -0400 Received: from 218.231.154.125.eo.eaccess.ne.jp ([218.231.154.125] helo=catnip.gol.com) by smtp12.dentaku.gol.com with esmtpa (Dentaku) id 1OfvnA-0002db-8D; Mon, 02 Aug 2010 23:15:00 +0900 Received: by catnip.gol.com (Postfix, from userid 1000) id 6DC4DDF93; Mon, 2 Aug 2010 23:14:59 +0900 (JST) From: Miles Bader To: bug-gnu-emacs@gnu.org Subject: 24.0.50; compile-mode fails on gcc-4.5 error messages System-Type: x86_64-unknown-linux-gnu Date: Mon, 02 Aug 2010 23:14:59 +0900 Message-ID: <87sk2x14po.fsf@catnip.gol.com> Lines: 150 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: ClamAV GOL (outbound) X-Abuse-Complaints: abuse@gol.com X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -6.6 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Miles Bader List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) Emacs compile.el fails to parse correctly gcc 4.5 error messages that include a column as well as a line number. To reproduce, assuming gcc 4.5 is installed as "gcc-4.5": (1) Put the following text into a file "x.c": int y =3D 1; int z =3D q1; int p =3D 1; (2) Now compile by doing "M-x compile", and for a compilation command, use "gcc-4.5 -c x.c". (3) The compiler will output an error message like: -*- mode: compilation; default-directory: "/tmp/" -*- Compilation started at Mon Aug 2 23:07:40 gcc-4.5 -c x.c x.c:2:12: error: =E2=80=98q1=E2=80=99 undeclared here (not in a funct= ion) Compilation exited abnormally with code 1 at Mon Aug 2 23:07:40 (4) One should be able to jump to the error by giving the command `next-error' ("C-x `"); however next-error apparently is confused by the error, and instead gives a prompt like: Find this error in (default x.c:2): /tmp/ Apparently it fails to recognize the FILE:LINE:COL: format, and thinks that ":2" is part of the filename. My recollection is that such error messages used to be properly parsed by next-error, so maybe some recent change has broken this. Thanks, -Miles In GNU Emacs 24.0.50.20 (x86_64-unknown-linux-gnu, GTK+ Version 2.20.1) of 2010-07-31 on catnip Windowing system distributor `The X.Org Foundation', version 11.0.10706901 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: ja_JP.UTF-8 value of $XMODIFIERS: @im=3DSCIM locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Group Minor modes in effect: gnus-topic-mode: t gnus-undo-mode: t rcirc-track-minor-mode: t minibuffer-electric-default-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t scroll-bar-mode: right global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-v C-g C-g C-x C-v / t m p / x . c i n t=20 SPC x SPC SPC =3D SPC 1 ; C-a C-u 3 SPC C-e=20 C-p C-a C-k C-k C-y C-y C-y C-y C-y C-u C-p=20 C-n C-e C-b C-b q C-x C-s C-a C-n C-n C-n C-n C-u C-p=20 C-M-f C-f C-d y C-n C-b C-d z C-n C-b C-d p C-n C-b=20 C-d q C-x C-s C-n C-n C-x C-e x . o y e C-x=20 C-e C-g C-/ C-x C-e C-a d d g c c=20 SPC - c C-x C-e M-p M-n c =20 C-x C-n C-x C-e C-a M-f - 4 . 5 C-x C-n C-g=20 C-x C-g C-x C-e M-b M-b M-b M-b C-d 4 C-x=20 C-n C-g C-x s e d e l c o m p i l e - m o=20 d e SPC f a i l s SPC t o SPC u n d e r s t a n d SPC=20 5 g c c - 4 . 5 SPC e r r o 5 r SPC m =20 r SPC m e s s a=20 g e s C-h v c o m i p l e h c o m=20 p i l e SPC SPC C-u e r r o SPC r SPC C-g =20 x c u s t o m z i e C-g C-x b C-a C-p C-p=20 C-k C-k C-n C-n C-n C-k C-k C-n C-n C-x C-s =20 x C-g C-g C-x s C-a C-x k C-x k =20 y e s x r e p o r t - e m SPC Recent messages: xding byte-code: End of buffer xding byte-code: End of buffer Saving file /tmp/x.c... Wrote /tmp/x.c xding Quit xding Ispell process killed Load-path shadows: None found. Features: (shadow emacsbug help-mode view warnings compile comint copyright cc-mode cc-fonts cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs flyspell ispell pp gnus-fun qp flow-fill sort gnus-cite smiley ansi-color mail-extr gnus-async gnus-bcklg face-remap gnus-dup gnus-ml disp-table gnus-topic parse-time timezone byte-opt bytecomp byte-compile nnml auth-source netrc gnus-delay gnus-draft gnus-agent gnus-srvr gnus-score score-mode nnvirtual nntp gnus-cache gnus-msg gnus-art mm-uu mml2015 epg-config mm-view smime password-cache dig mailcap gnus-sum gnus-group gnus-undo nndraft nnmh nnoo nnmail mail-source format-spec gnus-start gnus-spec gnus-int gnus-range gnus-win lua-mode-autoloads package reporter server uniquify rcirc time-date ring minibuf-eldef gnus gnus-ems nnheader gnus-util wid-edit cus-start cus-load derived advice help-fns advice-preload easy-mmode message sendmail regexp-opt rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mailabbrev mail-utils gmm-utils mailheader japan-util tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) --=20 The key to happiness is having dreams. [from a fortune cookie] From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 05 00:44:30 2010 Received: (at 6778) by debbugs.gnu.org; 5 Aug 2010 04:44:30 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OgsJh-0006SD-RR for submit@debbugs.gnu.org; Thu, 05 Aug 2010 00:44:30 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OgsJg-0006S8-Ba for 6778@debbugs.gnu.org; Thu, 05 Aug 2010 00:44:28 -0400 Received: from dann by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1OgsKA-0003j6-AU; Thu, 05 Aug 2010 00:44:58 -0400 To: Miles Bader Subject: Re: bug#6778: 24.0.50; compile-mode fails on gcc-4.5 error messages References: <87sk2x14po.fsf@catnip.gol.com> From: Dan Nicolaescu X-Debbugs-No-Ack: yes Date: Thu, 05 Aug 2010 00:44:58 -0400 In-Reply-To: <87sk2x14po.fsf@catnip.gol.com> (Miles Bader's message of "Mon\, 02 Aug 2010 23\:14\:59 +0900") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -6.5 (------) X-Debbugs-Envelope-To: 6778 Cc: 6778@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.5 (------) Miles Bader writes: > Emacs compile.el fails to parse correctly gcc 4.5 error messages that > include a column as well as a line number. > > To reproduce, assuming gcc 4.5 is installed as "gcc-4.5": > > (1) Put the following text into a file "x.c": > > int y =3D 1; > int z =3D q1; > int p =3D 1; > > (2) Now compile by doing "M-x compile", and for a compilation command, > use "gcc-4.5 -c x.c". > > (3) The compiler will output an error message like: > > -*- mode: compilation; default-directory: "/tmp/" -*- > Compilation started at Mon Aug 2 23:07:40 > > gcc-4.5 -c x.c > x.c:2:12: error: =E2=80=98q1=E2=80=99 undeclared here (not in a fun= ction) > > Compilation exited abnormally with code 1 at Mon Aug 2 23:07:40 > > (4) One should be able to jump to the error by giving the command > `next-error' ("C-x `"); however next-error apparently is confused > by the error, and instead gives a prompt like: > > Find this error in (default x.c:2): /tmp/ > > > Apparently it fails to recognize the FILE:LINE:COL: format, and thinks > that ":2" is part of the filename. > > My recollection is that such error messages used to be properly parsed > by next-error, so maybe some recent change has broken this. Indeed. The bug was introduced by this change: 2010-07-10 Aleksei Gusev (tiny change) * progmodes/compile.el (compilation-error-regexp-alist-alist): Add regexps for cucumber and ruby. From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 12 18:36:43 2010 Received: (at control) by debbugs.gnu.org; 12 Aug 2010 22:36:43 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OjgO8-0002Ag-G2 for submit@debbugs.gnu.org; Thu, 12 Aug 2010 18:36:43 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OjgO6-0002Ab-D1 for control@debbugs.gnu.org; Thu, 12 Aug 2010 18:36:38 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1OjgOt-0001Ev-KI; Thu, 12 Aug 2010 18:37:27 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19556.30631.473829.201011@fencepost.gnu.org> Date: Thu, 12 Aug 2010 18:37:27 -0400 From: Glenn Morris To: control Subject: control X-Attribution: GM X-Mailer: VM (www.wonderworks.com/vm), GNU Emacs (www.gnu.org/software/emacs) X-Hue: magenta X-Ran: @D7rVTF*)Z$5jv(;Yk&7!pd!;3vUZ!++zSU]W{I*V%c1&"Ms#I3.U''cL,BOMW\Cr8rpOG X-Debbugs-No-Ack: yes X-Spam-Score: -5.1 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.1 (-----) merge 6778 6783 merge 6680 6752 6801 close 6813 merge 6818 6840 From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 14 20:05:13 2010 Received: (at 6778) by debbugs.gnu.org; 15 Aug 2010 00:05:13 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OkQiu-0004X2-UO for submit@debbugs.gnu.org; Sat, 14 Aug 2010 20:05:13 -0400 Received: from pantheon-po44.its.yale.edu ([130.132.50.78]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OkQis-0004Wx-Ua for 6778@debbugs.gnu.org; Sat, 14 Aug 2010 20:05:11 -0400 Received: from furry (173-14-147-246-NewEngland.hfc.comcastbusiness.net [173.14.147.246]) (authenticated bits=0) by pantheon-po44.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o7F065vs001204 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 14 Aug 2010 20:06:06 -0400 Received: by furry (Postfix, from userid 1000) id A173D16D402; Sat, 14 Aug 2010 20:06:05 -0400 (EDT) From: Chong Yidong To: Miles Bader Subject: Re: bug#6778: 24.0.50; compile-mode fails on gcc-4.5 error messages Date: Sat, 14 Aug 2010 20:06:05 -0400 Message-ID: <87fwygvixe.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-Spam-Score: -2.8 (--) X-Debbugs-Envelope-To: 6778 Cc: Dan Nicolaescu , 6778@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.8 (--) > Emacs compile.el fails to parse correctly gcc 4.5 error messages that > include a column as well as a line number. I've checked in a fix (by giving the Ruby rule a lower priority than Gnu). Thanks. From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 14 20:05:23 2010 Received: (at control) by debbugs.gnu.org; 15 Aug 2010 00:05:23 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OkQj4-0004XD-91 for submit@debbugs.gnu.org; Sat, 14 Aug 2010 20:05:22 -0400 Received: from pantheon-po44.its.yale.edu ([130.132.50.78]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OkQj2-0004X8-QP for control@debbugs.gnu.org; Sat, 14 Aug 2010 20:05:21 -0400 Received: from furry (173-14-147-246-NewEngland.hfc.comcastbusiness.net [173.14.147.246]) (authenticated bits=0) by pantheon-po44.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o7F06GbS001213 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sat, 14 Aug 2010 20:06:16 -0400 Received: by furry (Postfix, from userid 1000) id EA62216D402; Sat, 14 Aug 2010 20:06:15 -0400 (EDT) From: Chong Yidong To: control@debbugs.gnu.org Subject: close 6778 Date: Sat, 14 Aug 2010 20:06:15 -0400 Message-ID: <87d3tkvix4.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-Spam-Score: -2.8 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.8 (--) close 6778 thanks From unknown Tue Aug 19 14:21:58 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 12 Sep 2010 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator