From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuan Fu Newsgroups: gmane.emacs.devel Subject: Re: cl-lib warnings Date: Thu, 22 Dec 2022 14:24:02 -0800 Message-ID: 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 (Mac OS X Mail 16.0 \(3696.120.41.1.1\)) 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="20298"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Juanma Barranquero , joaotavora@gmail.com, juri@linkov.net, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Dec 22 23:24:52 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 1p8Tzg-00056f-IO for ged-emacs-devel@m.gmane-mx.org; Thu, 22 Dec 2022 23:24:52 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p8Tz1-0008Ca-8V; Thu, 22 Dec 2022 17:24:11 -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 1p8Tyz-0008CQ-H0 for emacs-devel@gnu.org; Thu, 22 Dec 2022 17:24:09 -0500 Original-Received: from mail-pl1-x636.google.com ([2607:f8b0:4864:20::636]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p8Tyx-0003FF-QD; Thu, 22 Dec 2022 17:24:09 -0500 Original-Received: by mail-pl1-x636.google.com with SMTP id 4so3313711plj.3; Thu, 22 Dec 2022 14:24:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=AHXDmOIu8BI3y+sUs/tZbTf9HT2zsCfvMAuu713vq8M=; b=KMJxUP14dU7vIPqkx5Jp1h1re7cFdexU9l4uVCP0MUwnA6SFBgQPnMaL2DxFQtk5aG 2bbzvGGsBouFBkG98u59sOzAB9nZnx/xjLYm4tQXt/3zx62G7tLdSF2gavpdkYtmO94Q eufLtTe++DH8eEk6kZRG0ZSIirh7mOM+WPbqK3Dvg8QpWS+9o1gC7PXxcqCRZKJjeptL 3hoGjttFwhgigW4pwxu2kj5zeK9U1rhCjEqiZL86DqbB0JvsSddsT5k7LUj6PkIpoi9D ELPlQw1fjcdPhXAR/fM8KCbnA9UbtMhDrIJ411uzd6fVUA9hGD7Ekg70NklP3/QbxnbC 9pzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=AHXDmOIu8BI3y+sUs/tZbTf9HT2zsCfvMAuu713vq8M=; b=2MIxqA3ai7JSNh8DCdvkQ2RfPThmRv22kEmh3uWk+iIWrSfrP7eo8ioWZRV9YaHBKb 9CTsBUNsgwQoM4HyHqyZWCpadz9xAQeb5pphjWHYaSxkZbkPciOm1MzT2EXBB2csXzhW gLMJwsySBM8IT3HisR0p+QKy3XEhTpOfJ40Df115nv74Qt24hozE4hBKqtuYfLeRTPPF GBY/k/3masO84XsZ3+ZXyLhMfgUYemARKjfPyovR9J/nFsz0v7Wt3yKHVaaMpB3Vn+xk uS2bD2yf09t9zjAAAYyTn5ij8wkHrAe2T3h2TldZivJx1Z1+tPk2SYIOiVTpcWem3wBs i+VA== X-Gm-Message-State: AFqh2kovtGUya7N9Nfjz2Lanld5j2NzPW+j5VI7f+OrFMD4wlJ0BHkCH ATF8I0yM5mWP+fV08n/f77r8j3oab7hSlg== X-Google-Smtp-Source: AMrXdXvzzu944WeO/jMD1lrRhYuFWDS9MrxF063FKYsAjnkBL7MR4sXJVX1nwq7DHwCDe+zmgmP4YA== X-Received: by 2002:a17:902:e8d3:b0:189:eadb:45c7 with SMTP id v19-20020a170902e8d300b00189eadb45c7mr7715490plg.37.1671747844381; Thu, 22 Dec 2022 14:24:04 -0800 (PST) Original-Received: from smtpclient.apple (cpe-172-117-161-177.socal.res.rr.com. [172.117.161.177]) by smtp.gmail.com with ESMTPSA id q17-20020a170902f35100b00186b04776b0sm1015265ple.118.2022.12.22.14.24.03 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 22 Dec 2022 14:24:03 -0800 (PST) In-Reply-To: <83a63fap35.fsf@gnu.org> X-Mailer: Apple Mail (2.3696.120.41.1.1) Received-SPF: pass client-ip=2607:f8b0:4864:20::636; envelope-from=casouri@gmail.com; helo=mail-pl1-x636.google.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 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, FREEMAIL_FROM=0.001, FREEMAIL_REPLY=1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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:301803 Archived-At: > On Dec 21, 2022, at 11:13 PM, Eli Zaretskii wrote: >=20 >> From: Juanma Barranquero >> Date: Wed, 21 Dec 2022 23:33:29 +0100 >> Cc: joaotavora@gmail.com, juri@linkov.net, monnier@iro.umontreal.ca,=20= >> emacs-devel@gnu.org >>=20 >> On Wed, Dec 21, 2022 at 6:14 PM Eli Zaretskii wrote: >>=20 >>> Out of 1600+, yes. >>=20 >> Well, my point was not that it was a majority, though 11.78% is more = than I expected. >> My point is that there are among them some packages that are (quite = likely) widely used >> (like desktop.el, or the help ones, or Org) so even if only 12% of = .el files load cl-lib, >> that surely represents a much bigger percentage of Emacs instances. >=20 > 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. >=20 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=E2=80=99t make code harder to read. Yuan=