From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.bugs Subject: bug#10707: 24.0.93; next-error jumps to wrong location for rgrep buffers Date: Fri, 03 Feb 2012 14:08:56 +0100 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1328274584 29385 80.91.229.3 (3 Feb 2012 13:09:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 3 Feb 2012 13:09:44 +0000 (UTC) Cc: 10707@debbugs.gnu.org To: Helmut Eller Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 03 14:09:43 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RtIta-0005Hu-GT for geb-bug-gnu-emacs@m.gmane.org; Fri, 03 Feb 2012 14:09:42 +0100 Original-Received: from localhost ([::1]:45735 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RtItZ-0000Tv-B4 for geb-bug-gnu-emacs@m.gmane.org; Fri, 03 Feb 2012 08:09:41 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:46921) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RtItT-0000TY-7f for bug-gnu-emacs@gnu.org; Fri, 03 Feb 2012 08:09:39 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RtItN-0005VY-76 for bug-gnu-emacs@gnu.org; Fri, 03 Feb 2012 08:09:35 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48143) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RtItN-0005VC-4B for bug-gnu-emacs@gnu.org; Fri, 03 Feb 2012 08:09:29 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1RtItt-0000gT-IM for bug-gnu-emacs@gnu.org; Fri, 03 Feb 2012 08:10:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Andreas Schwab Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 03 Feb 2012 13:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10707 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 10707-submit@debbugs.gnu.org id=B10707.13282745762595 (code B ref 10707); Fri, 03 Feb 2012 13:10:01 +0000 Original-Received: (at 10707) by debbugs.gnu.org; 3 Feb 2012 13:09:36 +0000 Original-Received: from localhost ([127.0.0.1]:51766 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RtItT-0000fn-1H for submit@debbugs.gnu.org; Fri, 03 Feb 2012 08:09:36 -0500 Original-Received: from mail-out.m-online.net ([212.18.0.10]:40347) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RtItP-0000fe-OW for 10707@debbugs.gnu.org; Fri, 03 Feb 2012 08:09:33 -0500 Original-Received: from frontend1.mail.m-online.net (frontend1.mail.intern.m-online.net [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 33FC0180015F; Fri, 3 Feb 2012 14:08:58 +0100 (CET) X-Auth-Info: 2vrHJqnhl90nKM3M7L61py3MwgomfAT63Mr4SuXovQ8= Original-Received: from igel.home (ppp-93-104-140-35.dynamic.mnet-online.de [93.104.140.35]) by mail.mnet-online.de (Postfix) with ESMTPA id 2BB671C0009F; Fri, 3 Feb 2012 14:08:58 +0100 (CET) Original-Received: by igel.home (Postfix, from userid 501) id 0F50DCA29E; Fri, 3 Feb 2012 14:08:56 +0100 (CET) X-Yow: There's a SALE on STRETCH SOCKS down at the "7-11"!! In-Reply-To: (Helmut Eller's message of "Fri, 03 Feb 2012 10:34:34 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.93 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:56418 Archived-At: Helmut Eller writes: > Here the file test.txt: > > --- start --- > /* This file is part of the core Lisp implementation, and thus must > deal with the real data structures. If the Lisp implementation is > replaced, this file likely will not be used. */ > > #include "termhooks.h" /* For struct terminal. */ > #define MARK_STRING(S) ((S)->size |=3D ARRAY_MARK_FLAG) > #define UNMARK_STRING(S) ((S)->size &=3D ~ARRAY_MARK_FLAG) > #define STRING_MARKED_P(S) (((S)->size & ARRAY_MARK_FLAG) !=3D 0) > > #define VECTOR_MARK(V) ((V)->header.size |=3D ARRAY_MARK_FLAG) > #define VECTOR_UNMARK(V) ((V)->header.size &=3D ~ARRAY_MARK_FLAG) > #define VECTOR_MARKED_P(V) (((V)->header.size & ARRAY_MARK_FLAG) !=3D 0) > --- end --- > > The output in my *grep* buffer looks so > > -*- mode: grep; default-directory: "/tmp/" -*- > Grep started at Fri Feb 3 10:29:04 > > find . -type d \( -path \*/SCCS -o -path \*/RCS -o -path \*/CVS -o -path = \*/MCVS -o -path \*/.svn -o -path \*/.git -o -path \*/.hg -o -path \*/.bzr = -o -path \*/_MTN -o -path \*/_darcs -o -path \*/\{arch\} \) -prune -o \( -n= ame .\#\* -o -name \*.o -o -name \*\~ -o -name \*.bin -o -name \*.lbin -o -= name \*.so -o -name \*.a -o -name \*.ln -o -name \*.blg -o -name \*.bbl -o = -name \*.elc -o -name \*.lof -o -name \*.glo -o -name \*.idx -o -name \*.lo= t -o -name \*.fmt -o -name \*.tfm -o -name \*.class -o -name \*.fas -o -nam= e \*.lib -o -name \*.mem -o -name \*.x86f -o -name \*.sparcf -o -name \*.df= sl -o -name \*.pfsl -o -name \*.d64fsl -o -name \*.p64fsl -o -name \*.lx64f= sl -o -name \*.lx32fsl -o -name \*.dx64fsl -o -name \*.dx32fsl -o -name \*.= fx64fsl -o -name \*.fx32fsl -o -name \*.sx64fsl -o -name \*.sx32fsl -o -nam= e \*.wx64fsl -o -name \*.wx32fsl -o -name \*.fasl -o -name \*.ufsl -o -name= \*.fsl -o -name \*.dxl -o -name \*.lo -o -name \*.la -o -name \*.gmo -o -n= ame \*.mo -o -name \*.toc -o -name \*.aux -o -name \*.cp -o -name \*.fn -o = -name \*.ky -o -name \*.pg -o -name \*.tp -o -name \*.vr -o -name \*.cps -o= -name \*.fns -o -name \*.kys -o -name \*.pgs -o -name \*.tps -o -name \*.v= rs -o -name \*.pyc -o -name \*.pyo \) -prune -o -type f \( -name test.txt = \) -exec grep -i -nH -e struct {} + > ./test.txt:3: deal with the real data structures. If the Lisp implemen= tation is Why line 3? The text is on line 2. Andreas. --=20 Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint =3D 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."