--- Begin Message ---
Subject: |
[PATCH] Make M-x show new commands for obsolete aliases |
Date: |
Wed, 9 Sep 2020 16:59:33 -0700 |
Severity: wishlist
Please find attached two patches that tweaks how M-x
(execute-extended-command) works:
1. Show obsolete commands, and give their new name as an annotation.
M-x recently got the capability to show the keybindings for commands in
an annotation (in parenthesis after the command name). This patch makes
it show new names for obsolete aliases in the same way, instead of just
refusing to show them. This should help users ease into the new name
less abruptly and disruptively, instead of having it just disappearing
from M-x and be nowhere to be found.
As an added bonus, we could more confidently mark an alias such as
`display-time-world' obsolete (without worrying that it will just be
gone in the next release).
(Yes, if you type out the full name, you can still call it, but chances
are that many users are very reliant on tab completion and will assume
that it's just gone if it doesn't show up.)
2. Show the function that aliases point to in the same way.
0001-Make-M-x-show-obsolete-commands.patch
Description: Text Data
0002-Make-M-x-show-what-aliases-point-to.patch
Description: Text Data
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#43300: [PATCH] Make M-x show new commands for obsolete aliases |
Date: |
Sun, 13 Sep 2020 06:06:20 -0700 |
Lars Ingebrigtsen <larsi@gnus.org> writes:
> I haven't tried the patch, but it looks good to me.
Thanks. Pushed to master as commit 1b0a922a19 and 06d86b954d.
--- End Message ---