From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#9679: 24.0.90; After rgrep, next-error goes to the wrong line Date: Fri, 07 Oct 2011 18:20:52 +0300 Organization: JURTA Message-ID: <87r52o7rqj.fsf@mail.jurta.org> References: <8739f6w35v.fsf@mail.jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1318000978 10184 80.91.229.12 (7 Oct 2011 15:22:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 7 Oct 2011 15:22:58 +0000 (UTC) Cc: 9679@debbugs.gnu.org To: Ari Roponen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 07 17:22:54 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RCCGC-0005CX-6Q for geb-bug-gnu-emacs@m.gmane.org; Fri, 07 Oct 2011 17:22:52 +0200 Original-Received: from localhost ([::1]:47312 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RCCGB-0006Ik-KL for geb-bug-gnu-emacs@m.gmane.org; Fri, 07 Oct 2011 11:22:51 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:52479) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RCCG8-0006IE-Hd for bug-gnu-emacs@gnu.org; Fri, 07 Oct 2011 11:22:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RCCG7-00035R-8q for bug-gnu-emacs@gnu.org; Fri, 07 Oct 2011 11:22:48 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58086) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RCCG7-00035K-7A for bug-gnu-emacs@gnu.org; Fri, 07 Oct 2011 11:22:47 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RCCGL-00020G-HN for bug-gnu-emacs@gnu.org; Fri, 07 Oct 2011 11:23:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 07 Oct 2011 15:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9679 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9679-submit@debbugs.gnu.org id=B9679.13180009717683 (code B ref 9679); Fri, 07 Oct 2011 15:23:01 +0000 Original-Received: (at 9679) by debbugs.gnu.org; 7 Oct 2011 15:22:51 +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 1RCCGA-0001zs-Lv for submit@debbugs.gnu.org; Fri, 07 Oct 2011 11:22:50 -0400 Original-Received: from smarty.dreamhost.com ([208.113.175.8]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RCCG7-0001zi-JJ for 9679@debbugs.gnu.org; Fri, 07 Oct 2011 11:22:48 -0400 Original-Received: from ps18281.dreamhostps.com (ps18281.dreamhost.com [69.163.218.105]) by smarty.dreamhost.com (Postfix) with ESMTP id 877946E8061; Fri, 7 Oct 2011 08:22:31 -0700 (PDT) Original-Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id A34EC451C49C; Fri, 7 Oct 2011 08:22:30 -0700 (PDT) In-Reply-To: (Ari Roponen's message of "Fri, 07 Oct 2011 08:15:49 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (x86_64-pc-linux-gnu) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 07 Oct 2011 11:23:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 140.186.70.43 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:52379 Archived-At: > ("./test.el") > (("./test.el" nil) > nil > (8 > (13 8 #1 # nil) > (7 8 #1 # nil . t)) > (3 > (13 3 #1 # nil) > (7 3 #1 # nil . t))) This is odd, I have in the non-reverted commits case after visiting the second match: #s(hash-table size 65 test equal weakness value rehash-size 1.5 rehash-threshold 0.8 data (("./test.el") (("./test.el" nil) nil (8 (13 8 #1 # nil) (7 8 #1 # nil . t)) (3 (13 3 #1 # nil) (7 3 #1 # nil . t))))) So unfortunately I can't reproduce this bug. I suspect it may be related to screen columns because somehow `compilation-move-to-column' in `compilation-next-error-function' goes to the wrong line and column, i.e. to the position 387. What values of `compilation-error-screen-columns' and `grep-error-screen-columns' do you have in the *grep* buffer? I have both of them equal to `nil'. Could you please get the values of arguments that `compilation-move-to-column' receives here by debugging or adding (message "...") and seeing what values it prints in the *Message* buffer?