[Top][All Lists]

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

Re: Package cl is deprecated

From: Hongyi Zhao
Subject: Re: Package cl is deprecated
Date: Thu, 29 Jul 2021 10:27:09 +0800

On Thu, Jul 29, 2021 at 2:32 AM Eli Zaretskii <> wrote:
> > From: Hongyi Zhao <>
> > Date: Wed, 28 Jul 2021 22:48:33 +0800
> > Cc: Eli Zaretskii <>, help-gnu-emacs <>
> >
> > > (setq debug-on-message "Package cl is deprecated")
> >
> > With the above line at the top of my ~/.emacs.d/init.el, Emacs reports
> > the following:
> >
> > 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])
> >
> > It seems to me that the source el file in question does not correspond
> > quite so intuitively to the above messages.
> In addition to what I just asked, try adding the following to the top
> of your ~/.emacs.d/init.el:
>   (setq force-load-messages t)

I tried with the following lines added at the very beginning of

(setq force-load-messages t)
(setq debug-on-message "Package cl is deprecated")

> Then look in *Messages* for
>   Loading 'cl'...

I can't find the above line in *Messages*, here is the code snippet at
the bottom in *Messages* when Emacs paused during initialization:

Warning: Use keywords rather than deprecated positional arguments to
`define-minor-mode' [2 times]
Loading which-key...done
Loading company-dabbrev...done
Loading company-keywords...done
Loading company-files...done
Loading company-ispell...
Loading ispell...done
Loading company-ispell...done
Loading flyspell...done
Wrote /home/werner/.emacs.d/recentf
Starting new Ispell process /usr/bin/aspell with default dictionary...done
Error enabling Flyspell mode:
(No Ispell process to read output from!)
For information about GNU Emacs and the GNU system, type C-h C-a.
Package cl is deprecated
Loading debug...done
Entering debugger...
Loading cl-print...done
End of buffer [6 times]
Wrote /home/werner/.emacs.d/recentf

> And the previous "Loading..." line will hopefully tell you what was
> the package whose load caused Emacs to load cl.

Assoc. Prof. Hongyi Zhao <>
Theory and Simulation of Materials
Hebei Vocational University of Technology and Engineering
No. 473, Quannan West Street, Xindu District, Xingtai, Hebei province

reply via email to

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