unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Leo Butler <leo.butler@umanitoba.ca>
To: <help-gnu-emacs@gnu.org>
Subject: Re: source of `package cl is deprecated'
Date: Fri, 04 Dec 2020 17:21:40 -0600	[thread overview]
Message-ID: <861rg5dunv.fsf@x201.butler.org> (raw)
In-Reply-To: <831rg5e2q6.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 4 Dec 2020 22:27:29 +0200")


Eli Zaretskii <eliz@gnu.org> writes:

>> From: Leo Butler <leo.butler@umanitoba.ca>
>> Date: Fri, 04 Dec 2020 12:13:09 -0600
>> 
>> I updated/upgraded my debian system this morning, which pulled in emacs
>> 27.1.
>> 
>> A number of my home-rolled emacs extensions relied on cl; I have
>> migrated them to cl-lib, but there is an extension that is still causing
>> emacs to emit the above-mentioned warning on start-up (and when run with
>> --daemon, emacs halts and must be killed, which I guess is a bug).
>> 
>> Question: how do I trace/find the offending bit of code? Ideally, I
>> would like to be able to force an error and use the debugger, but I
>> can't figure out how to do that.
>
> Did you try setting debug-on-message to a regexp that matches the
> warning?

Thank you, to each who answered, especially for prompting/reminding me
to RTFM. By invoking the debugger just before loading the offending
file, I was able to step through and find the offending lines of code
(an `eval-when' form and a `require 'slime' buried at the bottom of the
file).

Leo




  reply	other threads:[~2020-12-04 23:21 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-04 18:13 source of `package cl is deprecated' Leo Butler
2020-12-04 20:27 ` Eli Zaretskii
2020-12-04 23:21   ` Leo Butler [this message]
2020-12-04 20:36 ` Stefan Monnier
2020-12-04 20:46 ` Omar Polo
2020-12-04 21:11   ` Christopher Dimech
2020-12-04 21:30   ` Leo Butler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=861rg5dunv.fsf@x201.butler.org \
    --to=leo.butler@umanitoba.ca \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).