From unknown Sun Jun 15 08:39:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#10707: 24.0.93; next-error jumps to wrong location for rgrep buffers Resent-From: Helmut Eller Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 03 Feb 2012 09:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 10707 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 10707@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.13282617407245 (code B ref -1); Fri, 03 Feb 2012 09:36:02 +0000 Received: (at submit) by debbugs.gnu.org; 3 Feb 2012 09:35:40 +0000 Received: from localhost ([127.0.0.1]:51653 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RtFYS-0001so-05 for submit@debbugs.gnu.org; Fri, 03 Feb 2012 04:35:40 -0500 Received: from eggs.gnu.org ([140.186.70.92]:54324) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RtFYO-0001sa-Fy for submit@debbugs.gnu.org; Fri, 03 Feb 2012 04:35:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RtFXh-0004R2-EU for submit@debbugs.gnu.org; Fri, 03 Feb 2012 04:34:59 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([140.186.70.17]:48571) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RtFXh-0004Qv-Aa for submit@debbugs.gnu.org; Fri, 03 Feb 2012 04:34:53 -0500 Received: from eggs.gnu.org ([140.186.70.92]:58930) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RtFXb-0005Th-GH for bug-gnu-emacs@gnu.org; Fri, 03 Feb 2012 04:34:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RtFXV-0004Np-Bo for bug-gnu-emacs@gnu.org; Fri, 03 Feb 2012 04:34:47 -0500 Received: from mail-wi0-f169.google.com ([209.85.212.169]:56881) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RtFXV-0004MN-5L for bug-gnu-emacs@gnu.org; Fri, 03 Feb 2012 04:34:41 -0500 Received: by wibhj13 with SMTP id hj13so3462382wib.0 for ; Fri, 03 Feb 2012 01:34:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:subject:date:message-id:user-agent:mime-version :content-type:content-transfer-encoding; bh=r4nfzniJAMi8Yqg4QZJ3eno8WJyoeATlz3xXm2qKCiA=; b=XOkeZt1exyVMhHKZzT2gcD9k94yBXM36t1FpsK00zGywVxzK1EOPP0KKiiiQc77SEP YouuvKVLdz+6psbZ8VTH7PbsG0aNXgZE/AeMnxjRabiKnd4ZpJxcc1y3wdyO8vyT1NXq BLCPdTiim9rI+GuMtMSYUEB5QC1nN56l7WURw= Received: by 10.181.12.106 with SMTP id ep10mr23470118wid.8.1328261680020; Fri, 03 Feb 2012 01:34:40 -0800 (PST) Received: from ix (dial-183239.pool.broadband44.net. [212.46.183.239]) by mx.google.com with ESMTPS id t15sm5253105wiv.6.2012.02.03.01.34.37 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 03 Feb 2012 01:34:38 -0800 (PST) Received: from helmut by ix with local (Exim 4.72) (envelope-from ) id 1RtFXO-0003BY-Gz for bug-gnu-emacs@gnu.org; Fri, 03 Feb 2012 10:34:34 +0100 From: Helmut Eller Date: Fri, 03 Feb 2012 10:34:34 +0100 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.93 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -3.4 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.4 (---) 1. create a file /tmp/test.txt with this text attach below. 2. execute rgrep: (rgrep "struct" "test.txt" "/tmp/") 3. M-x next-error jumps to the line with "data structures". That's OK. 4. M-x next-error a second time jumps to the line with "STRING_MARKED_P" which is wrong. 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 \( -nam= e .\#\* -o -name \*.o -o -name \*\~ -o -name \*.bin -o -name \*.lbin -o -na= me \*.so -o -name \*.a -o -name \*.ln -o -name \*.blg -o -name \*.bbl -o -n= ame \*.elc -o -name \*.lof -o -name \*.glo -o -name \*.idx -o -name \*.lot = -o -name \*.fmt -o -name \*.tfm -o -name \*.class -o -name \*.fas -o -name = \*.lib -o -name \*.mem -o -name \*.x86f -o -name \*.sparcf -o -name \*.dfsl= -o -name \*.pfsl -o -name \*.d64fsl -o -name \*.p64fsl -o -name \*.lx64fsl= -o -name \*.lx32fsl -o -name \*.dx64fsl -o -name \*.dx32fsl -o -name \*.fx= 64fsl -o -name \*.fx32fsl -o -name \*.sx64fsl -o -name \*.sx32fsl -o -name = \*.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 -nam= e \*.mo -o -name \*.toc -o -name \*.aux -o -name \*.cp -o -name \*.fn -o -n= ame \*.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 \*.vrs= -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 implementa= tion is ./test.txt:6:#include "termhooks.h" /* For struct terminal. */ Grep finished (matches found) at Fri Feb 3 10:29:04 In GNU Emacs 24.0.93.1 (i686-pc-linux-gnu, GTK+ Version 2.20.1) of 2012-01-30 on ix Windowing system distributor `The X.Org Foundation', version 11.0.10707000 Configured using: `configure '--with-gif=3Dno'' From unknown Sun Jun 15 08:39:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#10707: 24.0.93; next-error jumps to wrong location for rgrep buffers 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: To: Helmut Eller Cc: 10707@debbugs.gnu.org Received: via spool by 10707-submit@debbugs.gnu.org id=B10707.13282745762595 (code B ref 10707); Fri, 03 Feb 2012 13:10:01 +0000 Received: (at 10707) by debbugs.gnu.org; 3 Feb 2012 13:09:36 +0000 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 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 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= 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) Received: by igel.home (Postfix, from userid 501) id 0F50DCA29E; Fri, 3 Feb 2012 14:08:56 +0100 (CET) From: Andreas Schwab References: X-Yow: There's a SALE on STRETCH SOCKS down at the "7-11"!! Date: Fri, 03 Feb 2012 14:08:56 +0100 In-Reply-To: (Helmut Eller's message of "Fri, 03 Feb 2012 10:34:34 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.93 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable X-Spam-Score: -1.9 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) 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." From unknown Sun Jun 15 08:39:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#10707: 24.0.93; next-error jumps to wrong location for rgrep buffers Resent-From: Helmut Eller Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 03 Feb 2012 14:27:02 +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: To: Andreas Schwab Cc: 10707@debbugs.gnu.org Received: via spool by 10707-submit@debbugs.gnu.org id=B10707.13282791899413 (code B ref 10707); Fri, 03 Feb 2012 14:27:02 +0000 Received: (at 10707) by debbugs.gnu.org; 3 Feb 2012 14:26:29 +0000 Received: from localhost ([127.0.0.1]:51787 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RtK5s-0002Rl-KH for submit@debbugs.gnu.org; Fri, 03 Feb 2012 09:26:29 -0500 Received: from mail-wi0-f172.google.com ([209.85.212.172]:59628) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RtK5p-0002RP-7B for 10707@debbugs.gnu.org; Fri, 03 Feb 2012 09:26:27 -0500 Received: by wibhm9 with SMTP id hm9so2729527wib.3 for <10707@debbugs.gnu.org>; Fri, 03 Feb 2012 06:25:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=URPzd+MgAMC69D/vutSwkc5h1ahIdnSgVaDuVLaIGh4=; b=tLmRmYp4ueWxwsBktuj1jxAP4wPVaTh4GGggGRJQWDxepXfWIa5mnWlSnfaynvJYTn xVhgm1ij5TMjV/UpBqj1rZrOb2leCZVw3CLhpm2F0p65u6O63N4BTwGyChpgV2bS40tp W8NievjgpEDpqk+1SexHfp/l4BB/EbXyKjFkU= Received: by 10.180.92.71 with SMTP id ck7mr15217678wib.3.1328279146625; Fri, 03 Feb 2012 06:25:46 -0800 (PST) Received: from ix (dial-183239.pool.broadband44.net. [212.46.183.239]) by mx.google.com with ESMTPS id q7sm6910571wix.5.2012.02.03.06.25.44 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 03 Feb 2012 06:25:45 -0800 (PST) Received: from helmut by ix with local (Exim 4.72) (envelope-from ) id 1RtK54-0001sE-GP; Fri, 03 Feb 2012 15:25:38 +0100 From: Helmut Eller References: Date: Fri, 03 Feb 2012 15:25:38 +0100 In-Reply-To: (Andreas Schwab's message of "Fri, 03 Feb 2012 14:08:56 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.93 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.6 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) * Andreas Schwab [2012-02-03 13:08] writes: > 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 |= ARRAY_MARK_FLAG) >> #define UNMARK_STRING(S) ((S)->size &= ~ARRAY_MARK_FLAG) >> #define STRING_MARKED_P(S) (((S)->size & ARRAY_MARK_FLAG) != 0) >> >> #define VECTOR_MARK(V) ((V)->header.size |= ARRAY_MARK_FLAG) >> #define VECTOR_UNMARK(V) ((V)->header.size &= ~ARRAY_MARK_FLAG) >> #define VECTOR_MARKED_P(V) (((V)->header.size & ARRAY_MARK_FLAG) != 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 \( -name .\#\* -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 \*.lot -o -name >> \*.fmt -o -name \*.tfm -o -name \*.class -o -name \*.fas -o -name >> \*.lib -o -name \*.mem -o -name \*.x86f -o -name \*.sparcf -o -name >> \*.dfsl -o -name \*.pfsl -o -name \*.d64fsl -o -name \*.p64fsl -o >> -name \*.lx64fsl -o -name \*.lx32fsl -o -name \*.dx64fsl -o -name >> \*.dx32fsl -o -name \*.fx64fsl -o -name \*.fx32fsl -o -name >> \*.sx64fsl -o -name \*.sx32fsl -o -name \*.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 -name >> \*.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 \*.vrs -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 >> implementation is > > Why line 3? The text is on line 2. Probably because I forgot to paste a newline in the first line. Without the newline in the first line the output is ./test.txt:2: deal with the real data structures. If the Lisp implementation is ./test.txt:5:#include "termhooks.h" /* For struct terminal. */ Still jumping to the with "STRING_MARKED_P" in the step 4 is wrong. Helmut From unknown Sun Jun 15 08:39:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#10707: 24.0.93; next-error jumps to wrong location for rgrep buffers Resent-From: npostavs@users.sourceforge.net Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 11 Aug 2016 00:20:02 +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: To: Helmut Eller Cc: 10707@debbugs.gnu.org Received: via spool by 10707-submit@debbugs.gnu.org id=B10707.147087474732702 (code B ref 10707); Thu, 11 Aug 2016 00:20:02 +0000 Received: (at 10707) by debbugs.gnu.org; 11 Aug 2016 00:19:07 +0000 Received: from localhost ([127.0.0.1]:52739 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bXdiF-0008VK-5F for submit@debbugs.gnu.org; Wed, 10 Aug 2016 20:19:07 -0400 Received: from mail-it0-f41.google.com ([209.85.214.41]:38577) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bXdiC-0008Uj-Ov; Wed, 10 Aug 2016 20:19:05 -0400 Received: by mail-it0-f41.google.com with SMTP id x130so234679ite.1; Wed, 10 Aug 2016 17:19:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=2A/edVu/IpLWW3avdKGp74G0lBlxRNsIakeP5nElRrk=; b=vuOFv2omrqMgpImJT61Q3Rr8OoBx2FkRQ3wM+ZtDYjSpYpLoP4RoAjdJxk4ssDaPEv ZVcInAS5cjKNAFOApQq/S8JbEJqRLgw0a/yaN38a9PrITcIumXbPHiCgf+20rIccJVFu Dzql8TnUMgAIvOg85Zz3ZZqMfw7uQE/VVXcWUzKiU+Kw6H5lsYsWk5w8gRqEzsawicGC usAUaMAGVJeC9f5VLUCa3ACooWhENgwPbWInKNRbm7gcc3YHAdsB9xdsMbTqZhWXtIyZ j6oWzK/vnIciwxV6HSz/GV5305LU9QozFNrgy0UxA7m/g1zefKrLyCtWRLoIdFErZI+j /QTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=2A/edVu/IpLWW3avdKGp74G0lBlxRNsIakeP5nElRrk=; b=D14MRcTEfs37MWePhhLkAgS5y7pXvB6Rj27A/t96QUt9rxDLdzWo1SSvcMUz9DNa+Q qIgZa/7rCgZ2i2RZxgTBqsY2/VWyQTGTv94PUaWynxrveYc0ZbUnbzz186F/gIb5vMex wFChtNfQ8y2KMMcirGcSSYBKRabLVRay0B3q4+Qf6ODNZKH8PdU3WLHJAW5yRnkeERCJ hueVvX0igtt29b1S072RL93mEaV9zL90jBSPYux9limJu6UjJ0HFsy8SGEl8RJm9XUEi YM1QqvO3vGXzKe2U+CEQuEqO/bP9OeSF1M/+YLkmGe34QmEPm9czGj74Cv10rj+KybOO kxmA== X-Gm-Message-State: AEkoouvx5Ny5vrnMJVwChySi1XUuNU57B+yJ7lKryVz0PddUvPWj+vRh2NCFSMg1O8gGKg== X-Received: by 10.36.26.216 with SMTP id 207mr6225461iti.96.1470874739151; Wed, 10 Aug 2016 17:18:59 -0700 (PDT) Received: from zony (206-188-64-44.cpe.distributel.net. [206.188.64.44]) by smtp.googlemail.com with ESMTPSA id w199sm4782087ita.7.2016.08.10.17.18.57 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 10 Aug 2016 17:18:58 -0700 (PDT) From: npostavs@users.sourceforge.net References: Date: Wed, 10 Aug 2016 20:18:32 -0400 In-Reply-To: (Helmut Eller's message of "Fri, 03 Feb 2012 10:34:34 +0100") Message-ID: <8737mcyx7r.fsf@users.sourceforge.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) tags 10707 unreproducible quit Helmut Eller writes: > 1. create a file /tmp/test.txt with this text attach below. > > 2. execute rgrep: (rgrep "struct" "test.txt" "/tmp/") I used M-: (progn (grep-compute-defaults) (rgrep "struct" "test.txt" "/tmp/")) > > 3. M-x next-error jumps to the line with "data structures". That's OK. > > 4. M-x next-error a second time jumps to the line with "STRING_MARKED_P" > which is wrong. For all of 23.4, 24.1, and 25.1-rc1 it jumps to the "struct" in "For struct terminal". Perhaps this was fixed. From unknown Sun Jun 15 08:39:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#10707: 24.0.93; next-error jumps to wrong location for rgrep buffers Resent-From: npostavs@users.sourceforge.net Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 02 Apr 2017 00:34:02 +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: unreproducible To: Helmut Eller Cc: 10707@debbugs.gnu.org Received: via spool by 10707-submit@debbugs.gnu.org id=B10707.149109321120069 (code B ref 10707); Sun, 02 Apr 2017 00:34:02 +0000 Received: (at 10707) by debbugs.gnu.org; 2 Apr 2017 00:33:31 +0000 Received: from localhost ([127.0.0.1]:56147 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cuTSV-0005DY-FO for submit@debbugs.gnu.org; Sat, 01 Apr 2017 20:33:31 -0400 Received: from mail-io0-f176.google.com ([209.85.223.176]:35455) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cuTST-0005DE-To; Sat, 01 Apr 2017 20:33:30 -0400 Received: by mail-io0-f176.google.com with SMTP id z13so58334478iof.2; Sat, 01 Apr 2017 17:33:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=9V8GFawE2NLimgMbrw/pa3KXG4qwze3IYeiB8CWNKB4=; b=Y6IOHVNhhqhzWy5h01iE8Z1Zq0/ZzDVqST3X3nCTWO82ts9OGQzuylO4TO2ui3N8uU D77PlN4MbI5FWrmp/VQeTZqoAQD7iyIbq+R1OZUYtTYGfyoHvlA03ZVdX8gf3PXmJuNR FwZtLog2QGrCPTqgCKMC6dUT6V01w5ZYZ18ZyI2CCMZpZRzc3H2bYLCHIbnlPjI95zpC ooSekiBxmlnXP6QlGm2yZViBiqiqs5hk5qPYWChPbN2z+Cf/IT8j11060xeWqti8W8YO +a9o4HqhocBX4GJvlHD8N25bu6RIfC9K3MbfFvagREgInDzrtMBJvhYDmnmP2N2FBJUw wTdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=9V8GFawE2NLimgMbrw/pa3KXG4qwze3IYeiB8CWNKB4=; b=XR5vHFYeHu2IIAGZH2HHH8m9fZnIu1AzbeIbWDwbOyCh1a6e4vaUXYuZTUEm1wJRAn NYiN5aCmTF4ntmJvEgMrx+4znCCE+NkY/wGagZ01XmiX03lW4Z4H0fXFj+i/M902Ol/K 8m2i/1QSwhlF32jeaPi+VM36OOd8C32yPzhvQp2n+LS6yqh0khruG4bBcQ6ETY5F4eEm EqZU9kNCfp17Q42luMZLFNXvjpAQs62+iSayO+UWZnZFBSMDaE2SeYGDEk2wVqdKl/Ot 9YHW1rwAm3PHtthdiKYma255uiXx58wLrUPA17D9JovPeYS97KqKaQKxJWBxDDUFotyg IYAw== X-Gm-Message-State: AFeK/H0HOg08EwJc6+h/X/Kx+RR1eLp1H3hihSFUBzPunCmcYBNJV9Nm4zVe0/Us4P+j0Q== X-Received: by 10.107.19.196 with SMTP id 65mr10107948iot.191.1491093204482; Sat, 01 Apr 2017 17:33:24 -0700 (PDT) Received: from zony ([45.2.7.65]) by smtp.googlemail.com with ESMTPSA id b132sm5527474iob.6.2017.04.01.17.33.23 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 01 Apr 2017 17:33:23 -0700 (PDT) From: npostavs@users.sourceforge.net References: <8737mcyx7r.fsf@users.sourceforge.net> Date: Sat, 01 Apr 2017 20:34:48 -0400 In-Reply-To: <8737mcyx7r.fsf@users.sourceforge.net> (npostavs@users.sourceforge.net's message of "Wed, 10 Aug 2016 20:18:32 -0400") Message-ID: <87shlrzlxz.fsf@users.sourceforge.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.1 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) close 10707 quit npostavs@users.sourceforge.net writes: > >> 1. create a file /tmp/test.txt with this text attach below. >> >> 2. execute rgrep: (rgrep "struct" "test.txt" "/tmp/") > > I used M-: (progn (grep-compute-defaults) (rgrep "struct" "test.txt" "/tmp/")) > >> >> 3. M-x next-error jumps to the line with "data structures". That's OK. >> >> 4. M-x next-error a second time jumps to the line with "STRING_MARKED_P" >> which is wrong. > > For all of 23.4, 24.1, and 25.1-rc1 it jumps to the "struct" in "For > struct terminal". Perhaps this was fixed.