From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Philip Kaludercic Newsgroups: gmane.emacs.devel Subject: Re: [GNU ELPA] New package: Urgrep Date: Tue, 09 May 2023 08:45:07 +0000 Message-ID: <871qjpuc4s.fsf@posteo.net> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38999"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Jim Porter Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue May 09 10:45:51 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 1pwIyk-000A05-Gx for ged-emacs-devel@m.gmane-mx.org; Tue, 09 May 2023 10:45:50 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pwIyL-00037T-Sv; Tue, 09 May 2023 04:45:25 -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 1pwIyF-00036W-Ma for emacs-devel@gnu.org; Tue, 09 May 2023 04:45:20 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pwIy8-0000ex-9H for emacs-devel@gnu.org; Tue, 09 May 2023 04:45:17 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 3BFFC240168 for ; Tue, 9 May 2023 10:45:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1683621910; bh=n5OenWO1ASA7FcHebV4eXmAJm0xqpJi1PiVREHTE6hI=; h=From:To:Cc:Subject:Autocrypt:Date:From; b=CT93Mw3ua3DpZZu29salUOWWAa7bE7iSrEryg2dcauPtWiPRMfafjDlNHxyIhqEjr IemUxpRIFgHLPu2j7De98hBzE/5iBBy3ODbXUB2j/czdg24rNiqZLuNKTOziPoiaVa hdEFJ+R4+gCIFjibcsTXR9zM+MsTtvLug0iJO9rerRy4gvtuZIX1EBZ4XIGhgkZB9C 9DDuJVn3CrB3cQ3Vxt8rW4F67FChZvbQrptUH+Q1G0CSh7OOiDwFjrp6RUCqgC3Zqt zhJpFWA5Q/NDPb6pCRFMleBsN3r0NOBw5y7fxkgByv7sZi5j6kt7PoWOoXlL8T5QEP niFuilec9GEsg== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4QFsDM4dJDz6v05; Tue, 9 May 2023 10:45:07 +0200 (CEST) In-Reply-To: (Jim Porter's message of "Mon, 8 May 2023 22:18:32 -0700") Autocrypt: addr=philipk@posteo.net; keydata= mDMEZBBQQhYJKwYBBAHaRw8BAQdAHJuofBrfqFh12uQu0Yi7mrl525F28eTmwUDflFNmdui0QlBo aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0 ZW8ubmV0PoiWBBMWCAA+FiEEDg7HY17ghYlni8XN8xYDWXahwukFAmQQUEICGwMFCQHhM4AFCwkI BwIGFQoJCAsCBBYCAwECHgECF4AACgkQ8xYDWXahwulikAEA77hloUiSrXgFkUVJhlKBpLCHUjA0 mWZ9j9w5d08+jVwBAK6c4iGP7j+/PhbkxaEKa4V3MzIl7zJkcNNjHCXmvFcEuDgEZBBQQhIKKwYB BAGXVQEFAQEHQI5NLiLRjZy3OfSt1dhCmFyn+fN/QKELUYQetiaoe+MMAwEIB4h+BBgWCAAmFiEE Dg7HY17ghYlni8XN8xYDWXahwukFAmQQUEICGwwFCQHhM4AACgkQ8xYDWXahwukm+wEA8cml4JpK NeAu65rg+auKrPOP6TP/4YWRCTIvuYDm0joBALw98AMz7/qMHvSCeU/hw9PL6u6R2EScxtpKnWof z4oM Received-SPF: pass client-ip=185.67.36.66; envelope-from=philipk@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:306000 Archived-At: Jim Porter writes: > I'd like to add a new package to GNU ELPA: Urgrep[1]. I posted about > it a while ago[2], but wasn't quite ready to submit it to GNU ELPA at > the time. Well, now is that time! I'll quote my original message for a > summary of what it's interesting about Urgrep: > >> A brief summary: Urgrep is designed to provide a universal interface on >> top of all "recursive grep"-like commands, from ripgrep to git grep to >> the classic find+grep. I made it to solve a frustration I had with other >> similar packages: they're primarily built to support a *particular* >> searching tool, and while some can be coaxed into running with other >> tools, it doesn't always work. Even when it does, it's usually not >> seamless, especially when you add Tramp to the equation. >> >> With Urgrep, you can use *any* rgrep-like command. It will >> automatically use the best tool on the system in question, so if some >> remote host doesn't have your favorite tool, it'll still work just fine. >> >> I also added some Isearch-like bindings in the main function's prompt >> (creatively named 'urgrep'). These all start with M-s and let you set >> common search flags, like number of context lines. Maybe there's a >> better way to do this; the current method seemed reasonable to me, but >> I'm certainly open to suggestions. Looks interesting! > [1] https://github.com/jimporter/urgrep > [2] https://lists.gnu.org/archive/html/emacs-devel/2022-09/msg00723.html > > From 9745926ef47fe52f0c94287c992637e00e849b38 Mon Sep 17 00:00:00 2001 > From: Jim Porter > Date: Mon, 8 May 2023 22:07:56 -0700 > Subject: [PATCH] * elpa-packages (urgrep): New package > > --- > elpa-packages | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/elpa-packages b/elpa-packages > index 93f6ccc..93e6e46 100644 > --- a/elpa-packages > +++ b/elpa-packages > @@ -696,6 +696,9 @@ > (uni-confusables :url nil > :readme "README.md") > (uniquify-files :url nil) > + (urgrep :url "https://github.com/jimporter/urgrep" > + :readme "README.md" > + :ignored-files (".github" "LICENSE" "Makefile" "*-tests.el")) Could you track these files in a .elpaignore file within the repository? > (url-http-ntlm :url nil) > (url-http-oauth :url "https://git.sr.ht/~fitzsim/url-http-oauth" > :readme ignore)