[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: |
Sat, 28 Oct 2023 21:52:18 +0300 |
> From: Emanuel Berg <incal@dataswamp.org>
> Date: Sat, 28 Oct 2023 18:18:53 +0200
>
> Stefan Kangas wrote:
>
> > More fundamentally, I believe the question we should be
> > asking isn't the quantity of cl-lib used in Emacs, but
> > rather why these abstractions from Common Lisp appeal to
> > ELisp developers. Most ELisp developers, I presume, do not
> > have a background in Common Lisp, indicating that their
> > choice to use cl-lib.el isn't driven by a mere affinity
> > for CL.
>
> Good idea, I tried this to find out. Maybe the command can be
> improved ...
>
> $ grep -E -h -o 'cl-[-a-z]*' **/*.el | sort | uniq -c | sort -r -b -n | head
> -n 10
>
> 1416 cl-defmethod
> 979 cl-loop
> 720 cl-incf
> 614 cl-lib
> 486 cl-assert
> 309 cl-letf
> 303 cl-seq
> 281 cl-defstruct
> 257 cl-defgeneric
> 227 cl-case
Some of these are macros in cl-macs, so not relevant to the discussion
about cl-lib.
- Re: Lisp files that load cl-lib in problematical ways, (continued)
- Re: Lisp files that load cl-lib in problematical ways, Alan Mackenzie, 2023/10/26
- Re: Lisp files that load cl-lib in problematical ways, Emanuel Berg, 2023/10/26
- Re: Lisp files that load cl-lib in problematical ways, Bob Rogers, 2023/10/26
- Re: Lisp files that load cl-lib in problematical ways, Emanuel Berg, 2023/10/27
- Re: Lisp files that load cl-lib in problematical ways, Richard Stallman, 2023/10/27
- What's missing in ELisp that makes people want to use cl-lib?, Stefan Kangas, 2023/10/28
- Re: What's missing in ELisp that makes people want to use cl-lib?, Emanuel Berg, 2023/10/28
- 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?, Emanuel Berg, 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?, Emanuel Berg, 2023/10/29
- 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