From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Hongyi Zhao Newsgroups: gmane.emacs.help Subject: Re: Package cl is deprecated Date: Thu, 29 Jul 2021 10:38:41 +0800 Message-ID: References: <01eaf257-1142-c407-c9c0-0d6a2e3148b1@gmail.com> <878s1qe2bt.fsf@mbork.pl> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25627"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs , Thibaut Verron To: Marcin Borkowski Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jul 29 04:39:34 2021 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m8vxO-0006X8-45 for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 29 Jul 2021 04:39:34 +0200 Original-Received: from localhost ([::1]:55352 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m8vxM-0007PL-Qi for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 28 Jul 2021 22:39:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54020) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m8vwn-0007O2-03 for help-gnu-emacs@gnu.org; Wed, 28 Jul 2021 22:38:57 -0400 Original-Received: from mail-lf1-x129.google.com ([2a00:1450:4864:20::129]:41914) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m8vwk-0001Ea-KN for help-gnu-emacs@gnu.org; Wed, 28 Jul 2021 22:38:56 -0400 Original-Received: by mail-lf1-x129.google.com with SMTP id y34so7848831lfa.8 for ; Wed, 28 Jul 2021 19:38:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=nVTF4G96VA6bdOxsGDj0BFouAYqyVOZBoC/z0lIMbSE=; b=RV6evB0ah4+3r/JRnP5jIakwxIlX2eGaRiVNjh2yDHHYIzQK1qwKCHkkU7CRoctTSO TQbqpLAwgb87mi57OLsNYEOldMw1lWiEJK7zl7vba1RjjCktkRiVzMSeET7BN0eY6gbQ eDAt5jEASaheSIW4oyxDvmyq4sryuLwBz0j2A+Iky966z5Co1bkBe+syfiYukWSsHIng DcVIICdh8+Oy0zSYLq2yMA9iXhD+mNa+p0tBLnsmPEg+IUnZapLoQ5ZvE0vzhkEYdOjy Te6gvVPR4UFPd828u80gjZu2m9jZdZf/Ugf+16kPHSViLtJHY2Ja4iE8hZoly9OekRMc UhIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=nVTF4G96VA6bdOxsGDj0BFouAYqyVOZBoC/z0lIMbSE=; b=GJ/zdpgNsqzpnyFBJDSII7+KTdJFAoVvYPgjwFWxQqXBcEJDlqiQByqTq9MxcLFg/8 k5/1dp0Ug9US6EmIMmnzw5PWweCpPFWiY/0rLth8zO9PDMrWH9lVU6aVzPbUs131Er+y yeBMWnznGtuA25Y+nreM4n7Rww02UepwsrWNoMiGt4FzsiAmWLNgRjAO7yqMndv7wDf/ dnJScyPQtiKh012dppXji+U9cI3Fw0y85q6cL1eeixOUvpBQDrufhMdLkNrYJwMvV6da huwPGNu63gVMos77MPjmhaEGwhwltmDO/GxQ3br9shDW0J/oXF5xggnzexoCWst34ROS 2+Zg== X-Gm-Message-State: AOAM532THSr6efgUM28nf4YtTCD9SSGV9AIYiq7/tnydC96CzWSMd/oM heEXMuQz/WStB5s5PoCIdYWuAHSIAqh/9dY5IA4= X-Google-Smtp-Source: ABdhPJwLINi4x1IZzcJX7PJm2jWp5u9gbzYKYKrfu580p1bB4SAExOhIsw/CDYjnU40EvvID0ClePRHZo4SUCS5ySuM= X-Received: by 2002:ac2:4e47:: with SMTP id f7mr2051576lfr.75.1627526332733; Wed, 28 Jul 2021 19:38:52 -0700 (PDT) In-Reply-To: <878s1qe2bt.fsf@mbork.pl> Received-SPF: pass client-ip=2a00:1450:4864:20::129; envelope-from=hongyi.zhao@gmail.com; helo=mail-lf1-x129.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:132165 Archived-At: On Thu, Jul 29, 2021 at 2:11 AM Marcin Borkowski wrote: > > > On 2021-07-28, at 11:54, Thibaut Verron wrote: > > > On 28/07/2021 11:46, Hongyi Zhao wrote: > >> On Wed, Jul 28, 2021 at 5:33 PM Thibaut Verron 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- instead of . > >> $ 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)" {} \; > > > > But I'm sure there is an easier way to do it from within emacs. > > You might be interested in this: > https://github.com/Malabarba/elisp-bug-hunter I tried with it, but it failed to hunt any errors out, except that it will also get the same results given by the following codes in the very beginning of the `~/.emacs.d/init.el' file: (setq force-load-messages t) (setq debug-on-message "Package cl is deprecated") Hongyi -- 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