From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Tom Tromey Newsgroups: gmane.emacs.devel Subject: Re: vc-git-grep vs project-find-regexp: Was: Re: bug#27840: 26.0.50; vc-git-grep stopped working on git master Date: Sat, 29 Jul 2017 16:58:59 -0600 Message-ID: <87iniaalzg.fsf@tromey.com> References: <87shhj3wtc.fsf@pokyo> <30c0c165-abc0-826d-8cf9-9646086c4648@yandex.ru> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1501369212 14110 195.159.176.226 (29 Jul 2017 23:00:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 29 Jul 2017 23:00:12 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) Cc: Tom Tromey , emacs-devel To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jul 30 01:00:05 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dbaiK-00035l-B6 for ged-emacs-devel@m.gmane.org; Sun, 30 Jul 2017 01:00:04 +0200 Original-Received: from localhost ([::1]:53647 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dbaiM-00083Q-V7 for ged-emacs-devel@m.gmane.org; Sat, 29 Jul 2017 19:00:06 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46192) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dbahi-000839-T4 for emacs-devel@gnu.org; Sat, 29 Jul 2017 18:59:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dbahf-0001SS-SC for emacs-devel@gnu.org; Sat, 29 Jul 2017 18:59:27 -0400 Original-Received: from gproxy5-pub.mail.unifiedlayer.com ([67.222.38.55]:54383) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dbahf-000171-IS for emacs-devel@gnu.org; Sat, 29 Jul 2017 18:59:23 -0400 Original-Received: from cmgw3 (unknown [10.0.90.84]) by gproxy5.mail.unifiedlayer.com (Postfix) with ESMTP id E90DD140432 for ; Sat, 29 Jul 2017 16:59:03 -0600 (MDT) Original-Received: from box522.bluehost.com ([74.220.219.122]) by cmgw3 with id qmz01v0082f2jeq01mz39G; Sat, 29 Jul 2017 16:59:03 -0600 X-Authority-Analysis: v=2.2 cv=epiv9shX c=1 sm=1 tr=0 a=GsOEXm/OWkKvwdLVJsfwcA==:117 a=GsOEXm/OWkKvwdLVJsfwcA==:17 a=G3gG6ho9WtcA:10 a=vaJtXVxTAAAA:8 a=1Ute4d3drmQMULsUeBIA:9 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=f36Xaj41a+PhOeFylFBG/P4x4D1Rik9WZNw5bQS3xPY=; b=Y3jxMZxKqrbwgXoRfeYjHAjTL2 DPQvje2Kszv6zHQ8izsJCEotyBS2lHYCh9ioquzR8cT8vjK9G+iBZzBMkSCKE/Kxvr0anwofk8Ex9 B18HRdLFBnX6nqFEf0FO8tLoK; Original-Received: from 174-29-39-24.hlrn.qwest.net ([174.29.39.24]:43722 helo=bapiya) by box522.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.87) (envelope-from ) id 1dbahI-0028SD-AH; Sat, 29 Jul 2017 16:59:00 -0600 X-Attribution: Tom In-Reply-To: <30c0c165-abc0-826d-8cf9-9646086c4648@yandex.ru> (Dmitry Gutov's message of "Thu, 27 Jul 2017 16:26:06 +0300") X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box522.bluehost.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tromey.com X-BWhitelist: no X-Source-IP: 174.29.39.24 X-Exim-ID: 1dbahI-0028SD-AH X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 174-29-39-24.hlrn.qwest.net (bapiya) [174.29.39.24]:43722 X-Source-Auth: tom+tromey.com X-Email-Count: 2 X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTIyLmJsdWVob3N0LmNvbQ== X-Local-Domain: yes X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 67.222.38.55 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:217152 Archived-At: >>>>> "Dmitry" == Dmitry Gutov writes: Dmitry> On 7/26/17 8:57 PM, Tom Tromey wrote: >> >> I am running a build of git master from yesterday. >> I tried M-x vc-git-grep. Dmitry> As an aside, have you tried M-x project-find-regexp? Any particular Dmitry> dislikes? Ok, I tried project-find-regexp and project-find-file yesterday. The main issue is that they are just too slow. I'm mostly developing Firefox these days, which has a very large source tree. For project-find-file, I somewhat expected it to be slow, but I was surprised that project-find-regexp also appeared to just hang ... I interrupted it before it did anything. Maybe it's also trying to construct a file list? (I didn't check.) Would it be possible to cache the file list and maybe watch the filesystem for additions? I will try project-find-file some more and see if I have any quibbles with it. These would both be very nice to have... thanks, Tom