From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: project-find-regexp using ripgrep Date: Mon, 22 Jun 2020 05:30:11 +0300 Message-ID: <83y2ofu91o.fsf@gnu.org> References: <49f66d46-da8d-9658-ec85-ced39a99ad87@yandex.ru> <86tuz69y51.fsf@gmail.com> <15b1e532-99e7-5f43-defc-3c32072af3d6@yandex.ru> Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="40208"; mail-complaints-to="usenet@ciao.gmane.io" Cc: rrandresf@gmail.com, emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Jun 22 04:31:08 2020 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 1jnCEm-000APP-8C for ged-emacs-devel@m.gmane-mx.org; Mon, 22 Jun 2020 04:31:08 +0200 Original-Received: from localhost ([::1]:48404 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jnCEk-0007I6-AO for ged-emacs-devel@m.gmane-mx.org; Sun, 21 Jun 2020 22:31:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57284) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jnCDy-0006iQ-7e for emacs-devel@gnu.org; Sun, 21 Jun 2020 22:30:18 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:34049) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jnCDx-0007Uk-NM; Sun, 21 Jun 2020 22:30:17 -0400 Original-Received: from [176.228.60.248] (port=1372 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jnCDv-0006Ta-QU; Sun, 21 Jun 2020 22:30:16 -0400 In-Reply-To: <15b1e532-99e7-5f43-defc-3c32072af3d6@yandex.ru> (message from Dmitry Gutov on Mon, 22 Jun 2020 03:01:42 +0300) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:252505 Archived-At: > From: Dmitry Gutov > Date: Mon, 22 Jun 2020 03:01:42 +0300 > Cc: emacs-devel > > +(defcustom xref-search-command-template xref-grep-search-template > + "Command template to search a list of files piped from stdin. > + > +Allowed fields: > + > + for extra arguments such as -i and --color > + for the regexp itself (in Extended format)" > + :type `(choice > + (const :tag "Use Grep" ,xref-grep-search-template) > + (const :tag "Use ripgrep" ,xref-ripgrep-search-template) > + (string :tag "User defined"))) Please don't forget the :version tag. Also, I think this new option should be in NEWS. Thanks.