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: [Patch] Add project.el command to replace symbol at point throughout project Date: Tue, 11 Jan 2022 19:17:54 +0200 Message-ID: <83lezm6vjx.fsf@gnu.org> References: <83zgo2770l.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38485"; mail-complaints-to="usenet@ciao.gmane.io" Cc: eskinjp@gmail.com, emacs-devel@gnu.org To: Daniel =?iso-8859-1?Q?Mart=EDn?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jan 11 18:19:43 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 1n7KoA-0009mI-Tu for ged-emacs-devel@m.gmane-mx.org; Tue, 11 Jan 2022 18:19:43 +0100 Original-Received: from localhost ([::1]:51942 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n7Ko8-0006T9-JT for ged-emacs-devel@m.gmane-mx.org; Tue, 11 Jan 2022 12:19:40 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:37446) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n7KmX-0003Zc-P1 for emacs-devel@gnu.org; Tue, 11 Jan 2022 12:18:01 -0500 Original-Received: from [2001:470:142:3::e] (port=53050 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n7KmX-0008Op-E9; Tue, 11 Jan 2022 12:18:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=1HNXA0TM9ZBO3TGj/WckIXRmrndieL9NVxaxXv+Ws+I=; b=Gh672Za9sdeGqQN4glH7 +rlvqr38BeT48iL95DGTKuo8c7V2cKJ0y8VTnmPPgApkeAxVBey4h6NikKjWVgkRcH25LeKktnEhl u6/YcysBLRx0l0AM9tkDwJA36YaUXZqJZoJSuvWqqJJ6IAeeh+vMzGq71T88sHezc5KL4ZmhYoiay RG09HS6nUeLDg4EztiFusmrw4sjwQSZqGxiGWGKc7AQ2JGiPZInmRsu17TEf5y5Do8AaUtiJRPN9O SDu0z8JHGN0Es3Jv2NkiMZC4Eic+tglaeDr53SO3h1mGoUYfmTSXiks+FKrB9uqv1g2o4Z/31Y+jB mn92e5KdF6chNg==; Original-Received: from [87.69.77.57] (port=1495 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 1n7KmX-0004Um-Br; Tue, 11 Jan 2022 12:18:01 -0500 In-Reply-To: (message from Daniel =?iso-8859-1?Q?Mart=EDn?= on Tue, 11 Jan 2022 16:15:46 +0100) 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:284618 Archived-At: > From: Daniel Martín > Cc: Jon Eskin , emacs-devel@gnu.org > Date: Tue, 11 Jan 2022 16:15:46 +0100 > > Eli Zaretskii writes: > > >> From: Jon Eskin > >> Date: Tue, 11 Jan 2022 02:45:57 -0500 > >> > >> Attached is a small patch adding command 'project-query-replace-at-point' to project.el. The command is > >> designed to improve the ergonomics of making a project wide text replacement of a symbol at point. > > > > Thanks. > > > > I think we should have such a command outside project.el as well. > > Would it be possible to base it on xref.el and related facilities, so > > that, for example, one could rename a symbol in all the files > > mentioned in TAGS table? > > How would it be different from tags-query-replace? Maybe it wouldn't.