From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#71179: [PATCH] In rgrep, check matching files before excluding files Date: Sat, 25 May 2024 15:31:01 +0300 Message-ID: <2c4c0319-b16e-4912-9991-3f6ad5a035a0@gutov.dev> References: <2c88f75b-6407-4eab-a5a5-0c16f005cd9f@gutov.dev> 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="4600"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: 71179@debbugs.gnu.org To: Spencer Baugh , Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat May 25 14:32:10 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1sAqZF-00010q-S2 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 25 May 2024 14:32:10 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sAqZ4-0001M1-S2; Sat, 25 May 2024 08:31:58 -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 1sAqZ1-0001FX-BM for bug-gnu-emacs@gnu.org; Sat, 25 May 2024 08:31:56 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sAqZ1-0007jM-31 for bug-gnu-emacs@gnu.org; Sat, 25 May 2024 08:31:55 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sAqZ8-00028i-Fw for bug-gnu-emacs@gnu.org; Sat, 25 May 2024 08:32:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 25 May 2024 12:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71179 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 71179-submit@debbugs.gnu.org id=B71179.17166402848117 (code B ref 71179); Sat, 25 May 2024 12:32:02 +0000 Original-Received: (at 71179) by debbugs.gnu.org; 25 May 2024 12:31:24 +0000 Original-Received: from localhost ([127.0.0.1]:43160 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sAqYS-00026i-H2 for submit@debbugs.gnu.org; Sat, 25 May 2024 08:31:23 -0400 Original-Received: from wfhigh3-smtp.messagingengine.com ([64.147.123.154]:54215) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sAqYQ-00026I-Cf for 71179@debbugs.gnu.org; Sat, 25 May 2024 08:31:18 -0400 Original-Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailfhigh.west.internal (Postfix) with ESMTP id 00D2E1800070; Sat, 25 May 2024 08:31:04 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Sat, 25 May 2024 08:31:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1716640264; x=1716726664; bh=ZrTFJpz4wpZR0lbee59MzgcrS12Vg3ZjJudPzid8b/g=; b= pcvz2ExXFSLp4RJ/vMMXd+HcqabdByGdPxiUKk62E0tyZ/YdWU8UDMxwDL3U0JGZ 1E/jwts6pqPqfYRnN9pPQKfkAzfGX3TXoQRBFQfIr6YmXOn36EWbdt/fIKMqp7CM m0Gw9MOQGCdyfJ8weytTt66jlB0oF4zlNNq+u2sqa/AbGTYAuOEl4RhXggoYPaPe xl/MoBKK9KXcRSIho1ea3RuGiebmH6O0y9qjtDJjJO9AA1VMqGK9O3IPSu1bdvsX eYUoQL5eOzwnbb1PlZ4WqFlRt2CiYemrIqV82NQuqiIDT3rxoY4g91YSyk8c9Zpp z0a2vBYOnb24Go8sDbCOsA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1716640264; x= 1716726664; bh=ZrTFJpz4wpZR0lbee59MzgcrS12Vg3ZjJudPzid8b/g=; b=Z JBSxGPFFdBPTHsKBVIvaeZ/1M91Y4o/+7Ezx7IuiztyNuGn7uBhsyc0l3kIz9IkV 2k+v6YSEa0kEki383SMQFPvwIBkmCBVeCYd0XHmA+4/pZJbezZjVX3uFlht4auRg h0P521jLXMaxASpqKvLGdXJ5XL1ALnjdR8vNWivI/L996c37drffvFdUuI9Lc4Mh jDG7I3cz72mkuwDFIUkhvG1LguqE6sa9dtFazrqnDS0Q2z13SdrIWiA2bc0mTm1O mVoFpwvaHANmQMmGIksJCjVW+luwOXOn4puQaS49OSIX+2J1/vt1WA8e8J+ysfDI N41efW6YHB6gep6I9nZQA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvdejtddgheduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtvdejnecuhfhrohhmpeffmhhi thhrhicuifhuthhovhcuoegumhhithhrhiesghhuthhovhdruggvvheqnecuggftrfgrth htvghrnhepteduleejgeehtefgheegjeekueehvdevieekueeftddvtdevfefhvdevgedu jeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepug hmihhtrhihsehguhhtohhvrdguvghv X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 25 May 2024 08:31:03 -0400 (EDT) Content-Language: en-US In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:285864 Archived-At: On 24/05/2024 23:54, Spencer Baugh wrote: > A grep-find-template that doesn't include will indeed start seeing > ignores based on grep-find-ignored-files in rgrep. But, such a user can > just set grep-find-ignored-files to nil and then they'll stop seeing > ignores again. Yeah, that sounds like a good enough solution for such cases. I recall that Juri experimented with customizing grep-find-template (to use ripgrep? and perhaps other things). I wonder what he thinks about this patch.