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.bugs Subject: bug#69426: 29.2; Let eglot-rename suggest thing-at-point when renaming Date: Tue, 27 Feb 2024 15:33:33 +0200 Message-ID: <86v86at4k2.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21146"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 69426@debbugs.gnu.org To: Chmouel Boudjnah Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Feb 27 14:35:08 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1rexbv-0005DZ-Rx for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 27 Feb 2024 14:35:07 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rexbd-0002tt-KG; Tue, 27 Feb 2024 08:34:49 -0500 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 1rexbQ-0002P3-Eo for bug-gnu-emacs@gnu.org; Tue, 27 Feb 2024 08:34:39 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rexbQ-00034B-3R for bug-gnu-emacs@gnu.org; Tue, 27 Feb 2024 08:34:36 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rexbp-0006Wu-MO for bug-gnu-emacs@gnu.org; Tue, 27 Feb 2024 08:35:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 27 Feb 2024 13:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69426 X-GNU-PR-Package: emacs Original-Received: via spool by 69426-submit@debbugs.gnu.org id=B69426.170904086425009 (code B ref 69426); Tue, 27 Feb 2024 13:35:01 +0000 Original-Received: (at 69426) by debbugs.gnu.org; 27 Feb 2024 13:34:24 +0000 Original-Received: from localhost ([127.0.0.1]:53216 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rexbD-0006VI-Mc for submit@debbugs.gnu.org; Tue, 27 Feb 2024 08:34:23 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:41180) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rexbA-0006Ut-WE for 69426@debbugs.gnu.org; Tue, 27 Feb 2024 08:34:21 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rexaf-000305-9z; Tue, 27 Feb 2024 08:33:49 -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=A1f7AjksJQVWZepLF0Lu7a97OLVGB3Yt4+GEpvNPiGc=; b=Z3IcICVzaXR4 7QHO9NtNFFbt+dfSmzQleMCcFWx8whazgji9gmS0hN+7ky/aMkyIyBOxuIe5HivOgaOIiEWnUV4rY 4BN9mSHsO4Wq1arbixUZODJMopKyIOX99CRp2GRQSnrUk7HaJd1YMp6Rqgu3LF1lhTgOebiPkeeiA zOZCFtadgZpkZ1R23R94JsDdh3OPm+P+iBX5klhu4B1ebFOGUTZ/Wr87y6/9Dq4uDeHytDC/csNeA acC98m2j4uvoo85sg0dddIHxI33mojpu/diqVd34ePIcEQhRovsY40H7SdBNpmrg/FQah4jTU1w/h gIraMD9BpbXYd828piPJSQ==; In-Reply-To: (message from Chmouel Boudjnah on Tue, 27 Feb 2024 13:59:26 +0100) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:280726 Archived-At: > From: Chmouel Boudjnah > Date: Tue, 27 Feb 2024 13:59:26 +0100 > > When using eglot-rename it asks for a new name (for the variable for > example) to rename to, it would be nice if there was a way to have the > current thing-at-point suggested as the new name. > > Usually when renaming a variable you want to rename it to something that > is related to the current name with the defautl behavior you have to > type the current name manually. You don't need to type the current name manually, you can instead press arrow or M-n, and Emacs will "type" the current name for you. So after that you only need to edit the current name to the new name. Isn't that what you wanted?