Subject: bug#36857: closed (Re: bug#36857: 27.0.50; Reduce calls to xref-collect-matches in dired-do-find-regexp)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 26 Dec 2019 16:01:02 +0000

Your bug report

#36857: 27.0.50; Reduce calls to xref-collect-matches in dired-do-find-regexp

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].

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

Subject: Re: bug#36857: 27.0.50; Reduce calls to xref-collect-matches in dired-do-find-regexp
From: Dmitry Gutov <[email-masked]>
To: Eric Abrahamsen <[email-masked]>
Cc: [email-masked]
Date: Thu, 26 Dec 2019 18:00:02 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

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.

Subject: 27.0.50; Reduce calls to xref-collect-matches in dired-do-find-regexp
From: Eric Abrahamsen <[email-masked]>
To: [email-masked]
Date: Tue, 30 Jul 2019 10:20:42 -0700
List-Id: <debbugs-submit.debbugs.gnu.org>

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.