From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Andrew W. Nosenko" Newsgroups: gmane.emacs.bugs Subject: bug#6937: 24.0.50; compilation-next-error-function parsing is dependent on where the cursor resides Date: Mon, 30 Aug 2010 13:56:31 +0300 Message-ID: References: <878w3q1t3p.fsf@59A2.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1283180335 23784 80.91.229.12 (30 Aug 2010 14:58:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 30 Aug 2010 14:58:55 +0000 (UTC) Cc: 6937@debbugs.gnu.org To: Jed Brown Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Aug 30 16:58:52 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 1Oq5ou-00059s-QQ for geb-bug-gnu-emacs@m.gmane.org; Mon, 30 Aug 2010 16:58:49 +0200 Original-Received: from localhost ([127.0.0.1]:56513 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oq5Lf-0002Vn-5f for geb-bug-gnu-emacs@m.gmane.org; Mon, 30 Aug 2010 10:28:35 -0400 Original-Received: from [140.186.70.92] (port=51490 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oq5JT-0000yq-W9 for bug-gnu-emacs@gnu.org; Mon, 30 Aug 2010 10:26:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oq54z-0004oU-Of for bug-gnu-emacs@gnu.org; Mon, 30 Aug 2010 10:11:23 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36985) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oq54z-0004oQ-Li for bug-gnu-emacs@gnu.org; Mon, 30 Aug 2010 10:11:21 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Oq4cd-00044L-Ff; Mon, 30 Aug 2010 09:42:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Andrew W. Nosenko" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 30 Aug 2010 13:42:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6937 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6937-submit@debbugs.gnu.org id=B6937.128317570015604 (code B ref 6937); Mon, 30 Aug 2010 13:42:03 +0000 Original-Received: (at 6937) by debbugs.gnu.org; 30 Aug 2010 13:41:40 +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 1Oq4cB-00043c-Uh for submit@debbugs.gnu.org; Mon, 30 Aug 2010 09:41:37 -0400 Original-Received: from mail-qy0-f172.google.com ([209.85.216.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oq20u-0002Ge-K2 for 6937@debbugs.gnu.org; Mon, 30 Aug 2010 06:54:58 -0400 Original-Received: by qyk1 with SMTP id 1so2802883qyk.3 for <6937@debbugs.gnu.org>; Mon, 30 Aug 2010 03:56:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=2RdldOIT+QHdUUwu1Y1tzAeOv+wUaufIvBXlQLvDJ5w=; b=qj5AmJ0pvo6yZO3br3nlaNSqD5lq0cn39WFs0seql9PYUNuNUqwQQ+NjCx43XLV5+g xYgg3DRoOiKAob7Cp3x0cllPdDYF1SwxvcBdwH+p70IKaNzhgljwkKHpwIaotwwJOkle iQsZ7QhA4ZkUDZsxK5ZpLnsrkooV/VfWASjB0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=MBfUZHxK1FdLLq29zhYHyNlHFIYp5oci0auv9IRrb88mVJCrW1u0AKzq/eIQt0aF1o P0Kwjgk36XbeTB8aMe+ny2ZkmpsJQkGcPMHOfPk+r7RUOIt+mYkEgp1WAlBGdgm75S7Q Q38sPYn31ev8MjmKW2u9LhzMYUkdKiX2pxalI= Original-Received: by 10.224.89.81 with SMTP id d17mr2827954qam.156.1283165791467; Mon, 30 Aug 2010 03:56:31 -0700 (PDT) Original-Received: by 10.229.1.93 with HTTP; Mon, 30 Aug 2010 03:56:31 -0700 (PDT) In-Reply-To: <878w3q1t3p.fsf@59A2.org> X-Mailman-Approved-At: Mon, 30 Aug 2010 09:41:35 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 30 Aug 2010 09:42:03 -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:39829 Archived-At: On Sat, Aug 28, 2010 at 21:37, Jed Brown wrote: > emacs -Q, M-x compile some C code which produces some errors or > warnings. =A0The lines will look like > > =A0/home/jed/dohp/src/fs/interface/fsgeom.c:12:14: warning: unused variab= le =91off=92 > > Press "M-g n" once or twice, instead of jumping through the errors, the > minibuffer asks > > =A0Find this error in (default fsgeom.c:12): > > This can also be observed with compile-goto-error (bount to RET) in the > *compilation* buffer. =A0If 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'. =A0In 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) > =A0of 2010-08-28 on kunyang > Windowing system distributor `The X.Org Foundation', version 11.0.1080190= 2 > configured using `configure =A0'CFLAGS=3D-march=3Dnative -O1 -pipe -fno-o= ptimize-sibling-calls' '--prefix=3D/usr' '--sysconfdir=3D/etc' '--localstat= edir=3D/var' '--libexecdir=3D/usr/lib' '--mandir=3D/usr/share/man' '--witho= ut-sound' '--with-x-toolkit=3Dgtk' 'LDFLAGS=3D-Wl,--hash-style=3Dgnu -Wl,--= as-needed'' > > Important settings: > =A0value of $LC_ALL: nil > =A0value of $LC_COLLATE: nil > =A0value of $LC_CTYPE: nil > =A0value of $LC_MESSAGES: nil > =A0value of $LC_MONETARY: nil > =A0value of $LC_NUMERIC: nil > =A0value of $LC_TIME: nil > =A0value of $LANG: en_US.utf8 > =A0value of $XMODIFIERS: nil > =A0locale-coding-system: utf-8-unix > =A0default enable-multibyte-characters: t > > Major mode: C/lw > > Minor modes in effect: > =A0shell-dirtrack-mode: t > =A0subword-mode: t > =A0yas/global-mode: t > =A0yas/minor-mode: t > =A0senator-minor-mode: t > =A0which-function-mode: t > =A0semantic-mru-bookmark-mode: t > =A0semantic-idle-summary-mode: t > =A0semantic-idle-scheduler-mode: t > =A0semantic-decoration-mode: t > =A0semantic-highlight-func-mode: t > =A0semantic-stickyfunc-mode: t > =A0show-paren-mode: t > =A0diff-auto-refine-mode: t > =A0tooltip-mode: t > =A0mouse-wheel-mode: t > =A0menu-bar-mode: t > =A0file-name-shadow-mode: t > =A0global-font-lock-mode: t > =A0font-lock-mode: t > =A0auto-composition-mode: t > =A0auto-encryption-mode: t > =A0auto-compression-mode: t > =A0column-number-mode: t > =A0line-number-mode: t > =A0transient-mark-mode: t > =A0abbrev-mode: t > > Recent input: > i f SPC ( C-e C-b ) SPC S E T E R R Q ( P E T S C _ > E R R _ M-b M-d C O M M C-f S E L F , P E T S C _ E > R R _ S Y S , " C o u l d SPC n o t SPC o p e n SPC > p i p e " ) C-x C-s C-x > b m p r i f SPC > ( ! C-/ C-/ C-/ C-/ C-/ > C-/ C-g C-/ C-e M-; N > o t SPC v e r y SPC u s e f u l SPC e r r o r SPC b > a h v e h a v i > o r , SPC b u t SPC w h a t SPC t o SPC d o SPC a t > SPC E O F > i s SPC d e s i r e d SPC b e h a v i > o r SPC a t SPC l i n e SPC E O F > f o r SPC a t t e m p t SPC > SPC t o SPC r e a d SPC a t SPC E O F ? C-x C-s > M-g n M-g n C-g > C-b C-b C-b C-b C-b > M-f C-g C-b C-f > C-g C-g C-x C-g M-x > v e r s M-x M-p M-x M-p > M-x M-p M-x > 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 20= 10-08-28 on kunyang [8 times] > dInt n > Scanning for dabbrevs...100% > dabbrev-expand: No dynamic expansion for `compilation-next-error-fun' fou= nd > > 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= /24.0.50/lisp/speedbar > /usr/share/emacs/site-lisp/cedet/speedbar/dframe hides /usr/share/emacs/2= 4.0.50/lisp/dframe > /usr/share/emacs/site-lisp/cedet/speedbar/sb-image hides /usr/share/emacs= /24.0.50/lisp/sb-image > /usr/share/emacs/site-lisp/cedet/eieio/eieio-custom hides /usr/share/emac= s/24.0.50/lisp/emacs-lisp/eieio-custom > /usr/share/emacs/site-lisp/cedet/eieio/eieio-opt hides /usr/share/emacs/2= 4.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/e= macs/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/em= acs/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= /24.0.50/lisp/cedet/data-debug > /usr/share/emacs/site-lisp/cedet/common/pulse hides /usr/share/emacs/24.0= .50/lisp/cedet/pulse > /usr/share/emacs/site-lisp/cedet/common/cedet-global hides /usr/share/ema= cs/24.0.50/lisp/cedet/cedet-global > /usr/share/emacs/site-lisp/cedet/ede/ede hides /usr/share/emacs/24.0.50/l= isp/cedet/ede > /usr/share/emacs/site-lisp/cedet/semantic/semantic hides /usr/share/emacs= /24.0.50/lisp/cedet/semantic > /usr/share/emacs/site-lisp/cedet/srecode/srecode hides /usr/share/emacs/2= 4.0.50/lisp/cedet/srecode > /usr/share/emacs/site-lisp/cedet/common/cedet-cscope hides /usr/share/ema= cs/24.0.50/lisp/cedet/cedet-cscope > /usr/share/emacs/site-lisp/cedet/common/cedet-idutils hides /usr/share/em= acs/24.0.50/lisp/cedet/cedet-idutils > /usr/share/emacs/site-lisp/cedet/common/cedet hides /usr/share/emacs/24.0= .50/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= /24.0.50/lisp/cedet/mode-local > /usr/share/emacs/site-lisp/cedet/common/cedet-files hides /usr/share/emac= s/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) > Seems like yet another consequence of adding Ruby to the compilation error regexp alist. For another see thread "wrong face in compilation buffer" http://comments.gmane.org/gmane.emacs.devel/129066 in emacs-devel. I personally work around both simple by disabling Ruby regexp through Custo= mize. --=20 Andrew W. Nosenko