[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [GNU ELPA] New package: Urgrep
From: |
Philip Kaludercic |
Subject: |
Re: [GNU ELPA] New package: Urgrep |
Date: |
Tue, 09 May 2023 08:45:07 +0000 |
Jim Porter <jporterbugs@gmail.com> 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 <jporterbugs@gmail.com>
> 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)
- [GNU ELPA] New package: Urgrep, Jim Porter, 2023/05/09
- Re: [GNU ELPA] New package: Urgrep,
Philip Kaludercic <=
- Re: [GNU ELPA] New package: Urgrep, Jim Porter, 2023/05/09
- Re: [GNU ELPA] New package: Urgrep, Philip Kaludercic, 2023/05/10
- Re: [GNU ELPA] New package: Urgrep, Jim Porter, 2023/05/10
- Re: [GNU ELPA] New package: Urgrep, Philip Kaludercic, 2023/05/10
- Re: [GNU ELPA] New package: Urgrep, Richard Stallman, 2023/05/12
- Re: [GNU ELPA] New package: Urgrep, Jim Porter, 2023/05/12
- Re: [GNU ELPA] New package: Urgrep, Philip Kaludercic, 2023/05/13
- Re: [GNU ELPA] New package: Urgrep, Richard Stallman, 2023/05/15
- Re: [GNU ELPA] New package: Urgrep, Philip Kaludercic, 2023/05/16
- Re: [GNU ELPA] New package: Urgrep, Richard Stallman, 2023/05/17