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 15:10:18 +0200 Message-ID: <83zgo2770l.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12802"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Jon Eskin Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jan 11 14:57:54 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 1n7Heo-00036B-JV for ged-emacs-devel@m.gmane-mx.org; Tue, 11 Jan 2022 14:57:50 +0100 Original-Received: from localhost ([::1]:43420 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n7Hen-00073v-DT for ged-emacs-devel@m.gmane-mx.org; Tue, 11 Jan 2022 08:57:49 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:54066) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n7Guy-0003KU-FK for emacs-devel@gnu.org; Tue, 11 Jan 2022 08:10:29 -0500 Original-Received: from [2001:470:142:3::e] (port=45460 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 1n7Guy-0007Pj-1Z; Tue, 11 Jan 2022 08:10:28 -0500 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=qA2DKAzy+QPOrk/7XnTm4xpq7pUvXMPHk8NA6l8pXPg=; b=MvrxAQIijiNo ZuGvr/XPUBUBcpt9VCit+S1ApEBb7B5IdvSi6Fdh2XI5T6Hjy9QJqlM5R2AXLGitgV1z7Irqd7LjT WBD5UroZDAe/7kl+qeLc8D36vOZJRkQgF9FN3vMC836wcjERb7r+Lm3VLSJy82JDiSknjKP2Laah+ sZMDkGY9PD0wj00fasbKvr1QFQuFW8CpIQHNg/5uVIJJO8MsKARfIM5BF1VHtpaJDioBXwoNiV7SY Z9YLn78Gi6pxidsu2QYc4pXY4FM7g/ivRWa8nEt049fBkvmmf2JM38KI8SHSiKTOS8TIqOkKYID/F vJmQNqq2m0X1A2PK7MqnyQ==; Original-Received: from [87.69.77.57] (port=1886 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 1n7Guv-0004ay-Ad; Tue, 11 Jan 2022 08:10:28 -0500 In-Reply-To: (message from Jon Eskin on Tue, 11 Jan 2022 02:45:57 -0500) 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:284601 Archived-At: > 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?