From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.bugs Subject: bug#36857: 27.0.50; Reduce calls to xref-collect-matches in dired-do-find-regexp Date: Wed, 25 Dec 2019 13:46:39 -0800 Message-ID: <87k16khydc.fsf@ericabrahamsen.net> References: <87wofzv3px.fsf@ericabrahamsen.net> <43928735-8d95-de13-74e6-96f4b1b3e1bd@yandex.ru> <26938345-f9bb-1c92-fedf-e59fdb536f77@yandex.ru> <8736inuzb3.fsf@ericabrahamsen.net> <0f42bb71-b460-1ec7-f24f-e2df50cb5f70@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="105415"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 36857@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Dec 25 22:47:11 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1ikEUo-000RK0-SQ for geb-bug-gnu-emacs@m.gmane.org; Wed, 25 Dec 2019 22:47:10 +0100 Original-Received: from localhost ([::1]:49414 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ikEUn-0004o0-J7 for geb-bug-gnu-emacs@m.gmane.org; Wed, 25 Dec 2019 16:47:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36080) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ikEUh-0004mU-90 for bug-gnu-emacs@gnu.org; Wed, 25 Dec 2019 16:47:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ikEUg-0000vB-CY for bug-gnu-emacs@gnu.org; Wed, 25 Dec 2019 16:47:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48758) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ikEUg-0000v3-9p for bug-gnu-emacs@gnu.org; Wed, 25 Dec 2019 16:47:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ikEUg-0003UV-94 for bug-gnu-emacs@gnu.org; Wed, 25 Dec 2019 16:47:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eric Abrahamsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 25 Dec 2019 21:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36857 X-GNU-PR-Package: emacs Original-Received: via spool by 36857-submit@debbugs.gnu.org id=B36857.157731040913391 (code B ref 36857); Wed, 25 Dec 2019 21:47:02 +0000 Original-Received: (at 36857) by debbugs.gnu.org; 25 Dec 2019 21:46:49 +0000 Original-Received: from localhost ([127.0.0.1]:54731 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ikEUT-0003Tv-0r for submit@debbugs.gnu.org; Wed, 25 Dec 2019 16:46:49 -0500 Original-Received: from ericabrahamsen.net ([52.70.2.18]:47594 helo=mail.ericabrahamsen.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ikEUR-0003Tb-3H for 36857@debbugs.gnu.org; Wed, 25 Dec 2019 16:46:47 -0500 Original-Received: from localhost (c-73-254-86-141.hsd1.wa.comcast.net [73.254.86.141]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id C52BFFA0E5; Wed, 25 Dec 2019 21:46:40 +0000 (UTC) In-Reply-To: <0f42bb71-b460-1ec7-f24f-e2df50cb5f70@yandex.ru> (Dmitry Gutov's message of "Wed, 25 Dec 2019 18:31:07 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:173766 Archived-At: On 12/25/19 18:31 PM, Dmitry Gutov wrote: > Hi Eric, > > 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, Eric