From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Daniel Mendler Newsgroups: gmane.emacs.bugs Subject: bug#48404: Date: Fri, 14 May 2021 20:31:01 +0200 Message-ID: <5bb442e3-00f1-752e-eb9e-51dea78b17bd@daniel-mendler.de> References: <875yzms6im.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26537"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org To: 48404@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri May 14 20:32:36 2021 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 1lhcbz-0006jx-Mg for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 14 May 2021 20:32:35 +0200 Original-Received: from localhost ([::1]:36178 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lhcby-00047J-P1 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 14 May 2021 14:32:34 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50332) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lhcbS-000432-20 for bug-gnu-emacs@gnu.org; Fri, 14 May 2021 14:32:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35492) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lhcbR-0003r3-P0 for bug-gnu-emacs@gnu.org; Fri, 14 May 2021 14:32:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lhcbR-00082M-M8 for bug-gnu-emacs@gnu.org; Fri, 14 May 2021 14:32:01 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <875yzms6im.fsf@gnu.org> Resent-From: Daniel Mendler Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 14 May 2021 18:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48404 X-GNU-PR-Package: emacs Original-Received: via spool by 48404-submit@debbugs.gnu.org id=B48404.162101707130822 (code B ref 48404); Fri, 14 May 2021 18:32:01 +0000 Original-Received: (at 48404) by debbugs.gnu.org; 14 May 2021 18:31:11 +0000 Original-Received: from localhost ([127.0.0.1]:47035 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lhcad-000810-82 for submit@debbugs.gnu.org; Fri, 14 May 2021 14:31:11 -0400 Original-Received: from server.qxqx.de ([178.63.65.180]:36227 helo=mail.qxqx.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lhcab-00080e-Bj for 48404@debbugs.gnu.org; Fri, 14 May 2021 14:31:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=qxqx.de; s=mail1392553390; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Date: Message-ID:Subject:From:Cc:To:Sender:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=hJMc1zpDjdnLq++8BsTJLE1HBAjLizSkXgCocMtEmlA=; b=UnCQHu2fg+10aotpNgUSK7ixtW 0vxw9ORZhDRs+fVUnNRoz+IjU9NnmzQLJgZdnG5aGJgH4Z60TdJi9eNiuqr8Z08TwOgjQXjt4BLM1 Io4uDJhWD/sotMrITdULdQdJM1Y2fIXa+kcnaoS2lGGrT+7b4mIqyOFFLObsxrCuDLgM=; Content-Language: en-US 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:206547 Archived-At: Why not revert the broken M-x predicate until a better solution is found? For example as I mentioned adding an option which allows to customize the treatment of obsolete commands (hide, annotate, keep). It looks like the solution we got now is suboptimal: 1. The version check does not work for third-party packages, it does not even work for packages which are part of Emacs (so-long). 2. Since the version check is broken, an `ignore-errors` wrapper is needed. 3. The behavior is not customizable, some users may prefer to hide obsolete commands altogether, some would like to see an annotation and some would like to keep the obsolete commands in M-x. Daniel