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:27:09 +0800 Message-ID: References: <01eaf257-1142-c407-c9c0-0d6a2e3148b1@gmail.com> <874kceadmj.fsf@t14.reltub.ca> <83fsvytude.fsf@gnu.org> <87r1fi8qor.fsf@t14.reltub.ca> <83y29qs31w.fsf@gnu.org> 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="14692"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs To: Eli Zaretskii Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jul 29 04:27:58 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 1m8vm9-0003aB-Uu for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 29 Jul 2021 04:27:57 +0200 Original-Received: from localhost ([::1]:53526 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m8vm8-0005fp-53 for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 28 Jul 2021 22:27:56 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52444) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m8vle-0005ff-7X for help-gnu-emacs@gnu.org; Wed, 28 Jul 2021 22:27:26 -0400 Original-Received: from mail-lj1-x232.google.com ([2a00:1450:4864:20::232]:36758) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m8vlb-0001Ia-Lz; Wed, 28 Jul 2021 22:27:25 -0400 Original-Received: by mail-lj1-x232.google.com with SMTP id r23so5479880lji.3; Wed, 28 Jul 2021 19:27:22 -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=hVrlMeOXwcoTgtT/YSevIxwYJFNRYuEOGAgyG4Z2ayE=; b=tRKcKFtep5wD0Vm8YnZgXCkBEgi6A32bpk9jMttmCZOHfiNt+VYNDBXeBrsoK773ka G/w1jTKYpR1zPcgJo3sRj/4wXPlB6vWf4oseGcNmMx2SO5wGGrmkbx0FLS6HRAN5DdUD WRc0FVv9uq9RVFjSTcTxUeMZXW6UCKJ7+Jw1zSG/3yeXcbvVHXme2A/aATnq/1FB1teX DSZf03876PeC8eCjXNKoZ3jpbwa8nox6nBmbD88UuopW68uMJVE68RbO9n3/X3lJFOgv qBPCCpsIBWWlN3iwolCLJb3jq2XtBUsPhz+ybGxka5WFSj6AQmWPA8QziWBo3Nu6wSKW RL8g== 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=hVrlMeOXwcoTgtT/YSevIxwYJFNRYuEOGAgyG4Z2ayE=; b=FkOD57mHpB+LkFF2+WLB52VSQCEqhFjGjfp4d8tVQDI2MeKmWzAIAO6xTbhuxMfxo+ MoyDEWAqSfaHzjGIBy0ICTtfpJNErEDFNLgXrTUM2wWDuBooW4xdHUzhb1XROMlIFYsz 5WJ2AG7DpWB4L78Y9nFS6fjStGhq6r3T+MCXOTjsViD86SQ9ploaC/u7C/EnNM6zClcI hnnUqD8jcerKumwkTSfdXIz4SCIsaULmpJuejQOpnIXajfB4/0ZZdXvwzICoTutJP2Gl yLsiFci8pBjUe92dLBz0faxc9enLQx8zPUMh+LgD6mQCfnhTLe31wljkNyPtt+TgveSs jVHg== X-Gm-Message-State: AOAM5339+mxWgVIDWPglD1oqs+cAezidZTx4XjeZl5GydQQv5Dln3ZYo XUrHEBDgqUwM4YMriSn8G9DS5GVWPpyZkgNTdKjI9UYrTedvBZRS05o= X-Google-Smtp-Source: ABdhPJz/aFMG+F1s4UWYlkVANPz3cIYp1arR5euL5BmQQkQEcrK78YBIMkFV7GsBjDSKt9GP+G1OiROcMj29WUree4A= X-Received: by 2002:a2e:bd0c:: with SMTP id n12mr1472411ljq.447.1627525641099; Wed, 28 Jul 2021 19:27:21 -0700 (PDT) In-Reply-To: <83y29qs31w.fsf@gnu.org> Received-SPF: pass client-ip=2a00:1450:4864:20::232; envelope-from=hongyi.zhao@gmail.com; helo=mail-lj1-x232.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:132164 Archived-At: 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) #)("Package > > cl is deprecated") > > apply(#f(compiled-function (msg) #) > > "Package cl is deprecated") > > timer-event-handler([t 0 0 0 nil #f(compiled-function (msg) > > #) ("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 `~/.emacs.d/init.el': (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: .emacs.d/straight/build/counsel-edit-mode/counsel-edit-mode.el: Warning: Use keywords rather than deprecated positional arguments to `define-minor-mode' [2 times] Loading /home/werner/.emacs.d/straight/build/counsel-edit-mode/counsel-edit-mode.el (source)...done 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. 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