unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#49730: 28.0.50; There should be a way to mark a generalised variable as obsolete
@ 2021-07-25  7:35 Lars Ingebrigtsen
  2022-08-21 19:46 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: Lars Ingebrigtsen @ 2021-07-25  7:35 UTC (permalink / raw)
  To: 49730


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






^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#49730: 28.0.50; There should be a way to mark a generalised variable as obsolete
  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
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2022-08-21 19:46 UTC (permalink / raw)
  To: 49730

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.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-08-21 19:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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

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