unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: 49730@debbugs.gnu.org
Subject: bug#49730: 28.0.50; There should be a way to mark a generalised variable as obsolete
Date: Sun, 21 Aug 2022 21:46:33 +0200	[thread overview]
Message-ID: <877d319y7a.fsf@gnus.org> (raw)
In-Reply-To: <871r7myhfx.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sun, 25 Jul 2021 09:35:14 +0200")

Lars Ingebrigtsen <larsi@gnus.org> writes:

> 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.

It was very simple.  Now added to Emacs 29.





      reply	other threads:[~2022-08-21 19:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-25  7:35 bug#49730: 28.0.50; There should be a way to mark a generalised variable as obsolete Lars Ingebrigtsen
2022-08-21 19:46 ` Lars Ingebrigtsen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877d319y7a.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=49730@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).