From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eshel Yaron via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#69426: 29.2; Let eglot-rename suggest thing-at-point when renaming Date: Tue, 27 Feb 2024 14:29:32 +0100 Message-ID: References: Reply-To: Eshel Yaron Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34550"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) 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:44:06 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 1rexkc-0008mW-IH for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 27 Feb 2024 14:44:06 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rexgb-00023U-Fg; Tue, 27 Feb 2024 08:39:58 -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 1rexgN-0001xk-Iz for bug-gnu-emacs@gnu.org; Tue, 27 Feb 2024 08:39:45 -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 1rexgH-0004Bm-86 for bug-gnu-emacs@gnu.org; Tue, 27 Feb 2024 08:39:43 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rexgg-0006kF-3n for bug-gnu-emacs@gnu.org; Tue, 27 Feb 2024 08:40:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eshel Yaron Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 27 Feb 2024 13:40:02 +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.170904114925795 (code B ref 69426); Tue, 27 Feb 2024 13:40:02 +0000 Original-Received: (at 69426) by debbugs.gnu.org; 27 Feb 2024 13:39:09 +0000 Original-Received: from localhost ([127.0.0.1]:53489 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rexfo-0006hz-Op for submit@debbugs.gnu.org; Tue, 27 Feb 2024 08:39:09 -0500 Original-Received: from mail.eshelyaron.com ([107.175.124.16]:36312 helo=eshelyaron.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rexfm-0006hq-U3 for 69426@debbugs.gnu.org; Tue, 27 Feb 2024 08:39:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=eshelyaron.com; s=mail; t=1709040575; bh=2DX75HSLrr+Gqor/ZHxPzZOv9xSkHYObTCe4BbGuHaE=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=eLRd6X0faGgyX69Ot1YgBPUBK2i0bzebqtCJbCWDIpHqhajvIjgETLIZgNx2ZLtpW jv0ekKXDdpcDlPeVMIk9Kqp1ewnImdXU1dspSQXDiW6PB2mwGYG1w5W5u+rOaxnzpI +S4yGz3CwYbfNc5j808Qdt7I5EtdnRVNbDnt58O5obsIemDUn8ZA9svs/E9OnpR5ML veEXIc/zbieU/IWsL6xAX6mVjT74i0+KUG4P/sIUdZQO1E/wjG1fMhSK8N9u4+F47J zevmUlf2QncSbsUFSQrMNfZHSgxTcVx+/Ogt6kmH3t97h6/KjoCRPOwwTmk2HfiiZN kYLD2R8QMHKOQ== In-Reply-To: (Chmouel Boudjnah's message of "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:280728 Archived-At: Hello Chmouel, Chmouel Boudjnah writes: > 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. AFAICT, that is more or less already the case: eglot-rename uses the name of the symbol at point as the minibuffer default value. > 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. Just hit M-n and it's there :) Best, Eshel