Subject: bug#216 closed by Chong Yidong <[email-masked]> (Re: next-error wrong position in target file)

From: [email-masked] (Emacs bug Tracking System)

This is an automatic notification regarding your bug report
which was filed against the emacs package:

#216: next-error wrong position in target file

It has been closed by Chong Yidong <[email-masked]>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Chong Yidong <[email-masked]> by
replying to this email.

-- 
216: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=216
Emacs Bug Tracking System
Contact [email-masked] with problems
>From [email-masked] Mon Jul 28 12:43:19 2008
From: Chong Yidong <[email-masked]>
To: Kevin Ryde <[email-masked]>, [email-masked]
Cc: [email-masked]
Subject: Re: next-error wrong position in target file
Date: Mon, 28 Jul 2008 15:44:46 -0400

> 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.

>From [email-masked] Sat May 10 17:52:37 2008
To: [email-masked]
Subject: Re: next-error wrong position in target file
From: [email-masked]
Date: Sun, 11 May 2008 08:52:20 +0800

I can reproduce this bug he sent, and encountered it often in the
past but couldn't make a good test case as he just did. Please fix!