Subject: bug#10707: 24.0.93; next-error jumps to wrong location for rgrep buffers

From: [email-masked]
Date: Wed, 10 Aug 2016 20:18:32 -0400

tags 10707 unreproducible
quit

Helmut Eller <[email-masked]> 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.