From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sean Whitton Newsgroups: gmane.emacs.devel Subject: Re: Should project delegate project-find-regexp? Date: Thu, 07 Apr 2022 09:56:55 -0700 Message-ID: <87lewghlwo.fsf@athena.silentflame.com> References: <86bkxdf71q.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11209"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Emacs/29.0.50 (x86_64-pc-linux-gnu) To: Joel Reicher , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Apr 07 19:00:48 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ncVUz-0002dT-Lr for ged-emacs-devel@m.gmane-mx.org; Thu, 07 Apr 2022 19:00:47 +0200 Original-Received: from localhost ([::1]:45200 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ncVUy-0006mS-PC for ged-emacs-devel@m.gmane-mx.org; Thu, 07 Apr 2022 13:00:44 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42688) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ncVRQ-0002Kh-NL for emacs-devel@gnu.org; Thu, 07 Apr 2022 12:57:06 -0400 Original-Received: from wout5-smtp.messagingengine.com ([64.147.123.21]:51083) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ncVRM-00026O-82 for emacs-devel@gnu.org; Thu, 07 Apr 2022 12:57:04 -0400 Original-Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 50A2E32020D5; Thu, 7 Apr 2022 12:56:57 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Thu, 07 Apr 2022 12:56:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spwhitton.name; h=cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm3; bh=Hq3WONJPc3jZUenbW8pSXnhir2nit9LfbLjzX3 tJ6tM=; b=rG1Yv1bfNxeE8Ebl9SG9pemqct0A5I5OEoqo2ug3VUDy19XUobE4ZS L5uU8oqy8p0+qoVwmM+q/vsJEQ4zl4pm3dOsdl5/nzGWV6py9iPrsv8cibHgCDzm L5tIyfO0cxO4NQR19UDzPeoytktFvy5cJe4mszmQJ/JkYFqcQgcF5Cj/nwsX51XL hApdBPcHsJaQ8Yy09TsV1l2fyPJtGjJaetXYu0XcHcEgS89W5uNWPD7RYdQukG40 hyaDEJjIxAFu6hGmJunnx+XSmldkJnHZTgP1rImAMtCMjXmplir0pZI/OQehsySi veJK7lBnMvI+LVnyNHUrFPgFijZRT7QA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=Hq3WONJPc3jZUenbW 8pSXnhir2nit9LfbLjzX3tJ6tM=; b=Q74SmysSqjiWtHqZfYtIB8M+WoAGSCSbs D9Fd8A7L79SaJQaKoP63fPW6tveoNk7SNJnVKZpG0thSFDls17SeE6waBxnwiBBN BJK39fez1+iad2RgjeeVHCnVVUkNM2SaxYXol3aT80I92pXbJwMOcokgioz9cq6b csFCtICGIJkor8rcJ6QvQdDxGuU2GG1nMGXaVMmbs1oQA7OyZuOuW4GNwY8xbUi7 1BVJSLrDFWj2LoBlfzafQXo5uo8G7duVZ7u66+eSEmLaaK/+YlXc1xk+17Y/sezR 1/s1SA+BzgDTjBdtFtgUoYAlGNeAdb3d66ZjSxsyFE7f5WaY7/BXA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrudejkedguddtkecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvffujghffgffkfggtgesthdttddttdertdenucfhrhhomhepufgvrghn ucghhhhithhtohhnuceoshhpfihhihhtthhonhesshhpfihhihhtthhonhdrnhgrmhgvqe enucggtffrrghtthgvrhhnpeelgeeggfdvieejvdfhudfggeetgfekkeeuieeljeejhedu geegfeetgefhueffkeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrih hlfhhrohhmpehsphifhhhithhtohhnsehsphifhhhithhtohhnrdhnrghmvg X-ME-Proxy: Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 7 Apr 2022 12:56:56 -0400 (EDT) Original-Received: by athena.silentflame.com (Postfix, from userid 1000) id 49FC21CA032; Thu, 7 Apr 2022 16:56:55 +0000 (UTC) In-Reply-To: <86bkxdf71q.fsf@gmail.com> Received-SPF: pass client-ip=64.147.123.21; envelope-from=spwhitton@spwhitton.name; helo=wout5-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:287893 Archived-At: Hello, On Thu 07 Apr 2022 at 09:48pm +10, Joel Reicher wrote: > It seems to me that, at least in the case of git, 'git grep' offers a superior implementation to anything offered by the generic implementation of project-find-regexp. > > At the moment project delegates the list of files to vc (for example) but perhaps it should delegate the regexp search itself? Interesting. One thing that comes to mind is that git-grep(1) is line-based, i.e., it can't do multiline regexps. Though, I am not sure that project-find-regexp can either. -- Sean Whitton