From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#43300: [PATCH] Make M-x show new commands for obsolete aliases Date: Wed, 18 Nov 2020 13:51:19 -0800 (PST) Message-ID: References: <87ft576o5h.fsf@linkov.net> <87zh3ezvg8.fsf@tcd.ie> <87y2iyh7fh.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15853"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "Basil L. Contovounesios" , 43300@debbugs.gnu.org To: Juri Linkov , Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Nov 18 22:52:19 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 1kfVND-00041R-2h for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 18 Nov 2020 22:52:19 +0100 Original-Received: from localhost ([::1]:42440 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kfVNB-0002Ym-Jc for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 18 Nov 2020 16:52:17 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45884) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kfVMx-0002Yb-2y for bug-gnu-emacs@gnu.org; Wed, 18 Nov 2020 16:52:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53444) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kfVMv-0004ZU-PP for bug-gnu-emacs@gnu.org; Wed, 18 Nov 2020 16:52:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kfVMv-0004J8-P4 for bug-gnu-emacs@gnu.org; Wed, 18 Nov 2020 16:52:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 18 Nov 2020 21:52:01 +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.160573630016531 (code B ref 43300); Wed, 18 Nov 2020 21:52:01 +0000 Original-Received: (at 43300) by debbugs.gnu.org; 18 Nov 2020 21:51:40 +0000 Original-Received: from localhost ([127.0.0.1]:36757 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kfVMa-0004IY-Jn for submit@debbugs.gnu.org; Wed, 18 Nov 2020 16:51:40 -0500 Original-Received: from userp2120.oracle.com ([156.151.31.85]:43608) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kfVMY-0004IL-I3 for 43300@debbugs.gnu.org; Wed, 18 Nov 2020 16:51:39 -0500 Original-Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 0AILdsQl028342; Wed, 18 Nov 2020 21:51:31 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2020-01-29; bh=NQ+VeHfzUyX3hJIyOZsxR++qPl9JM/ECafAR+GCHNzI=; b=wqugWZqhD088OaOBoa56ddmb7uxOxzgA4rBGvNcUeU+qIvoDFyhdPKacd9yxTBDsNofN zO+seltGzYL35UdtyBsV3T/de4UKdnLlgzB+1A+ef9iFCmZZ3HfMpAHU2h9gKvevY6B4 MDm10IkkT0ncr8M/CKPrjjE7SJE3EFYvHmhzWD1hXTnz3hlww5AWxb5N1Hf7RdhMHUdL 2RCVDNaertNTFpH1RRHWAcLF8RshmPFaNn/laF9rn8NngHiLS+oCO/KjZeMRtzE35++B 9lSesrCxxpqqSBFhZMgns7UuFOhYkvXZ1kWyhVESoYDg+9sW4aADEo7uIvhBd2AoLLOy vw== Original-Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71]) by userp2120.oracle.com with ESMTP id 34t7vnad4k-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 18 Nov 2020 21:51:31 +0000 Original-Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1]) by aserp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 0AILfsBP072087; Wed, 18 Nov 2020 21:51:31 GMT Original-Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserp3030.oracle.com with ESMTP id 34uspvb9uw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 18 Nov 2020 21:51:30 +0000 Original-Received: from abhmp0014.oracle.com (abhmp0014.oracle.com [141.146.116.20]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 0AILpK5p019218; Wed, 18 Nov 2020 21:51:22 GMT In-Reply-To: <87y2iyh7fh.fsf@mail.linkov.net> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.5071.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9809 signatures=668682 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999 malwarescore=0 mlxscore=0 bulkscore=0 suspectscore=0 adultscore=0 spamscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2011180149 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9809 signatures=668682 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999 suspectscore=0 malwarescore=0 bulkscore=0 impostorscore=0 lowpriorityscore=0 spamscore=0 adultscore=0 mlxscore=0 priorityscore=1501 phishscore=0 clxscore=1011 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2011180149 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:193659 Archived-At: > > 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. >=20 > Or maybe still some indication is needed to be displayed, even if there > is no alias for a new command. Maybe display just " (obsolete)"? Why? That can give the false impression that the command doesn't _work_. (And if for some reason the command really doesn't work then it's not only obsolete. And a user will soon enough understand that it doesn't work.)