From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: [RFC] Urgrep: New ELPA submission (eventually) Date: Mon, 12 Sep 2022 14:11:04 +0300 Message-ID: <83k06897av.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32749"; 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 Mon Sep 12 13:17:01 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 1oXhQy-0008OZ-L8 for ged-emacs-devel@m.gmane-mx.org; Mon, 12 Sep 2022 13:17:00 +0200 Original-Received: from localhost ([::1]:58924 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oXhQx-00041N-EW for ged-emacs-devel@m.gmane-mx.org; Mon, 12 Sep 2022 07:16:59 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53984) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oXhLT-0000RT-Ui for emacs-devel@gnu.org; Mon, 12 Sep 2022 07:11:19 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:47850) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oXhLT-0007XI-B0; Mon, 12 Sep 2022 07:11:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=elUEz8dj+brwpiNwV73Jq0DQFIMAuO9kcwienveSU1I=; b=oljonEkwNMyI 6VKf3HLwLubSPb+jRy7UDWec3dI0Ui9jeTSr+S9G1RAQEtCp9a06HPfALocMIS5VyJakAjtqe7LPy caN+j8yYZ5djgXnu5PdWFVi+tpwOo7hNCHN05zJW8GI+wca+yzHx2QXlydm3n2OrxwUD0gh3uJBrn NXxDT7Tew60LEOnfxcGF/W15t1/ZXc413y1iFD++9Wo0sBawkpTZX80+f77RZsLELgdl7RBZJQ3Vo mjvlimMayaSqJsdiUlGddixQ5w/lbUO/L+Zl6blSEDt3waz7b8m7rMra6swf4EAAGAuwXCXa8Y2fe QP57SaOQmEhGixEhWGVmzw==; Original-Received: from [87.69.77.57] (port=2192 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oXhLS-0004Ww-Pa; Mon, 12 Sep 2022 07:11:19 -0400 In-Reply-To: (message from Jim Porter on Sun, 11 Sep 2022 21:56:04 -0700) 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:295199 Archived-At: > From: Jim Porter > Date: Sun, 11 Sep 2022 21:56:04 -0700 > > A while back, I made a package called Urgrep ("Universal Recursive Grep" > - ), and now that it's pretty > stable, I'm starting preparations to submit it to GNU ELPA. I'm not > *quite* ready to submit it for real, but I'm reasonably close and wanted > to get some wider feedback before I actually do submit it. If you have > any suggestions, questions, etc, I'm happy to hear them. > > 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[1]. 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. Would it make sense to add this to grep.el, instead of having an add-on package?