[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: |
Wed, 28 Jul 2021 21:03:03 +0800 |
On Wed, Jul 28, 2021 at 6:04 PM Jean-Christophe Helary
<lists@traduction-libre.org> wrote:
>
>
>
> > On Jul 28, 2021, at 18:54, Thibaut Verron <thibaut.verron@gmail.com> wrote:
> >
> > On 28/07/2021 11:46, Hongyi Zhao wrote:
> >> On Wed, Jul 28, 2021 at 5:33 PM Thibaut Verron <thibaut.verron@gmail.com>
> >> wrote:
> >>> On 28/07/2021 11:23, Hongyi Zhao wrote:
> >>>> When I start Emacs, I always notice the following message in *Messages*
> >>>> buffer:
> >>>>
> >>>> Package cl is deprecated
> >>>>
> >>>> Any hints for eliminating it?
> >>> If you have (require 'cl) somewhere in your init file, replace it with
> >>> (require 'cl-lib). You might need to change some macro calls to use
> >>> cl-<name> instead of <name>.
> >> $ egrep 'require[ ]*'\''cl' .emacs.d/init.el
> >> (require 'cl-lib)
> >
> > Then it's from a package and you need to identify it.
> >
> > You can try (untested):
> >
> > find .emacs.d/ -name "*.el" -exec grep "(require 'cl)" {} \;
>
> find .emacs.d/ -name "*.el" -exec grep "(require 'cl)" {} \; -print
There are so many matches:
$ find .emacs.d/ -name "*.el" -exec grep -q "(require 'cl)" {} \;
-print 2>/dev/null | sort -u | wc -l
40
So this method is basically useless for finding the problem.
Regards
--
Assoc. Prof. Hongyi Zhao <hongyi.zhao@gmail.com>
Theory and Simulation of Materials
Hebei Vocational University of Technology and Engineering
No. 473, Quannan West Street, Xindu District, Xingtai, Hebei province
- RE: [External] : Re: Package cl is deprecated, (continued)
- RE: [External] : Re: Package cl is deprecated, Drew Adams, 2021/07/31
- Re: [External] : Re: Package cl is deprecated, Hongyi Zhao, 2021/07/31
- RE: [External] : Re: Package cl is deprecated, Drew Adams, 2021/07/31
- Re: [External] : Re: Package cl is deprecated, Hongyi Zhao, 2021/07/31
- Re: [External] : Re: Package cl is deprecated, Emanuel Berg, 2021/07/31
- Re: [External] : Re: Package cl is deprecated, Hongyi Zhao, 2021/07/30
- RE: [External] : Re: Package cl is deprecated, Drew Adams, 2021/07/31
- Re: [External] : Re: Package cl is deprecated, Hongyi Zhao, 2021/07/31
- RE: [External] : Re: Package cl is deprecated, Drew Adams, 2021/07/31
- Re: Package cl is deprecated, Stefan Monnier, 2021/07/30
- Re: Package cl is deprecated,
Hongyi Zhao <=
- Re: Package cl is deprecated, Thibaut Verron, 2021/07/28
- Re: Package cl is deprecated, Hongyi Zhao, 2021/07/28
- Re: Package cl is deprecated, Hongyi Zhao, 2021/07/28
- Re: Package cl is deprecated, Thibaut Verron, 2021/07/28
- Re: Package cl is deprecated, Hongyi Zhao, 2021/07/28
- Re: Package cl is deprecated, Thibaut Verron, 2021/07/28
- Re: Package cl is deprecated, Thibaut Verron, 2021/07/28
- Re: Package cl is deprecated, Hongyi Zhao, 2021/07/28
- RE: [External] : Re: Package cl is deprecated, Drew Adams, 2021/07/28
- Re: [External] : Re: Package cl is deprecated, Hongyi Zhao, 2021/07/28