From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Rudolf =?utf-8?Q?Adamkovi=C4=8D?= Newsgroups: gmane.emacs.devel Subject: Re: vc-git-grep vs project-find-regexp Date: Thu, 31 Aug 2023 00:06:49 +0200 Message-ID: References: <87lee4gre8.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38142"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Philip Kaludercic , =?utf-8?Q?Nicol=C3=A1s?= Ojeda =?utf-8?Q?B=C3=A4r?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Aug 31 00:07:25 2023 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 1qbTLQ-0009dR-3P for ged-emacs-devel@m.gmane-mx.org; Thu, 31 Aug 2023 00:07:24 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qbTL7-0004GD-Ff; Wed, 30 Aug 2023 18:07:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qbTL4-0004Fh-Q1 for emacs-devel@gnu.org; Wed, 30 Aug 2023 18:07:02 -0400 Original-Received: from mr85p00im-hyfv06011401.me.com ([17.58.23.191]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qbTL2-0001ex-M0 for emacs-devel@gnu.org; Wed, 30 Aug 2023 18:07:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1693433214; bh=ijjg+NKaoLrn3XkSBemNCDSN2p0iSMiHoPUmT1Vhw6k=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=VDBt11bey4qBvMDxRsmqZhVX3e+jrf9lUkKCiUd2Vzt06N8R/aR4q9Lgcu2xr8oXX gLgQsZjWz0vGZqYgSJA6cyUlomlMxfCjPAT/oIXaPGsagEUPZJPbN0xjZnfEbfagw6 CHCdAbdwUw+Qebd7KMSF/Rq7hmjgXcXX2QmorZPFnHFqPkxNHV10awdI3Bwl8Wpp/u GqM0xd7NXMl0n+TPCiqnZGQ5zcs/T2ARwu9nQ69EgwMOIrirU5G+8n/kpK3OKoQs8h 058ujfRmLGoDUwFexRpoItehkEvxGskBa6BYHeFFSg++weeopNFjp6+0vR6ZZlQCFK uSqGsMrkyw1lQ== Original-Received: from Rudolfs-MacBook-Air.local (mr38p00im-dlb-asmtp-mailmevip.me.com [17.57.152.18]) by mr85p00im-hyfv06011401.me.com (Postfix) with ESMTPSA id 413E8357ABE4; Wed, 30 Aug 2023 22:06:52 +0000 (UTC) In-Reply-To: <87lee4gre8.fsf@posteo.net> X-Proofpoint-GUID: ksfXiSua9DPM4p-Oqb1jV29mr5FrSDfz X-Proofpoint-ORIG-GUID: ksfXiSua9DPM4p-Oqb1jV29mr5FrSDfz X-Proofpoint-Virus-Version: =?UTF-8?Q?vendor=3Dfsecure_engine=3D1.1.170-22c6f66c430a71ce266a39bfe25bc?= =?UTF-8?Q?2903e8d5c8f:6.0.138,18.0.572,17.11.62.513.0000000_definitions?= =?UTF-8?Q?=3D2020-02-14=5F11:2020-02-14=5F02,2020-02-14=5F11,2021-12-02?= =?UTF-8?Q?=5F01_signatures=3D0?= X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 mlxscore=0 spamscore=0 phishscore=0 suspectscore=0 mlxlogscore=731 malwarescore=0 bulkscore=0 clxscore=1011 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2308300200 Received-SPF: pass client-ip=17.58.23.191; envelope-from=salutis@me.com; helo=mr85p00im-hyfv06011401.me.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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:309565 Archived-At: Philip Kaludercic writes: > [...], while `project-find-regexp' defers to `xref-matches-in-files' > and uses `xref-search-program', which is set to regular "grep" by > default. I have always wondered, why does Emacs not test if a modern grep is available on PATH and use it by default? Rudy --=20 "The whole science is nothing more than a refinement of everyday thinking." -- Albert Einstein, 1879-1955 Rudolf Adamkovi=C4=8D [he/him] Studenohorsk=C3=A1 25 84103 Bratislava Slovakia