From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#39274: Warn when using obsolete command interactively Date: Sat, 25 Jan 2020 00:25:35 +0100 Message-ID: <878slw8mj4.fsf@marxist.se> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="41550"; mail-complaints-to="usenet@ciao.gmane.io" To: 39274@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jan 25 00:27:57 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 1iv8Ml-000Al8-7o for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 25 Jan 2020 00:27:55 +0100 Original-Received: from localhost ([::1]:49336 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iv8Mk-0007om-Ba for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 24 Jan 2020 18:27:54 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43113) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iv8MC-0007Gy-Vf for bug-gnu-emacs@gnu.org; Fri, 24 Jan 2020 18:27:40 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iv8Lv-0006ER-3A for bug-gnu-emacs@gnu.org; Fri, 24 Jan 2020 18:27:20 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48885) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iv8Lu-0006E2-Rw for bug-gnu-emacs@gnu.org; Fri, 24 Jan 2020 18:27:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iv8Lu-0000EA-OG for bug-gnu-emacs@gnu.org; Fri, 24 Jan 2020 18:27:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 24 Jan 2020 23:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 39274 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs Original-Received: via spool by submit@debbugs.gnu.org id=B.1579908380822 (code B ref -1); Fri, 24 Jan 2020 23:27:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 24 Jan 2020 23:26:20 +0000 Original-Received: from localhost ([127.0.0.1]:54858 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iv8LE-0000DB-B9 for submit@debbugs.gnu.org; Fri, 24 Jan 2020 18:26:20 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:42505) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iv8LC-0000D3-Oe for submit@debbugs.gnu.org; Fri, 24 Jan 2020 18:26:19 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40862) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iv8Kt-0005YO-Fl for bug-gnu-emacs@gnu.org; Fri, 24 Jan 2020 18:26:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iv8Ka-0004RR-O4 for bug-gnu-emacs@gnu.org; Fri, 24 Jan 2020 18:25:59 -0500 Original-Received: from ted.gofardesign.uk ([67.225.143.91]:37366) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iv8KZ-0004P8-0p for bug-gnu-emacs@gnu.org; Fri, 24 Jan 2020 18:25:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=marxist.se; s=default; h=Content-Type:MIME-Version:Message-ID:Date:Subject:To:From: Sender:Reply-To:Cc:Content-Transfer-Encoding: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=hffZds53HQow6XapkHa7MejEnKL+xhPLwQqYd4glbVI=; b=cWo7LQ2lRA0UJAyoY87PfgkcvV phgHe+XtFPpfYHrSnhERFyWvHi0UtartV+ZRxdZ5U4xKkhwucyVRakFjg7ZlC6bLf7yUZBAoRecJH i303DrZs5MkCcYunA2ne/Bv8saZqsZP6eB1z/QtsHbnbVGO2SNeOUcRG3jA+Yghy3LeeOZqFS8ZqU Nv2kQVZ/NgNY2uSn8Uy0dJsd9XwawNRpaalt4m9rRHCU5F7yFNjeMvsnbT4aYfOJdFIJPBxGnNOoB 6dXjkW1Oy6LanSkiCgvWYmcBI/jgL27Jwq8CuE6mJUgoJXzjdYSVuI0eLCXCFspFznAi6ON7gLZ8O X0dypTkQ==; Original-Received: from h-70-69.a785.priv.bahnhof.se ([155.4.70.69]:49708 helo=localhost) by ted.gofardesign.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1iv8KX-000a20-Mz for bug-gnu-emacs@gnu.org; Fri, 24 Jan 2020 18:25:38 -0500 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - ted.gofardesign.uk X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - marxist.se X-Get-Message-Sender-Via: ted.gofardesign.uk: authenticated_id: stefan@marxist.se X-Authenticated-Sender: ted.gofardesign.uk: stefan@marxist.se X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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:175247 Archived-At: Severity: wishlist When I run an obsolete command interactively, e.g. `M-x eshell-report-bug', there is no indication that this is an obsolete command which will be removed in a future version of Emacs. It's good that there is a warning from the byte-compiler, but it doesn't help with commands that are normally only used interactively. This leads to a situation where users can happily be using these commands, and when upgrading find that they no longer exist. They also don't know what to use instead without researching online. Please add a warning along these lines: (message "The `%s' command is obsolete since version %s, use `%s' instead" obsolete-name version current-name) Best regards, Stefan Kangas