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

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

Re: Package cl is deprecated


From: Stefan Monnier
Subject: Re: Package cl is deprecated
Date: Fri, 30 Jul 2021 15:59:27 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> Debugger entered--Lisp error: "Package cl is deprecated"
>   message("%s" "Package cl is deprecated")
>   #f(compiled-function (msg) #<bytecode -0xb147a2018986fae>)("Package cl is 
> deprecated")
>   apply(#f(compiled-function (msg) #<bytecode -0xb147a2018986fae>) "Package 
> cl is deprecated")
>   timer-event-handler([t 0 0 0 nil #f(compiled-function (msg) #<bytecode 
> -0xb147a2018986fae>) ("Package cl is deprecated") idle 0])

Duh, indeed `do-after-load-evaluation` emits the warning via a timer
(to avoid the warning being hidden by a subsequent message during
startup).

You can hack around this with:

    (setq debug-on-message "Package cl is deprecated")
    (setq noninteractive t)

which should hopefully give you a more informative backtrace.

Sadly this `noninteractive` setting may have undesired side effects, so
buyer beware.  A comment in that function points out we should probably
use `display-warning` instead.


        Stefan




reply via email to

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