From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jim Porter Newsgroups: gmane.emacs.devel Subject: Re: Should project delegate project-find-regexp? Date: Sat, 9 Apr 2022 16:01:39 -0700 Message-ID: <173d4cd9-b8bf-6d16-d059-633030873a52@gmail.com> References: <86bkxdf71q.fsf@gmail.com> <7147b499-0df5-6307-54ee-387f35ef9dcf@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13421"; mail-complaints-to="usenet@ciao.gmane.io" To: Dmitry Gutov , Joel Reicher , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Apr 10 01:02:42 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 1ndK6M-0003N4-HY for ged-emacs-devel@m.gmane-mx.org; Sun, 10 Apr 2022 01:02:42 +0200 Original-Received: from localhost ([::1]:51498 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ndK6L-0005pI-3t for ged-emacs-devel@m.gmane-mx.org; Sat, 09 Apr 2022 19:02:41 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52364) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ndK5P-00051W-IL for emacs-devel@gnu.org; Sat, 09 Apr 2022 19:01:46 -0400 Original-Received: from mail-pg1-x533.google.com ([2607:f8b0:4864:20::533]:45043) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ndK5O-00073L-1C for emacs-devel@gnu.org; Sat, 09 Apr 2022 19:01:43 -0400 Original-Received: by mail-pg1-x533.google.com with SMTP id 125so10919476pgc.11 for ; Sat, 09 Apr 2022 16:01:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=subject:to:references:from:message-id:date:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=F/ey1dfZidYzsv6mRksfsASrYt3fDNj6Mj/ktRsx8Kw=; b=SOI6CXFjXOFeeEYJZak/i6nrLqBoY9Q60UDkjdFxPL2f9YsJkKeK2NkccOsXDg9/bU S7v1P4jYmLU/HwievxN56ssHWUmLwWJA2IcA+DIi+O//u/TUfKPkAkZ6TELGD/XIywLI VC+L17T3JEy1+gI1boGsRj/saFBhQPVc/1pbN8VyAR/6A+9Y05vf7QzIYznSzOV+wrPP u7RtiL1r+vpfuLhMBhw/KfcmY1AW5aEPiFTOgrjV5VPho2MkoiMeK6dvDjVNqura/1rW I+LT3vwcrjCQoam56ms96Fkv3Vo+9RZXTtxB6kADjQD6EJG3AyGmqZgSpXVqUDecM6d8 F6FQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=F/ey1dfZidYzsv6mRksfsASrYt3fDNj6Mj/ktRsx8Kw=; b=8G6Z8wWQGWgw/+CEU8XZrOGdq57zijDxbZQ8+QV4eIHgOyPOZeyZeUtc09PH/Sn3ec vF6h9CGXRPQ4arsAn7D9KU0/8V59bmVSGE7ONuKyIs0aZUKueMpxITgVFSwE69p+Qh5j f3m7bYPcgOavUuaHBoLB7B1T5BKdy2XRNtn4Ja6jtVeGCNIj1tHg/+mGNLJSa071wfhx 3ao9yeYqkW9W3Thbq2l41gWzcIYaL48O3OoQZv7AX8BqONzCWVOGrfzRy866Wd0ZvKgT SFpyE8kH0p6+DMHe7TPjfa63y+wSnzwQTQRASxOHtHB2/F0KFEtCAyYBdaIiKK+5e1Ds qnNw== X-Gm-Message-State: AOAM530UkjKJr1OL3ZTCEXzinSOYLNtwy3Hq8mcimLwcLc87FFef+Arp s/wByayLvVrcUydxNMvUSyarYfQhnXY= X-Google-Smtp-Source: ABdhPJwjLGkGcGCBbnnrG+DoamXFEcbv3dad1frPHj5/+MwyuIsfdxl4iiDpe8zn5nAhRdwrhgvsBA== X-Received: by 2002:aa7:8617:0:b0:4fb:4fc:1ea8 with SMTP id p23-20020aa78617000000b004fb04fc1ea8mr26231839pfn.84.1649545300518; Sat, 09 Apr 2022 16:01:40 -0700 (PDT) Original-Received: from [192.168.1.2] (cpe-76-168-148-233.socal.res.rr.com. [76.168.148.233]) by smtp.googlemail.com with ESMTPSA id x36-20020a634a24000000b0039cc6fff510sm8571129pga.58.2022.04.09.16.01.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 09 Apr 2022 16:01:40 -0700 (PDT) In-Reply-To: <7147b499-0df5-6307-54ee-387f35ef9dcf@yandex.ru> Content-Language: en-US Received-SPF: pass client-ip=2607:f8b0:4864:20::533; envelope-from=jporterbugs@gmail.com; helo=mail-pg1-x533.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:288070 Archived-At: On 4/7/2022 7:30 AM, Dmitry Gutov wrote: > On 07.04.2022 14:48, 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. > > Last I checked, there was no way to make 'git grep' search in untracked > files. I use `git grep --no-index --exclude-standard', which lets you search in untracked files (and non-Git directories too!), but also respects `.gitignore'. I think that provides the most similarity to find+grep. Of course, there may be some problems with these flags that I haven't discovered yet... - Jim