Subject: bug#40940: closed (Re: bug#40940: 27.0.91; project-query-replace-regexp stops too early)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 03 May 2020 23:59:02 +0000

Your bug report

#40940: 27.0.91; project-query-replace-regexp stops too early

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
40940: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=40940
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#40940: 27.0.91; project-query-replace-regexp stops too early
From: Dmitry Gutov <[email-masked]>
To: Eli Zaretskii <[email-masked]>
Cc: [email-masked], [email-masked], [email-masked]
Date: Mon, 4 May 2020 02:58:12 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

On 03.05.2020 20:28, Dmitry Gutov wrote:
>  > Here's the doc string I promised:
> 
> Looks good, thanks.

Patch installed, thanks to all.

Subject: 27.0.91; project-query-replace-regexp stops too early
From: Simen Heggestøyl <[email-masked]>
To: [email-masked]
Date: Tue, 28 Apr 2020 16:35:11 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Create a directory with two files in it: test-2.txt and test.txt:

test-dir
├── test-2.txt
└── test.txt

Enter the text "Foo" into test.txt.
Enter the text "foo" into test-2.txt.

Visit the directory or any of the files (the result is the same either
way).

Type 'M-x project-query-replace-regexp', choosing to replace "Foo"
with "Bar".

Confirm test-dir as the project directory in the next prompt.

The replacement process stops with point before "foo" in test-2.txt
with a message "Replaced 0 occurrences", without replacing "Foo" in
test.txt as it should have.

The bug appears both in emacs-27 as of
16fed05ba85c3d92d3c913657dd50a648ad3884a, and on master as of
771a6b68165b986b6bf9249c57ca11d310b0f0e4.