all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@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 15:33:33 +0200	[thread overview]
Message-ID: <86v86at4k2.fsf@gnu.org> (raw)
In-Reply-To: <CAKSXASRV+hqV7yRFxtHE8C=r+CRkcQBQy+6d3QhJC1w1PxiD7A@mail.gmail.com> (message from Chmouel Boudjnah on Tue, 27 Feb 2024 13:59:26 +0100)

> From: Chmouel Boudjnah <chmouel@chmouel.com>
> 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 <DOWN> 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?





  parent reply	other threads:[~2024-02-27 13:33 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
2024-02-27 13:32   ` Chmouel Boudjnah
2024-02-27 15:59     ` Eli Zaretskii
2024-02-27 13:33 ` Eli Zaretskii [this message]
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=86v86at4k2.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=69426@debbugs.gnu.org \
    --cc=chmouel@chmouel.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.