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: [GNU ELPA] New package: Urgrep Date: Mon, 8 May 2023 22:18:32 -0700 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------7EHh1fyHO3VHUxuuCmcE7qmY" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9739"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue May 09 07:19:17 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 1pwFkr-0002K5-1G for ged-emacs-devel@m.gmane-mx.org; Tue, 09 May 2023 07:19:17 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pwFkF-0007Hq-0g; Tue, 09 May 2023 01:18:39 -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 1pwFkC-0007HS-OD for emacs-devel@gnu.org; Tue, 09 May 2023 01:18:36 -0400 Original-Received: from mail-pf1-x434.google.com ([2607:f8b0:4864:20::434]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pwFkA-0003Wn-U1 for emacs-devel@gnu.org; Tue, 09 May 2023 01:18:36 -0400 Original-Received: by mail-pf1-x434.google.com with SMTP id d2e1a72fcca58-643b60855c8so3236844b3a.2 for ; Mon, 08 May 2023 22:18:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683609513; x=1686201513; h=to:subject:from:content-language:mime-version:date:message-id:from :to:cc:subject:date:message-id:reply-to; bh=5kT4EWmCg2+ZxMplX5PKCG9TCYUt7fnlFc4s4JMn7RY=; b=aQh5dY3vLfwEsLBI+f6CWE3TzyZHEZAQcnJYOfWT2AJpKdY9HQ+9XC3qSxrGgDyYrQ F0zgmmczCbvoy3k13LJ/a0mmmh6WsFAcvV8Trs0V2t581CXBaToqq/NyD2/Sxkf51ZHZ Bc2a9OVB/8fTKUpTt/wUUJbkxyYzXgppwSNVwQYc3mTuy00+ld2AudGFpWpmuct091KB tNpZXul/Xt7fxOhfc9vBYxhvyHkAPWIvr20m+3yo4il/o3JfsSmj8Orvy0kRXoz/2mbs W0rDlUXRKQ22i0s8UZQM4Ru/sRwgCtU8nAIyPRK7IstEcg2ZXDivA+U7XaXT8v3ZGRhl QUmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683609513; x=1686201513; h=to:subject:from:content-language:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=5kT4EWmCg2+ZxMplX5PKCG9TCYUt7fnlFc4s4JMn7RY=; b=ZOMvCYC/vtd4e7ePd2RrEhnJ7HDx0brE+rKGtcVdefgkNjRdfzIvDgkxqI4fVvCj4w 8tslHIGYB0M3Ut5Y/mntVK5WYrkjLeNJeFezMwtkaz+9SuD1cXPYbDNdgPODCISrB40w tGlFVY2QFt3+B2LRAomcUj5XdbvKiF2XtqbKyKGBY6U6eQNYkK9lFeFB6ka7KBi8b342 O4SktuwCCuq8Vu8IzqpEPZBACq2xj5AVSMdVffWSf1If0a7cwuGvIXn+LMwdrQfcKDR+ muLNVXbxi0Fh08+0UtgRknDUmPCBWqQ66XHsHQeyjh9EYyyU1A6AqDkY+hPU4kO8/cr+ IJQw== X-Gm-Message-State: AC+VfDz+UQM+w7+uimIq/8KUJJA4YwrrHbee0nESElVE36bk6mg0t/os 20fm8OUP0eOJa6hIXhv+js6TjRjejc8= X-Google-Smtp-Source: ACHHUZ7YqJ37FzxDo/vwUDsn0YXCX8+CFRFiVOGGlKwosi81j+6kYMGn9590MBwZpp5gmpCarpgKcg== X-Received: by 2002:a05:6a20:144d:b0:f5:9f72:1aa9 with SMTP id a13-20020a056a20144d00b000f59f721aa9mr17512402pzi.14.1683609512769; Mon, 08 May 2023 22:18:32 -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 z6-20020aa791c6000000b005a8b28c644esm867477pfa.4.2023.05.08.22.18.31 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 08 May 2023 22:18:32 -0700 (PDT) X-Mozilla-News-Host: news://news.gmane.io:119 Content-Language: en-US Received-SPF: pass client-ip=2607:f8b0:4864:20::434; envelope-from=jporterbugs@gmail.com; helo=mail-pf1-x434.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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:305994 Archived-At: This is a multi-part message in MIME format. --------------7EHh1fyHO3VHUxuuCmcE7qmY Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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. [1] https://github.com/jimporter/urgrep [2] https://lists.gnu.org/archive/html/emacs-devel/2022-09/msg00723.html --------------7EHh1fyHO3VHUxuuCmcE7qmY Content-Type: text/plain; charset=UTF-8; name="0001-elpa-packages-urgrep-New-package.patch" Content-Disposition: attachment; filename="0001-elpa-packages-urgrep-New-package.patch" Content-Transfer-Encoding: base64 RnJvbSA5NzQ1OTI2ZWY0N2ZlNTJmMGM5NDI4N2M5OTI2MzdlMDBlODQ5YjM4IE1vbiBTZXAg MTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBKaW0gUG9ydGVyIDxqcG9ydGVyYnVnc0BnbWFpbC5j b20+CkRhdGU6IE1vbiwgOCBNYXkgMjAyMyAyMjowNzo1NiAtMDcwMApTdWJqZWN0OiBbUEFU Q0hdICogZWxwYS1wYWNrYWdlcyAodXJncmVwKTogTmV3IHBhY2thZ2UKCi0tLQogZWxwYS1w YWNrYWdlcyB8IDMgKysrCiAxIGZpbGUgY2hhbmdlZCwgMyBpbnNlcnRpb25zKCspCgpkaWZm IC0tZ2l0IGEvZWxwYS1wYWNrYWdlcyBiL2VscGEtcGFja2FnZXMKaW5kZXggOTNmNmNjYy4u OTNlNmU0NiAxMDA2NDQKLS0tIGEvZWxwYS1wYWNrYWdlcworKysgYi9lbHBhLXBhY2thZ2Vz CkBAIC02OTYsNiArNjk2LDkgQEAKICAodW5pLWNvbmZ1c2FibGVzIAk6dXJsIG5pbAogICA6 cmVhZG1lICJSRUFETUUubWQiKQogICh1bmlxdWlmeS1maWxlcwk6dXJsIG5pbCkKKyAodXJn cmVwCQk6dXJsICJodHRwczovL2dpdGh1Yi5jb20vamltcG9ydGVyL3VyZ3JlcCIKKyAgOnJl YWRtZSAiUkVBRE1FLm1kIgorICA6aWdub3JlZC1maWxlcyAoIi5naXRodWIiICJMSUNFTlNF IiAiTWFrZWZpbGUiICIqLXRlc3RzLmVsIikpCiAgKHVybC1odHRwLW50bG0gCTp1cmwgbmls KQogICh1cmwtaHR0cC1vYXV0aAk6dXJsICJodHRwczovL2dpdC5zci5odC9+Zml0enNpbS91 cmwtaHR0cC1vYXV0aCIKICAgOnJlYWRtZSBpZ25vcmUpCi0tIAoyLjI1LjEKCg== --------------7EHh1fyHO3VHUxuuCmcE7qmY--