--- Begin Message ---
Subject: |
27.0.50; Reduce calls to xref-collect-matches in dired-do-find-regexp |
Date: |
Tue, 30 Jul 2019 10:20:42 -0700 |
This is a proper bug report for an issue I raised on emacs.devel:
When marking multiple files in Dired, then running a search with
`dired-do-find-regexp', `xref-collect-matches' is called once per marked
file, when it could just be called once for the whole search. This can
slow things down quite a bit.
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#36857: 27.0.50; Reduce calls to xref-collect-matches in dired-do-find-regexp |
Date: |
Thu, 26 Dec 2019 18:00:02 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 |
On 25.12.2019 23:46, Eric Abrahamsen wrote:
Please try the attached patch. It should cut down on the number of
process calls.
That's great! The searches that once took "longer than I was willing to
wait" now return nearly instantly. Thanks a lot. The compiler complains
that `project--files-in-directory' and `project--find-regexp-in-files'
are unknown, but presumably that's easily addressed.
Thanks for testing!
Pushed as ccd7cd2c51.
--- End Message ---