From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: don@donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#197: marked as done (next-error wrong position in target file) Date: Mon, 28 Jul 2008 12:50:04 -0700 Message-ID: References: <87iqup6bf5.fsf@stupidchicken.com> <87iqxp7kj1.fsf@blah.blah> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1217274604-29926-2" X-Trace: ger.gmane.org 1217275693 2809 80.91.229.12 (28 Jul 2008 20:08:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 28 Jul 2008 20:08:13 +0000 (UTC) To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 28 22:09:03 2008 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.50) id 1KNZ1W-0006sA-Cp for geb-bug-gnu-emacs@m.gmane.org; Mon, 28 Jul 2008 22:08:51 +0200 Original-Received: from localhost ([127.0.0.1]:38054 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KNZ0a-0004xa-K7 for geb-bug-gnu-emacs@m.gmane.org; Mon, 28 Jul 2008 16:07:52 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KNZ0H-0004s2-OH for bug-gnu-emacs@gnu.org; Mon, 28 Jul 2008 16:07:33 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KNZ0E-0004qk-16 for bug-gnu-emacs@gnu.org; Mon, 28 Jul 2008 16:07:32 -0400 Original-Received: from [199.232.76.173] (port=36630 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KNZ0D-0004qe-SW for bug-gnu-emacs@gnu.org; Mon, 28 Jul 2008 16:07:29 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:48749) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KNZ0B-00041k-8Y for bug-gnu-emacs@gnu.org; Mon, 28 Jul 2008 16:07:29 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m6SK7K4F002902; Mon, 28 Jul 2008 13:07:21 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m6SJo4ts030049; Mon, 28 Jul 2008 12:50:04 -0700 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: don@donarmstrong.com X-Emacs-PR-Message: closed 197 X-Emacs-PR-Package: emacs X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list 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:18899 Archived-At: This is a multi-part message in MIME format... ------------=_1217274604-29926-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Mon, 28 Jul 2008 15:44:46 -0400 with message-id <87iqup6bf5.fsf@stupidchicken.com> and subject line Re: next-error wrong position in target file has caused the Emacs bug report #216, regarding next-error wrong position in target file to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact don@donarmstrong.com immediately.) --=20 216: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D216 Emacs Bug Tracking System Contact don@donarmstrong.com with problems ------------=_1217274604-29926-2 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-0.7 required=4.0 tests=AWL,FOURLA autolearn=no version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 7 May 2008 23:38:30 +0000 Received: from mercure.iro.umontreal.ca (mercure.iro.umontreal.ca [132.204.24.67]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m47NcP3L012528 for ; Wed, 7 May 2008 16:38:27 -0700 Received: by mercure.iro.umontreal.ca (Postfix, from userid 20848) id 049912CFD02; Wed, 7 May 2008 19:38:25 -0400 (EDT) X-Original-To: monnier@iro.umontreal.ca Received: from pinpin.iro.umontreal.ca (pinpin.iro.umontreal.ca [132.204.24.52]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id C3F1C2CFCB8 for ; Wed, 7 May 2008 19:38:24 -0400 (EDT) Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by pinpin.iro.umontreal.ca (Postfix) with ESMTP id 505AC3B8AA7 for ; Wed, 7 May 2008 19:38:20 -0400 (EDT) Received: from localhost ([127.0.0.1]:53991 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JttDI-0007Bu-44 for monnier@iro.umontreal.ca; Wed, 07 May 2008 19:38:20 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JttD9-0007Bd-J0 for bug-gnu-emacs@gnu.org; Wed, 07 May 2008 19:38:11 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JttD5-0007A8-MZ for bug-gnu-emacs@gnu.org; Wed, 07 May 2008 19:38:10 -0400 Received: from [199.232.76.173] (port=38211 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JttD5-0007A5-GG for bug-gnu-emacs@gnu.org; Wed, 07 May 2008 19:38:07 -0400 Received: from mailout2-6.pacific.net.au ([61.8.2.229]:50543 helo=mailout2.pacific.net.au) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JttD4-0007JB-MZ for bug-gnu-emacs@gnu.org; Wed, 07 May 2008 19:38:07 -0400 Received: from mailproxy2.pacific.net.au (mailproxy2.pacific.net.au [61.8.2.163]) by mailout2.pacific.net.au (Postfix) with ESMTP id 337C2B1B50 for ; Thu, 8 May 2008 09:38:01 +1000 (EST) Received: from blah.blah (ppp2F16.dyn.pacific.net.au [61.8.47.22]) by mailproxy2.pacific.net.au (Postfix) with ESMTP id F36A727436 for ; Thu, 8 May 2008 09:37:59 +1000 (EST) Received: from gg by blah.blah with local (Exim 4.69) (envelope-from ) id 1JttCs-0000gA-JM for bug-gnu-emacs@gnu.org; Thu, 08 May 2008 09:37:54 +1000 From: Kevin Ryde To: bug-gnu-emacs@gnu.org Date: Thu, 08 May 2008 09:37:54 +1000 Message-ID: <87iqxp7kj1.fsf@blah.blah> User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.2 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Subject: next-error wrong position in target file X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: bug-gnu-emacs-bounces+monnier=iro.umontreal.ca@gnu.org Errors-To: bug-gnu-emacs-bounces+monnier=iro.umontreal.ca@gnu.org X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-2.6, requis 5, autolearn=not spam, BAYES_00 -2.60, SPF_HELO_PASS -0.00) X-DIRO-MailScanner-From: bug-gnu-emacs-bounces+monnier=iro.umontreal.ca@gnu.org --=-=-= In Emacs 22.2, the first `next-error' in certain circumstances goes to the wrong error line in the target file. With the dummy file foo.txt below, and on a 50 line console, emacs -Q foo.txt C-v # page down in foo.txt C-x b Ret # back to *scratch* buffer M-x compile echo 'foo.txt:''150: an error here' C-x ` # next-error => goes to foo.txt with point at line 56 The echo simply produces a compilation buffer claiming an error at foo.txt line 150, but then next-error goes to line 56. On a different size terminal or under X you get a different wrong position, like line 45 or 24. The recipe above is rather specific, there's all sorts of ways it works correctly. If you don't scroll-up, or if you leave foo.txt the current buffer, then it's fine. I've struck this on various occasions without ever being able to reproduce it, since a second try in the same session goes ok! My recent-ish build of the current emacs cvs head still seems to have the problem too, whatever it is. In GNU Emacs 22.2.1 (i486-pc-linux-gnu, GTK+ Version 2.12.3) of 2008-04-11 on raven, modified by Debian configured using `configure '--build=i486-linux-gnu' '--host=i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs22:/etc/emacs:/usr/local/share/emacs/22.2/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/22.2/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/22.2/leim' '--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -g -O2'' 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 locale-coding-system: iso-8859-1 default-enable-multibyte-characters: t --=-=-= Content-Disposition: attachment; filename=foo.txt 1 blah 2 blah 3 blah 4 blah 5 blah 6 blah 7 blah 8 blah 9 blah 10 blah 11 blah 12 blah 13 blah 14 blah 15 blah 16 blah 17 blah 18 blah 19 blah 20 blah 21 blah 22 blah 23 blah 24 blah 25 blah 26 blah 27 blah 28 blah 29 blah 30 blah 31 blah 32 blah 33 blah 34 blah 35 blah 36 blah 37 blah 38 blah 39 blah 40 blah 41 blah 42 blah 43 blah 44 blah 45 blah 46 blah 47 blah 48 blah 49 blah 50 blah 51 blah 52 blah 53 blah 54 blah 55 blah 56 blah 57 blah 58 blah 59 blah 60 blah 61 blah 62 blah 63 blah 64 blah 65 blah 66 blah 67 blah 68 blah 69 blah 70 blah 71 blah 72 blah 73 blah 74 blah 75 blah 76 blah 77 blah 78 blah 79 blah 80 blah 81 blah 82 blah 83 blah 84 blah 85 blah 86 blah 87 blah 88 blah 89 blah 90 blah 91 blah 92 blah 93 blah 94 blah 95 blah 96 blah 97 blah 98 blah 99 blah 100 blah 101 blah 102 blah 103 blah 104 blah 105 blah 106 blah 107 blah 108 blah 109 blah 110 blah 111 blah 112 blah 113 blah 114 blah 115 blah 116 blah 117 blah 118 blah 119 blah 120 blah 121 blah 122 blah 123 blah 124 blah 125 blah 126 blah 127 blah 128 blah 129 blah 130 blah 131 blah 132 blah 133 blah 134 blah 135 blah 136 blah 137 blah 138 blah 139 blah 140 blah 141 blah 142 blah 143 blah 144 blah 145 blah 146 blah 147 blah 148 blah 149 blah 150 blah 151 blah 152 blah 153 blah 154 blah 155 blah 156 blah 157 blah 158 blah 159 blah 160 blah 161 blah 162 blah 163 blah 164 blah 165 blah 166 blah 167 blah 168 blah 169 blah 170 blah 171 blah 172 blah 173 blah 174 blah 175 blah 176 blah 177 blah 178 blah 179 blah 180 blah 181 blah 182 blah 183 blah 184 blah 185 blah 186 blah 187 blah 188 blah 189 blah 190 blah 191 blah 192 blah 193 blah 194 blah 195 blah 196 blah 197 blah 198 blah 199 blah 200 blah --=-=-=-- ------------=_1217274604-29926-2 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-3.0 required=4.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 216-done) by emacsbugs.donarmstrong.com; 28 Jul 2008 19:43:19 +0000 Received: from cyd (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m6SJhGih028711 for <216-done@emacsbugs.donarmstrong.com>; Mon, 28 Jul 2008 12:43:17 -0700 Received: by cyd (Postfix, from userid 1000) id DDFF757E2EC; Mon, 28 Jul 2008 15:44:46 -0400 (EDT) From: Chong Yidong To: Kevin Ryde , jidanni@jidanni.org Cc: 216-done@emacsbugs.donarmstrong.com Subject: Re: next-error wrong position in target file Date: Mon, 28 Jul 2008 15:44:46 -0400 Message-ID: <87iqup6bf5.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > In Emacs 22.2, the first `next-error' in certain circumstances goes to > the wrong error line in the target file. With the dummy file foo.txt > below, and on a 50 line console, > > emacs -Q foo.txt > C-v # page down in foo.txt > C-x b Ret # back to *scratch* buffer > M-x compile > echo 'foo.txt:''150: an error here' > C-x ` # next-error > > => goes to foo.txt with point at line 56 > > The echo simply produces a compilation buffer claiming an error at > foo.txt line 150, but then next-error goes to line 56. On a different > size terminal or under X you get a different wrong position, like line > 45 or 24. I've checked in a fix. Thanks. ------------=_1217274604-29926-2--