From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sean Whitton Newsgroups: gmane.emacs.devel Subject: Re: cl-lib warnings Date: Sat, 24 Dec 2022 15:59:19 -0700 Message-ID: <87y1qw2yt4.fsf@melete.silentflame.com> References: <86o7s3lsnx.fsf@mail.linkov.net> <86bknx8783.fsf@mail.linkov.net> <837cylapt4.fsf@gnu.org> <83wn6kamwr.fsf@gnu.org> <83len0aldq.fsf@gnu.org> <83k02kadbv.fsf@gnu.org> <83a63fap35.fsf@gnu.org> <83bknu8tmo.fsf@gnu.org> <18E95AC5-1FFC-4025-B804-7D70DDB1BD75@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28249"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Yuan Fu , Eli Zaretskii , Juanma Barranquero , Juri Linkov , Stefan Monnier , emacs-devel To: =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Dec 24 23:59:57 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1p9DUh-00077J-VG for ged-emacs-devel@m.gmane-mx.org; Sat, 24 Dec 2022 23:59:56 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p9DUE-0000L3-KA; Sat, 24 Dec 2022 17:59:26 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p9DUD-0000Km-0D for emacs-devel@gnu.org; Sat, 24 Dec 2022 17:59:25 -0500 Original-Received: from wout1-smtp.messagingengine.com ([64.147.123.24]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p9DUB-00006t-Eu; Sat, 24 Dec 2022 17:59:24 -0500 Original-Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 7C0B93200657; Sat, 24 Dec 2022 17:59:21 -0500 (EST) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Sat, 24 Dec 2022 17:59:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spwhitton.name; h=cc:cc:content-transfer-encoding:content-type:date:date:from :from:in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm1; t=1671922761; x= 1672009161; bh=CbgxJJ/BdnYQMysoLGm9zmSsWyNVMYkTEn1ZIklxguk=; b=o NvVRGIAtrPLMquVpfeQiD6OKxT+NEPn6ruUjL8V/oFFxCVhN/U20eEzFmVJs2L8i L7NjlAk1YQu91mjrokNjqiXEixnWBWgzAs4yMQTFGWDbTB5UTDuYSmHwPnC6KyOO DAdoBh4Z7ziB46w/AdSJtgMY7DoXGWyoYv76hWFZSxc4HE5w6WJ/cJy4zOttPFY8 wHUlWOZv8ibkrb5pDLWF9q6CKalhWloX+oC6gf3RaX6dRHlGw+umJpdemEWpcg+w 2awYeFrY/qey1IRfhtyUvNNjsBhm2Y4xLyGQVhOjoJ86djqbCMUQ1UvB1jMcFBDK ycp8cLEObmynvC9jAiw3w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1671922761; x= 1672009161; bh=CbgxJJ/BdnYQMysoLGm9zmSsWyNVMYkTEn1ZIklxguk=; b=a ZEB8Rv67LIIgE6se7jf3i2XVcXOiRz9YJ2QqeYk3OF19hspD79icLLvpkjG3fQqH MKROp8Qz4+jI97dvw+HocsX27XttxQvyZ3sgbhonxeK+m1v6uJ+hX9SD3ktlByG3 4mUNkZjrcruiC0xbhi2QDgVRJ9vl3erYXWu9zdtq7KvOd1OJQtbHWkVQ5yUmM6hP vry8rH31p+0llSMv1tVkKZNpbvi6pDPEJv3p2JW0jYWCDnjfuqiF167CRlWooHlF v44PpJ65U1kaoGyjEkWXcUxNI7jXlPysKDeXV3m6Mp3s3IY/RC9KtXqjQeLtEjp8 L756hGZWDbm59IG8Sc8mg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrheehgddthecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvfevufgjfhffkfgfgggtgfesthhqtddttderjeenucfhrhhomhepufgvrghn ucghhhhithhtohhnuceoshhpfihhihhtthhonhesshhpfihhihhtthhonhdrnhgrmhgvqe enucggtffrrghtthgvrhhnpefffefhjedugedutddukeejkeeuveevvdeigefhgeelteeu hfekgeekhfeljedvudenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrih hlfhhrohhmpehsphifhhhithhtohhnsehsphifhhhithhtohhnrdhnrghmvg X-ME-Proxy: Feedback-ID: i23c04076:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 24 Dec 2022 17:59:20 -0500 (EST) Original-Received: by melete.silentflame.com (Postfix, from userid 1000) id 060CB7EDD75; Sat, 24 Dec 2022 15:59:19 -0700 (MST) In-Reply-To: (=?utf-8?Q?=22Jo=C3=A3o_T=C3=A1vora=22's?= message of "Sat, 24 Dec 2022 00:26:06 +0000") Received-SPF: pass client-ip=64.147.123.24; envelope-from=spwhitton@spwhitton.name; helo=wout1-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:301886 Archived-At: Hello, On Sat 24 Dec 2022 at 12:26AM GMT, Jo=C3=A3o T=C3=A1vora wrote: > On Fri, Dec 23, 2022, 23:42 Yuan Fu wrote: > > > Yes, cl-loop is one of the worst offenders in my eyes. If I want to > > use Fortran or C, I will use Fortran or C; I don't want to see Fortran > > for-loops in Emacs Lisp. > > Darn it! I loved cl-loop :-) I=E2=80=99ll curb my use of cl-loop in Emac= s codebase. > > As a data point, some of us are, like you, highly appreciative of cl-loop= , and > cannot see anything remotely approaching its versatility in other program= ming > languages. I love both LOOP and FORMAT, but I don't use them indiscriminately. I find it very interesting how many Emacs Lisp programmers want to use a highly functional, Scheme-inspired style -- e.g. the recommendation in this thread to use named-let -- despite how the roots of Emacs Lisp are highly imperative. > I don't know what its detractors recommend for iterating over a plist, > to give just one example. Alexandria has a nice DOPLIST. That's usually what I use in CL over LOOP, for plists, actually. --=20 Sean Whitton