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

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

bug#36857: closed (27.0.50; Reduce calls to xref-collect-matches in dire


From: GNU bug Tracking System
Subject: bug#36857: closed (27.0.50; Reduce calls to xref-collect-matches in dired-do-find-regexp)
Date: Thu, 26 Dec 2019 16:01:01 +0000

Your message dated Thu, 26 Dec 2019 18:00:02 +0200
with message-id <address@hidden>
and subject line Re: bug#36857: 27.0.50; Reduce calls to xref-collect-matches 
in dired-do-find-regexp
has caused the debbugs.gnu.org bug report #36857,
regarding 27.0.50; Reduce calls to xref-collect-matches in dired-do-find-regexp
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden.)


-- 
36857: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=36857
GNU Bug Tracking System
Contact address@hidden with problems
--- 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 ---

reply via email to

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