From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#37811: "standard GNU Emacs Lisp" Date: Fri, 08 Nov 2019 00:48:59 +0100 Message-ID: <87d0e3z1qs.fsf@marxist.se> References: <83mudx6pee.fsf@gnu.org> <8736foewup.fsf@igel.home> <83eez87vcz.fsf@gnu.org> <83d0es7v6x.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="233353"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 37811@debbugs.gnu.org, schwab@linux-m68k.org, nicholasdrozd@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Nov 08 00:50:12 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iSrXX-000ya5-QY for geb-bug-gnu-emacs@m.gmane.org; Fri, 08 Nov 2019 00:50:12 +0100 Original-Received: from localhost ([::1]:48826 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iSrXW-0007gY-M9 for geb-bug-gnu-emacs@m.gmane.org; Thu, 07 Nov 2019 18:50:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34673) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iSrXP-0007gP-EP for bug-gnu-emacs@gnu.org; Thu, 07 Nov 2019 18:50:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iSrXO-0000Jx-9a for bug-gnu-emacs@gnu.org; Thu, 07 Nov 2019 18:50:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35316) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iSrXO-0000Jh-5f for bug-gnu-emacs@gnu.org; Thu, 07 Nov 2019 18:50:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iSrXO-000729-1C for bug-gnu-emacs@gnu.org; Thu, 07 Nov 2019 18:50:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 07 Nov 2019 23:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37811 X-GNU-PR-Package: emacs Original-Received: via spool by 37811-submit@debbugs.gnu.org id=B37811.157317055226972 (code B ref 37811); Thu, 07 Nov 2019 23:50:01 +0000 Original-Received: (at 37811) by debbugs.gnu.org; 7 Nov 2019 23:49:12 +0000 Original-Received: from localhost ([127.0.0.1]:44137 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iSrWZ-00070y-OV for submit@debbugs.gnu.org; Thu, 07 Nov 2019 18:49:12 -0500 Original-Received: from host.gofardesign.uk ([208.79.239.190]:56407) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iSrWY-00070b-AF for 37811@debbugs.gnu.org; Thu, 07 Nov 2019 18:49:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=marxist.se; s=default; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID: Date:References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=miVRjHLFC+3xypYy/LzeMY2LorzaDYcMoEDZvYDiA0U=; b=AiyzcQk5HkgzSu+y/bUqgOOLjp r61hl8bh4c8nFrgBAzrZ4jywuSMio+dYtUs53K1qUIx5su5yeWt0BLznJtBnd6LfKMhB+pyVacqS7 olTkN41YCLD++z2E7LqdE6aPcZkDuusjqvQaTleyYEvmKrgnlM+MPcNLT4e9TprYi9QA=; Original-Received: from h-70-69.a785.priv.bahnhof.se ([155.4.70.69]:52194 helo=localhost) by host.gofardesign.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1iSrWP-0003J9-RB; Thu, 07 Nov 2019 17:49:02 -0600 In-Reply-To: <83d0es7v6x.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 19 Oct 2019 15:53:42 +0300") X-OutGoing-Spam-Status: No, score=-1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - host.gofardesign.uk X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - marxist.se X-Get-Message-Sender-Via: host.gofardesign.uk: authenticated_id: stefan@marxist.se X-Authenticated-Sender: host.gofardesign.uk: stefan@marxist.se X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:171129 Archived-At: Eli Zaretskii writes: >> Date: Sat, 19 Oct 2019 15:50:04 +0300 >> From: Eli Zaretskii >> Cc: 37811@debbugs.gnu.org, nicholasdrozd@gmail.com >>=20 >> > > Common Lisp note: Common Lisp has functions =E2=80=98union=E2= =80=99 (which avoids >> > > duplicate elements) and =E2=80=98intersection=E2=80=99 for set = operations. >> > > Although standard GNU Emacs Lisp does not have them, the =E2=80= =98cl-lib=E2=80=99 >> > > 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? >> >=20 >> > cl-lib is part of Emacs, but not loaded by default. I think that's wh= at >> > standard is supposed to mean here. >>=20 >> I see your point, but that wasn't my interpretation when I've read >> that text. >>=20 >> 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 =E2=80=98union=E2=80=99 (wh= ich avoids > duplicate elements) and =E2=80=98intersection=E2=80=99 for set operatio= ns. In Emacs > Lisp, variants of these facilities are provided by the =E2=80=98cl-lib= =E2=80=99 > 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