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: What's missing in ELisp that makes people want to use cl-lib? Date: Wed, 03 Jan 2024 14:44:23 +0200 Message-ID: <83bka2zivs.fsf@gnu.org> References: <871qd8sfdx.fsf@posteo.net> <838r7g8pys.fsf@gnu.org> <87bkcbrgnr.fsf@posteo.net> <25924.21015.19614.951576@orion.rgrjr.com> <87bkc4jpja.fsf@dataswamp.org> <12da6bcb-1818-7fbe-12af-8d4607724332@gutov.dev> <87il6bt4z0.fsf@yahoo.com> <8734xetjkk.fsf@yahoo.com> <87cywhsrcf.fsf@yahoo.com> <87cywgx1z0.fsf@web.de> <83wmuowwp3.fsf@gnu.org> <83leb3v5al.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17006"; mail-complaints-to="usenet@ciao.gmane.io" Cc: joaotavora@gmail.com, emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jan 03 13:45:40 2024 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 1rL0ct-00048F-53 for ged-emacs-devel@m.gmane-mx.org; Wed, 03 Jan 2024 13:45:39 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rL0c7-0005IC-Ey; Wed, 03 Jan 2024 07:44:51 -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 1rL0c3-0005I4-3O for emacs-devel@gnu.org; Wed, 03 Jan 2024 07:44:47 -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 1rL0c2-0000R8-Qs; Wed, 03 Jan 2024 07:44:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=ReNhVslLylZwIRsYaUiir8R7bpKdQMwOnR5wT4/R894=; b=Y5qY6qKmwaoq TYX+KFUHMQOvNnEbSwmN0A7AgWWKGlw9CgO2CxjmZDNaCk4smzaVHHmHfmTX06xZmf4jlVQ3WOYl1 oAifKWOj8v7CbQfZoi9ehMrZBCsiMkIsJso3FoCrdGV/dMb55g/u7erRG53yGQgmM87ffQzXMlzY/ rZBmNh1XOyOmO8QYmWKwiwt+vTK/9CJ0ZH6fLTjLB26m70fEeMSbBLtIsx7v9dHi/+yEge2qW4uhK 39cqQxxHwSF8ukrQgZ2XpO36S+3V0seRCXsiY7I94xtfZc9F6CqV1YJd8XMKykqrDcJ9o4V0xLYUe 3ObWAetkddRs1IHKxv/STg==; In-Reply-To: (message from Richard Stallman on Tue, 02 Jan 2024 23:11:27 -0500) 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:314487 Archived-At: > From: Richard Stallman > Cc: joaotavora@gmail.com, emacs-devel@gnu.org > Date: Tue, 02 Jan 2024 23:11:27 -0500 > > This suggests an idea to me: > we can define something in the byte compiler to distinguish simple > uses of cl-loop from non-simle ones, and warn about the latter. > > The distinction could be a matter of whether it uses cl-loop features > that are less frequently used. Or perhaps how MANY cl-loop features > are used. (There is no need to try to make this precise or quibble > about the details.) > > We could enable the warning for source files in the Emacs distribution. If someone wants to work on this, it's fine by me. The actual decision needs to be taken only when and if patches to that effect are submitted.