[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: |
Tassilo Horn |
Subject: |
bug#72313: 31.0.50; Warning about cl-member possibly being undefined when using cl-pushnew |
Date: |
Wed, 31 Jul 2024 19:44:26 +0200 |
Arash Esbati <arash@gnu.org> writes:
Hi Arash,
>> Let's just require cl-lib. declare-function only silences the
>> byte-compiler and the usage of cl-member at runtime is a fact; no
>> cheating allowed. It's also an implementation detail we should not
>> bother with.
>
> I'm not sure if this is cheating, but I'm easy, and if we want to
> require cl-lib, I'd do it in tex.el which is loaded by all
> <mode-name>.el files; so basically:
Yes, I've done something along those lines (and also required the very
small subr-x). AUCTeX is traditionally very conservative with
dependencies but we should not limit ourselves by not using basic emacs
functions in the common libs like cl-lib, seq, or subr-x.
I'm closing this report. Thanks for the explanations, Stefan & Eli.
Bye,
Tassilo
- 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 <=
- 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, 2024/07/28