bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#43780: 27.1; defvaralias and define-obsolete-variable-alias


From: Michael Heerdegen
Subject: bug#43780: 27.1; defvaralias and define-obsolete-variable-alias
Date: Wed, 07 Oct 2020 01:15:09 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Drew Adams <drew.adams@oracle.com> writes:

> No.  I don't want to turn off all warnings just to be
> able to take care of this one.

Since this bug report is just about one example; and since your tried
"fix", when it had worked, would also have had an undesired global
effect - what would be your favorite solution?

Would it make sense if Emacs provided a file-local variable with which
you could specify an Emacs version and the effect would be that for
compiling that file all warnings about obsolete stuff would be
suppressed if the obsolete declaration happened in an Emacs version
newer than what you specified?  So like

  ;;; byte-comp-suppress-obsolete 23.1

would have the effect that only stuff that has been obsolete before 23.1
would be reported?

Michael.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]