From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.bugs Subject: bug#7180: 24.0.50; compilation-mode still has annoying issues with standard error msgs Date: Sat, 09 Oct 2010 12:12:00 +0900 Message-ID: <87tykwkqkf.fsf@catnip.gol.com> Reply-To: Miles Bader NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1286595727 383 80.91.229.12 (9 Oct 2010 03:42:07 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 9 Oct 2010 03:42:07 +0000 (UTC) To: 7180@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Oct 09 05:42:05 2010 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.69) (envelope-from ) id 1P4QJw-0000N8-52 for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Oct 2010 05:42:04 +0200 Original-Received: from localhost ([127.0.0.1]:59291 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P4QJv-0001uX-Bd for geb-bug-gnu-emacs@m.gmane.org; Fri, 08 Oct 2010 23:42:03 -0400 Original-Received: from [140.186.70.92] (port=54435 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P4QJq-0001uL-3E for bug-gnu-emacs@gnu.org; Fri, 08 Oct 2010 23:41:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P4QJo-0006AP-MN for bug-gnu-emacs@gnu.org; Fri, 08 Oct 2010 23:41:57 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58952) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P4QJo-0006AL-Kd for bug-gnu-emacs@gnu.org; Fri, 08 Oct 2010 23:41:56 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1P4Pny-0000M5-LB; Fri, 08 Oct 2010 23:09:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Miles Bader Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 09 Oct 2010 03:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 7180 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.12865937351352 (code B ref -1); Sat, 09 Oct 2010 03:09:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 9 Oct 2010 03:08:55 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P4Pnq-0000Ll-QK for submit@debbugs.gnu.org; Fri, 08 Oct 2010 23:08:55 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P4Pno-0000Lg-0i for submit@debbugs.gnu.org; Fri, 08 Oct 2010 23:08:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P4Pqx-0003cw-Jo for submit@debbugs.gnu.org; Fri, 08 Oct 2010 23:12:09 -0400 Original-Received: from lists.gnu.org ([199.232.76.165]:40362) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P4Pqx-0003cs-Ex for submit@debbugs.gnu.org; Fri, 08 Oct 2010 23:12:07 -0400 Original-Received: from [140.186.70.92] (port=35598 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P4Pqv-00081L-P1 for bug-gnu-emacs@gnu.org; Fri, 08 Oct 2010 23:12:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P4Pqu-0003cB-25 for bug-gnu-emacs@gnu.org; Fri, 08 Oct 2010 23:12:05 -0400 Original-Received: from smtp12.dentaku.gol.com ([203.216.5.74]:58921) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P4Pqt-0003bw-Gz; Fri, 08 Oct 2010 23:12:04 -0400 Original-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 1P4Pqr-0002Wy-Qi; Sat, 09 Oct 2010 12:12:01 +0900 Original-Received: by catnip.gol.com (Postfix, from userid 1000) id E29F7DF8E; Sat, 9 Oct 2010 12:12:00 +0900 (JST) System-Type: x86_64-unknown-linux-gnu Original-Lines: 147 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 eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 08 Oct 2010 23:09:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org 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:40778 Archived-At: [In the following example, the compiler is "clang++" (I was trying out clang) but both recent and old versions of "g++" show exactly the same problem, so it's nothing to do with clang in particular.] The following is some compiler output: ---------------- clang++ -DHAVE_CONFIG_H -I. -I/usr/include/libpng12 -pthread -I/usr/include/OpenEXR -I/usr/include/lua5.1 -O3 -fomit-frame-pointer -ffast-math -march=native -mfpmath=sse -g -std=c++98 -Wall -Wextra -pedantic-errors -fno-finite-math-only -MT envmap-light.o -MD -MP -MF .deps/envmap-light.Tpo -c -o envmap-light.o envmap-light.cc In file included from envmap-light.cc:13: In file included from ./scene.h:18: ./surface.h:75:55: error: extra ';' inside a struct or union [-pedantic] virtual Sampler *make_sampler () const { return 0; }; ^ ---------------- When I hit next-error, it should jump directly to the real error ("./surface.h:..."), but instead it positions the cursor on the first "error context line", ("In file included from envmap-light.cc:13:"), and then apparently gets confused, because it prompts for a file to find the "error" in. So my typical pattern when stepping through such output is "C-x ` C-g C-x ` C-g ..." until I hit an actual error (actually I have my own more binding for "C-x `", but same difference). gcc has used this sort of error-context output for ages, so I assume this is a recent regression in emacs, probably related to the recent problems caused by adding ruby error patterns... [previously it used to simply ignore such context lines, I think] Thanks, -Miles In GNU Emacs 24.0.50.2 (x86_64-unknown-linux-gnu, GTK+ Version 2.20.1) of 2010-10-08 on catnip Windowing system distributor `The X.Org Foundation', version 11.0.10707000 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=SCIM locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Message Minor modes in effect: diff-auto-refine-mode: t flyspell-mode: t rcirc-track-minor-mode: t minibuffer-electric-default-mode: t mml-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t 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 abbrev-mode: t Recent input: o SPC i t ' s SPC n o t SPC r e a l t e h r e l a t e d SPC t h h h n o t h i g n SPC t o SPC d o SPC w i t h SPC c l a n g SPC i n SPC p a r t i c u l a r M-b M-b M-b M-b M-b M-b M-b M-f C-t C-a C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-p C-p C-k < C-n C-h f C-g C-x C-g M-f M-f - m o d e C-x C-b C-n C-h C-g m a j o r - m o d e C-x b f f f f d M-f M-f M-f M-d SPC [ g c c ] C-M-b C-M-k s t a n d a r d C-e > C-u C-p T h a n k s , - M i l e s C-o C-h v c o m p i l a SPC ? e r SPC ? - l i SPC C-h v M-p C-e h r SPC C-h v c o m p i SPC SPC a SPC - r e SPC h h p a SPC h e r SPC ? - r SPC - SPC C-x 1 C-q C-q C-q C-q C-q C-q C-q C-q C-q C-q C-q C-q C-q C-q C-q C-q C-n C-SPC < C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n x r e p o r t - e m a SPC Recent messages: xding Updating buffer list...done Commands: m, u, t, RET, g, k, S, D, Q; q to quit; h for help xding compilation-mode Mark set Making completion list... [2 times] Type C-x 1 to delete the help window. Making completion list... [3 times] Mark set Load-path shadows: /usr/share/emacs23/site-lisp/magit hides /usr/share/emacs/site-lisp/magit /usr/share/emacs23/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup Features: (shadow emacsbug warnings log-view vc vc-dispatcher jka-compr info shr ibuf-ext ibuffer make-mode autoconf autoconf-mode compile comint dabbrev cc-mode cc-fonts cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs help-mode view vc-git dired magit diff-mode log-edit pcvs-util add-log cl skeleton multi-isearch sh-script executable copyright time crm thingatpt cus-edit newcomment flyspell ispell gnus-fun pp gnus-html browse-url xml url-cache mm-url url url-proxy url-privacy url-expand url-methods url-history url-cookie url-util url-parse url-vars flow-fill sort gnus-cite smiley ansi-color mail-extr gnus-async gnus-bcklg face-remap gnus-dup qp gnus-ml disp-table gnus-topic parse-time 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 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) -- Omochiroi!