[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [External] : Re: Package cl is deprecated
From: |
Hongyi Zhao |
Subject: |
Re: [External] : Re: Package cl is deprecated |
Date: |
Fri, 30 Jul 2021 13:33:56 +0800 |
On Fri, Jul 30, 2021 at 12:03 PM Drew Adams <drew.adams@oracle.com> wrote:
>
> > > You can also try `C-h v load-history'.
> > >
> > > Or type `load-history' in *scratch* (without the
> > > quotes), put your cursor after that text, and use
> > > `M-x pp-eval-last-sexp'.
> > >
> > > Each of those shows you your complete history of
> > > loading Elisp files.
> > >
> > > Search the *Help* buffer (for `C-h v') or search
> > > the *Pp Eval Output* buffer (for `pp-...') for
> > > loading of cl.el[c]. Just before that you'll see
> > > other loads - those can give you a hint of what
> > > caused cl.el[c] to be loaded.
> >
> > Thank you very much for letting me know so many wonderful tricks. I
> > tried with swiper to search the *Pp Eval Output* buffer, but nothing
> > matched, as shown in the attachment. Did I do something wrong?
>
> Try just Isearch. Search for `(require . cl)' (note the dot).
Do you mean:
`M-x isearch-forward RET (require . cl) RET'?
I tried the above command under `.emacs.d/straight/repos' directory,
but it doesn't give any results.
> If you have a library `foo.el' in directory
> `/some/dir/somewhere/', where `foo.el' requires
> library cl then you'll find a sexp such as this:
>
> ("/some/dir/somewhere/foo.el"
> ...
> (require . cl)
> ...)
>
> You may well have loaded multiple libraries that
> require cl. You may be interested in all of them,
> but the first one is likely the one that loaded
> cl.el[c].
>
> (Searching `C-h v load-history' in *Help* is
> harder, because it may split `(require 'cl)' across
> two lines.)
If so, the spanning line pattern should do the trick. Am I right?
Regards
--
Assoc. Prof. Hongyi Zhao <hongyi.zhao@gmail.com>
Theory and Simulation of Materials
Hebei Vocational University of Technology and Engineering
No. 473, Quannan West Street, Xindu District, Xingtai, Hebei province
- Re: Package cl is deprecated, (continued)
- Re: Package cl is deprecated, Eli Zaretskii, 2021/07/28
- Re: Package cl is deprecated, Hongyi Zhao, 2021/07/28
- Re: Package cl is deprecated, Eli Zaretskii, 2021/07/29
- RE: [External] : Re: Package cl is deprecated, Drew Adams, 2021/07/29
- Re: [External] : Re: Package cl is deprecated, Hongyi Zhao, 2021/07/29
- RE: [External] : Re: Package cl is deprecated, Drew Adams, 2021/07/30
- Re: [External] : Re: Package cl is deprecated,
Hongyi Zhao <=
- RE: [External] : Re: Package cl is deprecated, Drew Adams, 2021/07/30
- Re: [External] : Re: Package cl is deprecated, Hongyi Zhao, 2021/07/30
- Re: [External] : Re: Package cl is deprecated, Hongyi Zhao, 2021/07/30
- RE: [External] : Re: Package cl is deprecated, Drew Adams, 2021/07/31
- Re: [External] : Re: Package cl is deprecated, Michael Heerdegen, 2021/07/31
- RE: [External] : Re: Package cl is deprecated, Drew Adams, 2021/07/31
- Re: [External] : Re: Package cl is deprecated, Hongyi Zhao, 2021/07/31
- Re: [External] : Re: Package cl is deprecated, Hongyi Zhao, 2021/07/31
- Re: [External] : Re: Package cl is deprecated, Michael Heerdegen, 2021/07/30
- Re: [External] : Re: Package cl is deprecated, Hongyi Zhao, 2021/07/31