From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#49730: 28.0.50; There should be a way to mark a generalised variable as obsolete Date: Sun, 25 Jul 2021 09:35:14 +0200 Message-ID: <871r7myhfx.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35206"; mail-complaints-to="usenet@ciao.gmane.io" To: 49730@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jul 25 09:36:11 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 1m7YgE-0008y2-F4 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 25 Jul 2021 09:36:10 +0200 Original-Received: from localhost ([::1]:42940 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m7YgD-0006qm-07 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 25 Jul 2021 03:36:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49970) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m7Yg7-0006pS-0m for bug-gnu-emacs@gnu.org; Sun, 25 Jul 2021 03:36:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35923) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m7Yg6-0007VX-PN for bug-gnu-emacs@gnu.org; Sun, 25 Jul 2021 03:36:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m7Yg6-0005Up-KY for bug-gnu-emacs@gnu.org; Sun, 25 Jul 2021 03:36:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 25 Jul 2021 07:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 49730 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.162719852621078 (code B ref -1); Sun, 25 Jul 2021 07:36:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 25 Jul 2021 07:35:26 +0000 Original-Received: from localhost ([127.0.0.1]:47469 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m7YfV-0005Tu-U5 for submit@debbugs.gnu.org; Sun, 25 Jul 2021 03:35:26 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:58644) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m7YfR-0005Tk-QI for submit@debbugs.gnu.org; Sun, 25 Jul 2021 03:35:24 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49868) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m7YfR-0006mc-JL for bug-gnu-emacs@gnu.org; Sun, 25 Jul 2021 03:35:21 -0400 Original-Received: from quimby.gnus.org ([2a01:4f9:2b:f0f::2]:59910) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m7YfQ-0006qs-3k for bug-gnu-emacs@gnu.org; Sun, 25 Jul 2021 03:35:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; 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=KUmZxthv4+Cu+CrLj2WSOIuTR1lA4wFfb21NbRrG9sA=; b=ACi7Hf9FMPDd/+eKhB6wc+CE/o PgVzdOrTeuQE8BnMs7Lt2i9fM+XX3JrGj5F8q069Gd7zrjfml+2rQQBnQGeGWCxoeHuSBZriR55oV 9cvYCJz4qJbjwTgaiyliPFrRicTRnhh4qL/ybogenyfskI+yskmy2ec8WmYgPjKpAU0g=; Original-Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m7YfL-0006c3-9D for bug-gnu-emacs@gnu.org; Sun, 25 Jul 2021 09:35:17 +0200 X-Now-Playing: Bobbie Gentry's _The Girl From Chickasaw County (6): Fancy_: "Wedding Bell Blues" Received-SPF: pass client-ip=2a01:4f9:2b:f0f::2; envelope-from=larsi@gnus.org; helo=quimby.gnus.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:210692 Archived-At: We don't have a way to make a generalised variable obsolete, I think? I think it would be helpful if we had. I haven't looked at how to implement it, but marking the symbol in some way, and then having the byte compiler examine it (when expanding setf forms) and outputting a warning doesn't immediately seem impossible. In GNU Emacs 28.0.50 (build 55, x86_64-pc-linux-gnu, GTK+ Version 3.24.24, cairo version 1.16.0) of 2021-07-24 built on elva Repository revision: 5431a58e86d3f2579c1edf1dc8d7074de73ac694 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12011000 System Description: Debian GNU/Linux 11 (bullseye) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no