From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: cl-lib warnings Date: Fri, 23 Dec 2022 09:30:07 +0200 Message-ID: <83bknu8tmo.fsf@gnu.org> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39801"; mail-complaints-to="usenet@ciao.gmane.io" Cc: lekktu@gmail.com, joaotavora@gmail.com, juri@linkov.net, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Yuan Fu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Dec 23 08:31:02 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 1p8cWC-000A4p-Rw for ged-emacs-devel@m.gmane-mx.org; Fri, 23 Dec 2022 08:31:00 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p8cVc-0001IK-18; Fri, 23 Dec 2022 02:30:24 -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 1p8cVY-0001I7-Ua for emacs-devel@gnu.org; Fri, 23 Dec 2022 02:30:21 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p8cVY-0004Jy-9u; Fri, 23 Dec 2022 02:30:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=i0C78onAnPHWdyrb1l7DvaspuOgFSHniU8yLT8Ap7ME=; b=mZxoeQ0Ju0+bS8orOiUi c8h50qpnFAvESrfrFC2rV1tRdMWpPxUuQZTX6z12XA5ge8+upzq8IvGteEA/bjPLPS0p+2vdPPrmg l3USDWXZdDrKQkmYRUnKxgtWHFQoD0mxXRs48x+xZE8inUFoD5xC7xCmxUSXFLvK1dQVGQKzAG0hi Ss/4oOAc9blomB4P1xeBjPvr2/dmbsjOX3CvKzkqSl7haz3ClUVYWT6kMCQLWhEcBV9EYkBczax6S LWTg8QR63Wnm01zViRCrMiIpLHfyriraIKZmRqkE1hmpvvUfljtlYwTl/CzREue+ykHXxnCb1qu5b X26MKjaHQtHz7A==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p8cVX-00012r-6X; Fri, 23 Dec 2022 02:30:19 -0500 In-Reply-To: (message from Yuan Fu on Thu, 22 Dec 2022 14:24:02 -0800) 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:301810 Archived-At: > From: Yuan Fu > Date: Thu, 22 Dec 2022 14:24:02 -0800 > Cc: Juanma Barranquero , > joaotavora@gmail.com, > juri@linkov.net, > monnier@iro.umontreal.ca, > emacs-devel@gnu.org > > > I'm afraid if we preload cl-lib, that would open the gates of hell > > whereby all of our code will be rewritten in cl-lib dialect that is > > (at least for me) much harder to read and maintain. So maybe wait > > until I'm safely dead (at least as far as Emacs is concerned) before > > doing that. > > > > Wait, what constitutes of cl-lib dialect? Do you mean things like cl-defun? I hope using cl-loop and cl-reduce, cl-remove-if and the like doesn’t make code harder to read. 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.