bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#43300: [PATCH] Make M-x show new commands for obsolete aliases


From: Stefan Kangas
Subject: bug#43300: [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.

Attachment: 0001-Make-M-x-show-obsolete-commands.patch
Description: Text Data

Attachment: 0002-Make-M-x-show-what-aliases-point-to.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]