From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jed Brown Newsgroups: gmane.emacs.bugs Subject: bug#6937: 24.0.50; compilation-next-error-function parsing is dependent on where the cursor resides Date: Sat, 28 Aug 2010 20:37:30 +0200 Message-ID: <878w3q1t3p.fsf@59A2.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1283076691 5003 80.91.229.12 (29 Aug 2010 10:11:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 29 Aug 2010 10:11:31 +0000 (UTC) To: 6937@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Aug 29 12:11:27 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 1OperE-0008R3-Uq for geb-bug-gnu-emacs@m.gmane.org; Sun, 29 Aug 2010 12:11:25 +0200 Original-Received: from localhost ([127.0.0.1]:56001 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OperE-0003DZ-Ah for geb-bug-gnu-emacs@m.gmane.org; Sun, 29 Aug 2010 06:11:24 -0400 Original-Received: from [140.186.70.92] (port=45550 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OpQJS-0006eT-77 for bug-gnu-emacs@gnu.org; Sat, 28 Aug 2010 14:39:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OpQJQ-0003TW-Du for bug-gnu-emacs@gnu.org; Sat, 28 Aug 2010 14:39:33 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35438) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OpQJQ-0003TR-CE for bug-gnu-emacs@gnu.org; Sat, 28 Aug 2010 14:39:32 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OpQE6-0003NI-GK; Sat, 28 Aug 2010 14:34:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jed Brown Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 28 Aug 2010 18:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 6937 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.128302040712961 (code B ref -1); Sat, 28 Aug 2010 18:34:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 28 Aug 2010 18:33:27 +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 1OpQDW-0003N0-Gr for submit@debbugs.gnu.org; Sat, 28 Aug 2010 14:33:27 -0400 Original-Received: from mx10.gnu.org ([199.232.76.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OpQCy-0003MJ-Ib for submit@debbugs.gnu.org; Sat, 28 Aug 2010 14:32:55 -0400 Original-Received: from lists.gnu.org ([199.232.76.165]:36224) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1OpQEQ-0001Ve-Te for submit@debbugs.gnu.org; Sat, 28 Aug 2010 14:34:22 -0400 Original-Received: from [140.186.70.92] (port=59064 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OpQEN-0006Cd-VI for bug-gnu-emacs@gnu.org; Sat, 28 Aug 2010 14:34:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OpQEL-0002rq-Ot for bug-gnu-emacs@gnu.org; Sat, 28 Aug 2010 14:34:19 -0400 Original-Received: from mail-fx0-f41.google.com ([209.85.161.41]:42874) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OpQEL-0002rS-G2 for bug-gnu-emacs@gnu.org; Sat, 28 Aug 2010 14:34:17 -0400 Original-Received: by fxm3 with SMTP id 3so3110051fxm.0 for ; Sat, 28 Aug 2010 11:34:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:from:to:subject :user-agent:date:message-id:mime-version:content-type :content-transfer-encoding; bh=NyqObcK53JqQt4To89JL5HPyVvA4dLsKlbjamv25ERU=; b=ouv6BJL7ot7YKm0WFtagaL7h51fVmOlsoIVUi+Vrx28NTsOoq2XQcoTpgEWuL3hN+2 2ObEtZCGh5B6uLVtkzF13p9h58YmPUj6NJ81uhbdnPfTuEHojfa4RN9auNx1U6njW/pz hVkEvorJwLS+duHVQfb/fpmkd4F4xfqF7D/CM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:subject:user-agent:date:message-id:mime-version :content-type:content-transfer-encoding; b=fysLjEsJJyMaz1Bro8kwODXQ/mKz3HaQ7/vpTr9XPk4e8MzUUOLrx38jlc3LZKRVPp mCmlkl+PgZSEME+YQDLatQWBjpjuT5ns+2dJJ+7MSLURCwlQ7nKqbaK6SDPoGnxw4xlC oSfbvTvo3mfUaNCZ7KfwjgWNwpgGq46qP/llc= Original-Received: by 10.223.111.78 with SMTP id r14mr1971987fap.29.1283020453632; Sat, 28 Aug 2010 11:34:13 -0700 (PDT) Original-Received: from kunyang (vawpc43.ethz.ch [129.132.59.11]) by mx.google.com with ESMTPS id b11sm2530550faq.30.2010.08.28.11.34.12 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 28 Aug 2010 11:34:12 -0700 (PDT) User-Agent: Notmuch/0.3.1-60-g66b4f88 (http://notmuchmail.org) Emacs/24.0.50.1 (x86_64-unknown-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Mailman-Approved-At: Sat, 28 Aug 2010 14:33:25 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 28 Aug 2010 14:34:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Sun, 29 Aug 2010 06:11:12 -0400 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:39809 Archived-At: emacs -Q, M-x compile some C code which produces some errors or warnings. The lines will look like /home/jed/dohp/src/fs/interface/fsgeom.c:12:14: warning: unused variable = =E2=80=98off=E2=80=99 Press "M-g n" once or twice, instead of jumping through the errors, the minibuffer asks Find this error in (default fsgeom.c:12): This can also be observed with compile-goto-error (bount to RET) in the *compilation* buffer. If the cursor is at any character up to and including the 'g' in "warning", then it will go directly to the source line, but the failure above will occur if the cursor is anywhere on the line after the 'g'. In the case of an error, the critical character is the space immediately preceding "error". Site configuration follows, this was built from the Git repository as of 2010-08-28, but the issue has been present for several weeks. In GNU Emacs 24.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.20.1) of 2010-08-28 on kunyang Windowing system distributor `The X.Org Foundation', version 11.0.10801902 configured using `configure 'CFLAGS=3D-march=3Dnative -O1 -pipe -fno-optim= ize-sibling-calls' '--prefix=3D/usr' '--sysconfdir=3D/etc' '--localstatedir= =3D/var' '--libexecdir=3D/usr/lib' '--mandir=3D/usr/share/man' '--without-s= ound' '--with-x-toolkit=3Dgtk' 'LDFLAGS=3D-Wl,--hash-style=3Dgnu -Wl,--as-n= eeded'' 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_US.utf8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: C/lw Minor modes in effect: shell-dirtrack-mode: t subword-mode: t yas/global-mode: t yas/minor-mode: t senator-minor-mode: t which-function-mode: t semantic-mru-bookmark-mode: t semantic-idle-summary-mode: t semantic-idle-scheduler-mode: t semantic-decoration-mode: t semantic-highlight-func-mode: t semantic-stickyfunc-mode: t show-paren-mode: t diff-auto-refine-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t abbrev-mode: t Recent input: i f SPC ( C-e C-b ) SPC S E T E R R Q ( P E T S C _=20 E R R _ M-b M-d C O M M C-f S E L F , P E T S C _ E=20 R R _ S Y S , " C o u l d SPC n o t SPC o p e n SPC=20 p i p e " ) C-x C-s C-x=20 b m p r i f SPC=20 ( ! C-/ C-/ C-/ C-/ C-/=20 C-/ C-g C-/ C-e M-; N=20 o t SPC v e r y SPC u s e f u l SPC e r r o r SPC b=20 a h v e h a v i=20 o r , SPC b u t SPC w h a t SPC t o SPC d o SPC a t=20 SPC E O F =20 i s SPC d e s i r e d SPC b e h a v i=20 o r SPC a t SPC l i n e SPC E O F =20 f o r SPC a t t e m p t SPC =20 SPC t o SPC r e a d SPC a t SPC E O F ? C-x C-s =20 M-g n M-g n C-g =20 C-b C-b C-b C-b C-b =20 M-f C-g C-b C-f =20 C-g C-g C-x C-g M-x=20 v e r s M-x M-p M-x M-p =20 M-x M-p M-x=20 r e p o r t - m e m a c Recent messages: Wrote /home/jed/petsc/src/sys/fileio/mprint.c [2 times] Quit Mark set [4 times] Quit Mark set [3 times] Quit [2 times] GNU Emacs 24.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.20.1) of 2010= -08-28 on kunyang [8 times] dInt n Scanning for dabbrevs...100% dabbrev-expand: No dynamic expansion for `compilation-next-error-fun' found Load-path shadows: /usr/share/emacs/site-lisp/cedet/common/ezimage hides /usr/share/emacs/24.0= .50/lisp/ezimage /usr/share/emacs/site-lisp/cedet/speedbar/speedbar hides /usr/share/emacs/2= 4.0.50/lisp/speedbar /usr/share/emacs/site-lisp/cedet/speedbar/dframe hides /usr/share/emacs/24.= 0.50/lisp/dframe /usr/share/emacs/site-lisp/cedet/speedbar/sb-image hides /usr/share/emacs/2= 4.0.50/lisp/sb-image /usr/share/emacs/site-lisp/cedet/eieio/eieio-custom hides /usr/share/emacs/= 24.0.50/lisp/emacs-lisp/eieio-custom /usr/share/emacs/site-lisp/cedet/eieio/eieio-opt hides /usr/share/emacs/24.= 0.50/lisp/emacs-lisp/eieio-opt /usr/share/emacs/site-lisp/cedet/eieio/eieio-base hides /usr/share/emacs/24= .0.50/lisp/emacs-lisp/eieio-base /usr/share/emacs/site-lisp/cedet/eieio/eieio-comp hides /usr/share/emacs/24= .0.50/lisp/emacs-lisp/eieio-comp /usr/share/emacs/site-lisp/cedet/eieio/eieio-datadebug hides /usr/share/ema= cs/24.0.50/lisp/emacs-lisp/eieio-datadebug /usr/share/emacs/site-lisp/cedet/eieio/chart hides /usr/share/emacs/24.0.50= /lisp/emacs-lisp/chart /usr/share/emacs/site-lisp/cedet/eieio/eieio-speedbar hides /usr/share/emac= s/24.0.50/lisp/emacs-lisp/eieio-speedbar /usr/share/emacs/site-lisp/cedet/eieio/eieio hides /usr/share/emacs/24.0.50= /lisp/emacs-lisp/eieio /usr/share/emacs/site-lisp/cedet/common/data-debug hides /usr/share/emacs/2= 4.0.50/lisp/cedet/data-debug /usr/share/emacs/site-lisp/cedet/common/pulse hides /usr/share/emacs/24.0.5= 0/lisp/cedet/pulse /usr/share/emacs/site-lisp/cedet/common/cedet-global hides /usr/share/emacs= /24.0.50/lisp/cedet/cedet-global /usr/share/emacs/site-lisp/cedet/ede/ede hides /usr/share/emacs/24.0.50/lis= p/cedet/ede /usr/share/emacs/site-lisp/cedet/semantic/semantic hides /usr/share/emacs/2= 4.0.50/lisp/cedet/semantic /usr/share/emacs/site-lisp/cedet/srecode/srecode hides /usr/share/emacs/24.= 0.50/lisp/cedet/srecode /usr/share/emacs/site-lisp/cedet/common/cedet-cscope hides /usr/share/emacs= /24.0.50/lisp/cedet/cedet-cscope /usr/share/emacs/site-lisp/cedet/common/cedet-idutils hides /usr/share/emac= s/24.0.50/lisp/cedet/cedet-idutils /usr/share/emacs/site-lisp/cedet/common/cedet hides /usr/share/emacs/24.0.5= 0/lisp/cedet/cedet /usr/share/emacs/site-lisp/cedet/common/inversion hides /usr/share/emacs/24= .0.50/lisp/cedet/inversion /usr/share/emacs/site-lisp/cedet/common/mode-local hides /usr/share/emacs/2= 4.0.50/lisp/cedet/mode-local /usr/share/emacs/site-lisp/cedet/common/cedet-files hides /usr/share/emacs/= 24.0.50/lisp/cedet/cedet-files Features: (shadow sort mail-extr hippie-exp emacsbug eieio-opt help-mode view semantic-analyze-complete semantic-symref-grep grep semantic-symref-list newcomment calc-vec calc-aent calc-lang calc-menu calc-embed calc-ext calc calc-loaddefs calc-macs tramp-imap tramp-gw tramp-gvfs zeroconf dbus xml tramp-fish tramp-smb tramp-cache tramp-ftp tramp-cmds tramp shell format-spec tramp-compat trampver semantic-tag-write executable dabbrev multi-isearch vc-hg xhg-dvc xhg xhg-annotate xhg-mq xhg-log tla smerge-mode dvc-state dvc-config time-date diff tla-gnus dvc-gnus dvc-cmenu dvc-about dvc-version ede-simple ede-linux ede-emacs eldoc semanticdb-typecache compile comint vc-git xgit-dvc xgit xgit-annotate rect dvc-annotate xgit-log dvc-revlist dvc-diff dvc-fileinfo bzr-core tla-core pp tla-autoconf tla-defs dvc-log vc vc-dispatcher dvc-unified dvc-tips dired-x dired-aux ffap add-log ediff-merg ediff-diff ediff-wind ediff-help ediff-util ediff-mult ediff-init ediff xdarcs-core xgit-core xhg-core xmtn-minimal semantic-find semantic-tag-ls ede-locate locate dired semantic-tag-file semanticdb-file cedet-files semantic-c semantic-c-by semantic-lex-spp subword cc-mode cc-fonts cc-menus cc-cmds server semantic-el semantic-bovine bovine-debug semantic-debug package uniquify printing ps-print ps-def lpr preview-latex tex-site auto-loads slime-autoloads caml-font cmake-mode thingatpt cc-styles cc-align cc-engine cc-vars cc-defs tempo url url-proxy url-privacy url-expand url-methods url-history url-cookie url-util url-parse auth-source gnus-util timezone url-vars xml-parse doxymacs yasnippet dropdown-list semanticdb-global semantic-symref-global semantic-symref cedet-global gtags eassist edmacro kmacro ede-cpp-root srecode-mode srecode-insert srecode-find srecode-ctxt srecode-compile srecode-table semantic-ia semantic-gcc semantic-dep senator which-func semantic-imenu semantic-sb imenu semantic-mru-bookmark ring semanticdb-mode semantic-idle semantic-decorate-include semanticdb-find semanticdb-ref semantic-decorate-mode semantic-decorate pulse cedet cedet-contrib-load contrib-loaddefs cogre-load cogre-loaddefs cogre-srecode semantic-edit srecode-template-mode srecode-template srecode-template-wy semantic-wisent wisent srecode-map srecode-dictionary speedbar-load speedbar-loaddefs ede-load ede-loaddefs ede-speedbar ede-files ede eieio-speedbar semantic-ia-sb semantic-analyze semantic-scope semantic-analyze-fcn semantic-sort semanticdb-el semanticdb semantic-ctxt semantic-format semantic-util-modes semantic-util semantic semantic-lex semantic-tag working fame speedbar sb-image ezimage dframe assoc eieio-custom ede-source eieio-base srecode-load srecode srecode-loaddefs semantic-load semantic-fw semantic-loaddefs mode-local find-func eieio-load eieio-loaddefs cedet-load cedet-compat cedet-loaddefs eieio warnings byte-opt bytecomp byte-compile inversion browse-kill-ring advice help-fns advice-preload derived ido dvc-autoloads dvc-core dvc-lisp dvc-buffers dvc-ui dvc-register dvc-utils dvc-emacs ewoc dvc-defs dvc-site paren eudc cus-edit cus-start cus-load eudc-vars starttls smtpmail notmuch notmuch-message notmuch-maildir-fcc notmuch-hello wid-edit notmuch-show notmuch-mua notmuch-address notmuch-wash diff-mode easy-mmode coolj notmuch-query json notmuch-lib message idna sendmail regexp-opt rfc822 mml easymenu mml-sec mailabbrev mail-utils gmm-utils mailheader mm-view smime password-cache dig mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util mail-prsvr cl cl-19 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 system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs)