bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Dmitry Gutov
Subject: bug#40940: 27.0.91; project-query-replace-regexp stops too early
Date: Wed, 29 Apr 2020 06:54:22 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0

On 28.04.2020 17:35, Simen Heggestøyl wrote:

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.

I can confirm this. Tested with the current emacs-27.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]