[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#37811: "standard GNU Emacs Lisp"
From: |
Stefan Kangas |
Subject: |
bug#37811: "standard GNU Emacs Lisp" |
Date: |
Fri, 08 Nov 2019 00:48:59 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> writes:
>> Date: Sat, 19 Oct 2019 15:50:04 +0300
>> From: Eli Zaretskii <eliz@gnu.org>
>> Cc: 37811@debbugs.gnu.org, nicholasdrozd@gmail.com
>>
>> > > Common Lisp note: Common Lisp has functions ‘union’ (which avoids
>> > > duplicate elements) and ‘intersection’ for set operations.
>> > > Although standard GNU Emacs Lisp does not have them, the ‘cl-lib’
>> > > library provides versions. *Note (cl)Lists as Sets::.
>> > >
>> > > So "standard" is used here in contrast to CL. I don't think any of
>> > > the proposed replacements pick up that nuance, do they?
>> >
>> > cl-lib is part of Emacs, but not loaded by default. I think that's what
>> > standard is supposed to mean here.
>>
>> I see your point, but that wasn't my interpretation when I've read
>> that text.
>>
>> Anyway, I think just dropping that word will fix the possible
>> confusion.
>
> Or maybe we should simply say this:
>
> Common Lisp note: Common Lisp has functions ‘union’ (which avoids
> duplicate elements) and ‘intersection’ for set operations. In Emacs
> Lisp, variants of these facilities are provided by the ‘cl-lib’
> library. *Note (cl)Lists as Sets::.
Yes, this is much better than the other proposed alternatives. Please
push such a change. (The file to edit is emacs/doc/lispref/lists.texi
row 1215.)
Best regards,
Stefan Kangas
- bug#37811: "standard GNU Emacs Lisp",
Stefan Kangas <=