From: Juri Linkov <juri@linkov.net>
To: Stefan Kangas <stefan@marxist.se>
Cc: "Basil L. Contovounesios" <contovob@tcd.ie>, 43300@debbugs.gnu.org
Subject: bug#43300: [PATCH] Make M-x show new commands for obsolete aliases
Date: Wed, 18 Nov 2020 21:10:02 +0200 [thread overview]
Message-ID: <87y2iyh7fh.fsf@mail.linkov.net> (raw)
In-Reply-To: <CADwFkm=D0LY075e81mLzRtoBNt5P2R63aq8qRnwMLWW2_vCQFQ@mail.gmail.com> (Stefan Kangas's message of "Wed, 18 Nov 2020 05:49:48 -0800")
>> Is the following sufficient?
>
> The old behavior was to never show obsolete commands in completion. You
> could therefore only run one if you remembered and manually typed in the
> old name. If you made a command obsolete, it would therefore just
> appear to disappear from one release to the next.
>
> The new behavior was intended to be less abrupt for cases where the old
> command is anyways just an alias for a new command. In this way, we can
> more gently nudge users to use the new command instead.
>
> I therefore think we should revert back to the old behavior for commands
> that are obsolete without an alternative, that is we should not add such
> commands to the list of completion candidates.
Or maybe still some indication is needed to be displayed, even if there is
no alias for a new command. Maybe display just " (obsolete)"?
next prev parent reply other threads:[~2020-11-18 19:10 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-09 23:59 bug#43300: [PATCH] Make M-x show new commands for obsolete aliases Stefan Kangas
2020-09-10 21:09 ` Lars Ingebrigtsen
2020-09-13 13:06 ` Stefan Kangas
2020-11-18 9:14 ` Juri Linkov
2020-11-18 12:43 ` Basil L. Contovounesios
2020-11-18 13:49 ` Stefan Kangas
2020-11-18 19:10 ` Juri Linkov [this message]
2020-11-18 21:51 ` Drew Adams
2020-11-18 22:06 ` Stefan Kangas
2021-02-16 15:35 ` Stefan Kangas
2021-02-16 16:23 ` Lars Ingebrigtsen
2021-02-16 17:32 ` Stefan Kangas
2021-02-16 17:36 ` Lars Ingebrigtsen
2021-02-17 9:52 ` Stefan Kangas
2021-02-17 11:16 ` Lars Ingebrigtsen
2021-02-17 13:26 ` Basil L. Contovounesios
2021-05-13 10:19 ` Lars Ingebrigtsen
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y2iyh7fh.fsf@mail.linkov.net \
--to=juri@linkov.net \
--cc=43300@debbugs.gnu.org \
--cc=contovob@tcd.ie \
--cc=stefan@marxist.se \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).