GNU bug report logs - #69426
29.2; Let eglot-rename suggest thing-at-point when renaming

Previous Next

Package: emacs;

Reported by: Chmouel Boudjnah <chmouel <at> chmouel.com>

Date: Tue, 27 Feb 2024 13:18:02 UTC

Severity: normal

Found in version 29.2

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 69426 <at> debbugs.gnu.org (full text, mbox):

From: Eshel Yaron <me <at> eshelyaron.com>
To: Chmouel Boudjnah <chmouel <at> chmouel.com>
Cc: 69426 <at> debbugs.gnu.org
Subject: Re: bug#69426: 29.2; Let eglot-rename suggest thing-at-point when
 renaming
Date: Tue, 27 Feb 2024 14:29:32 +0100
Hello Chmouel,

Chmouel Boudjnah <chmouel <at> chmouel.com> 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




This bug report was last modified 1 year and 83 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.