GNU bug report logs -
#40940
27.0.91; project-query-replace-regexp stops too early
Previous Next
Reported by: Simen Heggestøyl <simenheg <at> runbox.com>
Date: Tue, 28 Apr 2020 14:57:02 UTC
Severity: normal
Found in version 27.0.91
Done: Dmitry Gutov <dgutov <at> yandex.ru>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
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.
This bug report was last modified 5 years and 112 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.