all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eshel Yaron via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Chmouel Boudjnah <chmouel@chmouel.com>
Cc: 69426@debbugs.gnu.org
Subject: bug#69426: 29.2; Let eglot-rename suggest thing-at-point when renaming
Date: Tue, 27 Feb 2024 14:29:32 +0100	[thread overview]
Message-ID: <m11q8yox1f.fsf@sp-byods-145-109-15-20.wireless.uva.nl> (raw)
In-Reply-To: <CAKSXASRV+hqV7yRFxtHE8C=r+CRkcQBQy+6d3QhJC1w1PxiD7A@mail.gmail.com> (Chmouel Boudjnah's message of "Tue, 27 Feb 2024 13:59:26 +0100")

Hello Chmouel,

Chmouel Boudjnah <chmouel@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





  reply	other threads:[~2024-02-27 13:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-27 12:59 bug#69426: 29.2; Let eglot-rename suggest thing-at-point when renaming Chmouel Boudjnah
2024-02-27 13:29 ` Eshel Yaron via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2024-02-27 13:32   ` Chmouel Boudjnah
2024-02-27 15:59     ` Eli Zaretskii
2024-02-27 13:33 ` Eli Zaretskii
2024-02-27 13:37   ` Chmouel Boudjnah

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m11q8yox1f.fsf@sp-byods-145-109-15-20.wireless.uva.nl \
    --to=bug-gnu-emacs@gnu.org \
    --cc=69426@debbugs.gnu.org \
    --cc=chmouel@chmouel.com \
    --cc=me@eshelyaron.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.