GNU bug report logs - #216
next-error wrong position in target file

Previous Next

Package: emacs;

Reported by: jidanni <at> jidanni.org

Date: Sun, 11 May 2008 01:00:03 UTC

Severity: normal

Merged with 197

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (Emacs bug Tracking System)
To: Chong Yidong <cyd <at> stupidchicken.com>
Subject: bug#216: marked as done (next-error wrong position in target file)
[Message part 1 (text/plain, inline)]
Your message dated Mon, 28 Jul 2008 15:44:46 -0400
with message-id <87iqup6bf5.fsf <at> 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 <at> donarmstrong.com
immediately.)


-- 
216: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=216
Emacs Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: jidanni <at> jidanni.org
To: bug-gnu-emacs <at> gnu.org
Subject: Re: next-error wrong position in target file
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!


[Message part 3 (message/rfc822, inline)]
From: Chong Yidong <cyd <at> stupidchicken.com>
To: Kevin Ryde <user42 <at> zip.com.au>, jidanni <at> jidanni.org
Cc: 216-done <at> debbugs.gnu.org
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.


This bug report was last modified 16 years and 299 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.