[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#72313: 31.0.50; Warning about cl-member possibly being undefined whe
From: |
Eli Zaretskii |
Subject: |
bug#72313: 31.0.50; Warning about cl-member possibly being undefined when using cl-pushnew |
Date: |
Sun, 28 Jul 2024 07:58:51 +0300 |
> Cc: 72313@debbugs.gnu.org, monnier@iro.umontreal.ca
> From: Tassilo Horn <tsdh@gnu.org>
> Date: Sat, 27 Jul 2024 22:50:35 +0200
>
> Arash Esbati <arash@gnu.org> writes:
>
> > Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of
> > text editors" <bug-gnu-emacs@gnu.org> writes:
> >
> >>> So the conclusion is to simply (require 'cl-lib) instead of
> >>> (eval-when-compile (require 'cl-lib))? But how can the
> >>> byte-compiler conclude that cl-member might not be defined at
> >>> runtime given that it's an autoloaded function?
> >>
> >> It's autoloaded from `cl-seq` when `cl-lib` is loaded.
> >> It's not autoloaded at startup.
>
> What's that magic?
>
> emacs -Q
> (featurep 'cl-lib) ;=> nil
> (describe-function 'cl-member) ; prints the help string to *Messages*
> (featurep 'cl-lib) ;=> t
>
> Do the help facilities load stuff on demand?
Yes, of course. As the rest of Emacs, actually. In fact, only
help.el is preloaded, the rest of Help facilities (help-mode,
help-fns, apropos, etc.) are loaded on demand only.
- bug#72313: 31.0.50; Warning about cl-member possibly being undefined when using cl-pushnew, Tassilo Horn, 2024/07/26
- bug#72313: 31.0.50; Warning about cl-member possibly being undefined when using cl-pushnew, Jeremy Bryant, 2024/07/26
- bug#72313: 31.0.50; Warning about cl-member possibly being undefined when using cl-pushnew, Stefan Monnier, 2024/07/27
- bug#72313: 31.0.50; Warning about cl-member possibly being undefined when using cl-pushnew, Tassilo Horn, 2024/07/27
- bug#72313: 31.0.50; Warning about cl-member possibly being undefined when using cl-pushnew, Stefan Monnier, 2024/07/27
- bug#72313: 31.0.50; Warning about cl-member possibly being undefined when using cl-pushnew, Arash Esbati, 2024/07/27
- bug#72313: 31.0.50; Warning about cl-member possibly being undefined when using cl-pushnew, Tassilo Horn, 2024/07/27
- bug#72313: 31.0.50; Warning about cl-member possibly being undefined when using cl-pushnew, Arash Esbati, 2024/07/27
- bug#72313: 31.0.50; Warning about cl-member possibly being undefined when using cl-pushnew, Tassilo Horn, 2024/07/31
- bug#72313: 31.0.50; Warning about cl-member possibly being undefined when using cl-pushnew, Arash Esbati, 2024/07/31
- bug#72313: 31.0.50; Warning about cl-member possibly being undefined when using cl-pushnew,
Eli Zaretskii <=