all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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 15:30:20 -0600	[thread overview]
Message-ID: <86eek5dztf.fsf@x201.butler.org> (raw)
In-Reply-To: <87h7p1wb86.fsf@omarpolo.com> (Omar Polo's message of "Fri, 04 Dec 2020 21:46:33 +0100")

Omar Polo <op@omarpolo.com> writes:

> ********************************************************
> Caution: This message was sent from outside the University of Manitoba.
> ********************************************************
>
> Leo Butler <leo.butler@umanitoba.ca> writes:
>
>> 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.
>>
>> TIA,
>> Leo
>
> You can find which files depends on cl using something like this IIRC
>
>     (require 'loadhist)
>     (file-dependents (feature-file 'cl))
>
> Anyway, using cl shouldn’t cause emacs to hang, so that must be a
> separate bug.

Thank you for the suggestion.

I found that suggestion on stackexchange and I tried it, but it is
uninformative. In my current emacs, I find that slime is a problem:

==> ("/usr/share/emacs/site-lisp/elpa/slime-2.24/contrib/slime-repl.el"
"/usr/share/emacs/site-lisp/elpa/slime-2.24/contrib/bridge.el" 
"/usr/share/emacs/site-lisp/elpa/slime-2.24/contrib/slime-presentations.el")

The problem is that the home-rolled extension that causes emacs to emit
the deprecation message is unrelated to slime.

I know the file which is the proximate cause of the problem, I simply
cannot find the ultimate source (i.e. the offending line of code).

Am I missing something obvious?

Leo



      parent reply	other threads:[~2020-12-04 21:30 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
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 [this message]

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

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

  git send-email \
    --in-reply-to=86eek5dztf.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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.