help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Package cl is deprecated


From: Leo Butler
Subject: Re: Package cl is deprecated
Date: Wed, 28 Jul 2021 09:21:24 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

Hongyi Zhao <hongyi.zhao@gmail.com> writes:

> On Wed, Jul 28, 2021 at 9:58 PM Eli Zaretskii <eliz@gnu.org> wrote:
>>
>> > From: Hongyi Zhao <hongyi.zhao@gmail.com>
>> > Date: Wed, 28 Jul 2021 21:41:03 +0800
>> > Cc: Jean-Christophe Helary <lists@traduction-libre.org>,
>> >  help-gnu-emacs <help-gnu-emacs@gnu.org>,
>> >  Thibaut Verron <thibaut.verron@gmail.com>
>> >
>> > > (debug-on-message "Package cl is deprecated")
>> >
>> > I tried this method, but meet the following warning:
>> >
>> > Warning (initialization): An error occurred while loading
>> > ‘/home/werner/.emacs.d/init.el’:
>> >
>> > Symbol's function definition is void: debug-on-message
>>
>> debug-on-message is a variable, not a function.
>
> Then, how to pinpoint the target message?

Ahem. I should have written

(setq debug-on-message "Package cl is deprecated")

Ref.

(info "elisp")
(Info-index "debug-on-message")

> Where is my mistake?

As Eli noted, emacs must be in *info* looking at the elisp manual. My
mistake.

Anyhow, debug-on-message will help you isolate the source of the
problem. You may need to play with the regexp ("Package ..."), though.

Leo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]