[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: What's missing in ELisp that makes people want to use cl-lib?
From: |
Eli Zaretskii |
Subject: |
Re: What's missing in ELisp that makes people want to use cl-lib? |
Date: |
Tue, 31 Oct 2023 05:27:43 +0200 |
> Date: Mon, 30 Oct 2023 21:31:41 -0500
> Cc: emacs-devel@gnu.org, stefankangas@gmail.com
> From: Adam Porter <adam@alphapapa.net>
>
> By the way, with regard to CL-PUSHNEW, it seems surprising that no one's
> mentioned the existing counterpart in "core" Elisp, ADD-TO-LIST.
> Notably, its docstring says:
>
> This is handy to add some elements to configuration variables,
> but please do not abuse it in Elisp code, where you are usually
> better off using ‘push’ or ‘cl-pushnew’.
>
> So even "core", non-cl-lib Elisp recommends the use of some cl-lib
> functions, i.e. CL-PUSHNEW. That certainly suggests a "gap" in core
> Elisp functionality.
This kind of remarks in Emacs doc strings are never about "gaps" of
any kind, they are about cleaner coding practices.
- Re: What's missing in ELisp that makes people want to use cl-lib?, (continued)
- Re: What's missing in ELisp that makes people want to use cl-lib?, Jim Porter, 2023/10/28
- Re: What's missing in ELisp that makes people want to use cl-lib?, Eli Zaretskii, 2023/10/28
- Re: What's missing in ELisp that makes people want to use cl-lib?, Jim Porter, 2023/10/28
- Re: What's missing in ELisp that makes people want to use cl-lib?, Eli Zaretskii, 2023/10/29
- Re: What's missing in ELisp that makes people want to use cl-lib?, Richard Stallman, 2023/10/29
- Re: What's missing in ELisp that makes people want to use cl-lib?, Jim Porter, 2023/10/30
- Re: What's missing in ELisp that makes people want to use cl-lib?, Richard Stallman, 2023/10/29
- Re: What's missing in ELisp that makes people want to use cl-lib?, Adam Porter, 2023/10/30
- Re: What's missing in ELisp that makes people want to use cl-lib?,
Eli Zaretskii <=
- Re: What's missing in ELisp that makes people want to use cl-lib?, João Távora, 2023/10/31
- Re: What's missing in ELisp that makes people want to use cl-lib?, Richard Stallman, 2023/10/31
- Re: What's missing in ELisp that makes people want to use cl-lib?, Richard Stallman, 2023/10/31
- Re: Lisp files that load cl-lib in problematical ways, João Távora, 2023/10/29
- RE: [External] : Re: Lisp files that load cl-lib in problematical ways, Drew Adams, 2023/10/29
- Re: [External] : Re: Lisp files that load cl-lib in problematical ways, João Távora, 2023/10/29
- Re: [External] : Re: Lisp files that load cl-lib in problematical ways, Emanuel Berg, 2023/10/30
- Re: [External] : Re: Lisp files that load cl-lib in problematical ways, João Távora, 2023/10/30
- Re: [External] : Re: Lisp files that load cl-lib in problematical ways, Emanuel Berg, 2023/10/30
- Re: [External] : Re: Lisp files that load cl-lib in problematical ways, Emanuel Berg, 2023/10/30