From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: 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 Message-ID: <2f948de5-7be0-25b3-ce57-b37bc594570f@yandex.ru> 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> <87k16khydc.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="41353"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 Cc: 36857-done@debbugs.gnu.org To: Eric Abrahamsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 26 17:01: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 1ikVZX-000Aeh-KK for geb-bug-gnu-emacs@m.gmane.org; Thu, 26 Dec 2019 17:01:11 +0100 Original-Received: from localhost ([::1]:54646 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ikVZW-0000bR-9g for geb-bug-gnu-emacs@m.gmane.org; Thu, 26 Dec 2019 11:01:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58114) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ikVZQ-0000ZW-4w for bug-gnu-emacs@gnu.org; Thu, 26 Dec 2019 11:01:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ikVZO-0006Wz-9B for bug-gnu-emacs@gnu.org; Thu, 26 Dec 2019 11:01:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50157) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ikVZO-0006Wo-2B for bug-gnu-emacs@gnu.org; Thu, 26 Dec 2019 11:01:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ikVZO-0004JR-0n for bug-gnu-emacs@gnu.org; Thu, 26 Dec 2019 11:01:02 -0500 Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Thu, 26 Dec 2019 16:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 36857 X-GNU-PR-Package: emacs Mail-Followup-To: 36857@debbugs.gnu.org, dgutov@yandex.ru, eric@ericabrahamsen.net Original-Received: via spool by 36857-done@debbugs.gnu.org id=D36857.157737601216475 (code D ref 36857); Thu, 26 Dec 2019 16:01:01 +0000 Original-Received: (at 36857-done) by debbugs.gnu.org; 26 Dec 2019 16:00:12 +0000 Original-Received: from localhost ([127.0.0.1]:56128 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ikVYa-0004Hf-B8 for submit@debbugs.gnu.org; Thu, 26 Dec 2019 11:00:12 -0500 Original-Received: from mail-lf1-f44.google.com ([209.85.167.44]:41402) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ikVYY-0004GL-PV for 36857-done@debbugs.gnu.org; Thu, 26 Dec 2019 11:00:11 -0500 Original-Received: by mail-lf1-f44.google.com with SMTP id m30so18781811lfp.8 for <36857-done@debbugs.gnu.org>; Thu, 26 Dec 2019 08:00:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=dogutqqeT7/JpmvTyP9Icnk3+preFMNMxdNuEZQo7KQ=; b=pUXxnN81NMkEZ+BrXANdkizSVHe1t163DGGMmBbd7Bg3xhljp3K+iNCDYlJO+dZnTl yd/P28JHKSzvE+b+wDzjE6Era3wme4KsSEnS6FwongQqjycTXlfFVvlSSYvfZcZnAqEG lIygOyKeju9MykwKfVD/SGRuPW7OGeI/wnAXKy6uIObQuKlfzp2Fc4SuvcCVFcbniS4a quySj+l8w7rCjEKTG9K0NL4H8xJg/tO+5h/z3aoWtTrxPxfTdITc/6+JGj6Y98hy2q/8 DAkyCV+LRAwJEYe+tH5YN+S80tGw9NBIlQ3NtqRTaZNyGMpvopaXHdqEhd4GgDByYSI6 04Uw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=dogutqqeT7/JpmvTyP9Icnk3+preFMNMxdNuEZQo7KQ=; b=o6BNxXNQujlqgP6DYoa8/0NjYfu68FMBjZTvONFRvMx0VTG4rPXNYoomsTQldxVg2P P8FMIj/1eN6cX0GATD21uGO8WcvkCE+ySgyMh2OJNe1LBGXB2maZK0x1oa5PvYbmhTWO lysbE/n+HZqHJHo5+im4XREY+ENvbht5DOuY5hjWLACS6O+w28HHMjTYrS29M6CzxQkf uMKT3USK957BgxULd0SHh3QmGphNQVp2WD1jZjcV42m9FkaIb66gvXMcSsSxBcxCa1Hj /UNICmuoLRpMBvtwf8TzpGP/IHGqE9giq3goCJDHYZin7gUKoiy8BAw/pOxLZX+wozUw 6Gyw== X-Gm-Message-State: APjAAAVRgYHJXIygrmEexsjPdJxZCOP5Y2YNYCKbu58E7qJ25vpDh9pi bt4m+eyyfRgxAyhUZoeslwmsu6H6cTk= X-Google-Smtp-Source: APXvYqy3k+EEKuei6Sd6KhRThYg82A+FYDaUAwW9Jxmdk4ZPwVZZMzWU3dz5tN2b1n33y4XdDeGXGA== X-Received: by 2002:ac2:5592:: with SMTP id v18mr24591877lfg.17.1577376004391; Thu, 26 Dec 2019 08:00:04 -0800 (PST) Original-Received: from [192.168.0.100] ([94.229.108.16]) by smtp.googlemail.com with ESMTPSA id i1sm12662241lji.71.2019.12.26.08.00.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 26 Dec 2019 08:00:03 -0800 (PST) In-Reply-To: <87k16khydc.fsf@ericabrahamsen.net> Content-Language: en-US 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:173784 Archived-At: 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.