From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Joel Reicher Newsgroups: gmane.emacs.devel Subject: Should project delegate project-find-regexp? Date: Thu, 07 Apr 2022 21:48:33 +1000 Message-ID: <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="37275"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (windows-nt) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Apr 07 13:52:50 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 1ncQh0-0009a3-0G for ged-emacs-devel@m.gmane-mx.org; Thu, 07 Apr 2022 13:52:50 +0200 Original-Received: from localhost ([::1]:50916 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ncQgz-0003Da-0L for ged-emacs-devel@m.gmane-mx.org; Thu, 07 Apr 2022 07:52:49 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57288) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ncQd4-0001vk-V3 for emacs-devel@gnu.org; Thu, 07 Apr 2022 07:48:59 -0400 Original-Received: from mail-pl1-x634.google.com ([2607:f8b0:4864:20::634]:37425) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ncQcy-0007F0-DO for emacs-devel@gnu.org; Thu, 07 Apr 2022 07:48:41 -0400 Original-Received: by mail-pl1-x634.google.com with SMTP id n9so4644684plc.4 for ; Thu, 07 Apr 2022 04:48:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:user-agent:mime-version; bh=eJAvFm83O0lLxOsy/i0MHryHOuiEVQDmPeHyLKUAx40=; b=Tcdv/MutGqN7kRyNQUpyve8bwyDeiD51odMfceUJMbCZ5dix3Lpk3rz3jUFrGBAMA8 kbqCqfzwPrz3sZisl0kN6WnYabMdzNGh/tvOu5wdla78qh8nbsdQ8ct33loc3uP5rSni pp8CfEPLgEkY66TB9vg91Tz0EJrwIoy0PiCU9GgykuSLIuSUk0sXpocrJyhdVXCpAzoi 7J7JdSQ7EplUrLTju+XHoXuHUuXom6i9EuojQxzYr5p/Cj9iwiZYLbtEh4egVhatFIQg k3R0JyMa1S7HKl6LYSylu5YMStKnDRNktJvqa16xLbjCyvpFkbKdBGC5hTc27nNWb2hb aEAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :mime-version; bh=eJAvFm83O0lLxOsy/i0MHryHOuiEVQDmPeHyLKUAx40=; b=fTwIR87X91+azKTDDGitBoTg6NxF8hY8cLNS2FU0xQMUlHVuPLoPVPkA947QB1X6Y1 KdiniPhgAnGNGgf9SUNGZXF8rHIDJnSyahVP3ELF4+O/AcY/PwppcLPo8nCNnaQbFQxP PDL0D6hw446uFcU/qD1DpN6bTYbV1IC+BpDb5I0oF+trOLfXMZ0kDjPFiNUv3Pk+D2sg A1Fj8x/yF81tlyHaYNLJCq37J7SHBzvpdJj/uUY1AHc+N8N/w2v7sOa9GdmPDkEXAgWJ TIPdVkqVID79NJbnLOYCbBL7aAqx97l7+tmWITJnMtHtS8XVvtpkYGiAy+dYyEj2dtqk 07RQ== X-Gm-Message-State: AOAM530iYzm9vlhsIdJUtMooUlaxwC3BsHu1J7I/rSdndgUKT5vidPVw fgYmKGBRsGoa1CzYaR6tqXnNJcaTj2w= X-Google-Smtp-Source: ABdhPJx97q1nEr67jKZVc1uLh7W9JYP7DX44weB5amkJPLQi/joD4IB37OHiFo8QlJo0z19+CBFgBQ== X-Received: by 2002:a17:902:ccc6:b0:156:a94a:9db4 with SMTP id z6-20020a170902ccc600b00156a94a9db4mr13329503ple.45.1649332118103; Thu, 07 Apr 2022 04:48:38 -0700 (PDT) Original-Received: from LAPTOP-ACR66VVN (139-218-25-158.sta.wbroadband.net.au. [139.218.25.158]) by smtp.gmail.com with ESMTPSA id z89-20020a17090a6d6200b001cb138deec8sm2031655pjj.54.2022.04.07.04.48.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Apr 2022 04:48:37 -0700 (PDT) Received-SPF: pass client-ip=2607:f8b0:4864:20::634; envelope-from=joel.reicher@gmail.com; helo=mail-pl1-x634.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, SPF_HELO_NONE=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:287884 Archived-At: 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? Regards, - Joel