GNU bug report logs - #36857
27.0.50; Reduce calls to xref-collect-matches in dired-do-find-regexp

Previous Next

Package: emacs;

Reported by: Eric Abrahamsen <eric <at> ericabrahamsen.net>

Date: Tue, 30 Jul 2019 17:21:01 UTC

Severity: normal

Found in version 27.0.50

Done: Dmitry Gutov <dgutov <at> yandex.ru>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Eric Abrahamsen <eric <at> ericabrahamsen.net>
Subject: bug#36857: closed (Re: bug#36857: 27.0.50; Reduce calls to
 xref-collect-matches in dired-do-find-regexp)
Date: Thu, 26 Dec 2019 16:01:02 +0000
[Message part 1 (text/plain, inline)]
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 36857 <at> debbugs.gnu.org.

-- 
36857: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=36857
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Eric Abrahamsen <eric <at> ericabrahamsen.net>
Cc: 36857-done <at> debbugs.gnu.org
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
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.

[Message part 3 (message/rfc822, inline)]
From: Eric Abrahamsen <eric <at> ericabrahamsen.net>
To: bug-gnu-emacs <at> gnu.org
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.



This bug report was last modified 5 years and 147 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.