From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#43300: [PATCH] Make M-x show new commands for obsolete aliases Date: Wed, 18 Nov 2020 21:10:02 +0200 Organization: LINKOV.NET Message-ID: <87y2iyh7fh.fsf@mail.linkov.net> References: <87ft576o5h.fsf@linkov.net> <87zh3ezvg8.fsf@tcd.ie> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2306"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) Cc: "Basil L. Contovounesios" , 43300@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Nov 18 21:02:25 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kfTeq-0000UL-I5 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 18 Nov 2020 21:02:24 +0100 Original-Received: from localhost ([::1]:44260 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kfTep-0006Sb-6E for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 18 Nov 2020 15:02:23 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51146) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kfTcZ-0004wY-88 for bug-gnu-emacs@gnu.org; Wed, 18 Nov 2020 15:00:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53252) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kfTcY-0006pS-Sr for bug-gnu-emacs@gnu.org; Wed, 18 Nov 2020 15:00:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kfTcY-0001Rs-NC for bug-gnu-emacs@gnu.org; Wed, 18 Nov 2020 15:00:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 18 Nov 2020 20:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43300 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 43300-submit@debbugs.gnu.org id=B43300.16057295815510 (code B ref 43300); Wed, 18 Nov 2020 20:00:02 +0000 Original-Received: (at 43300) by debbugs.gnu.org; 18 Nov 2020 19:59:41 +0000 Original-Received: from localhost ([127.0.0.1]:36565 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kfTcD-0001Qo-0Q for submit@debbugs.gnu.org; Wed, 18 Nov 2020 14:59:41 -0500 Original-Received: from relay2-d.mail.gandi.net ([217.70.183.194]:63977) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kfTcA-0001Qa-Dy for 43300@debbugs.gnu.org; Wed, 18 Nov 2020 14:59:39 -0500 X-Originating-IP: 91.129.97.46 Original-Received: from mail.gandi.net (m91-129-97-46.cust.tele2.ee [91.129.97.46]) (Authenticated sender: juri@linkov.net) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id A0BA840002; Wed, 18 Nov 2020 19:59:30 +0000 (UTC) In-Reply-To: (Stefan Kangas's message of "Wed, 18 Nov 2020 05:49:48 -0800") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:193644 Archived-At: >> 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)"?