From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= Newsgroups: gmane.emacs.devel Subject: Re: What's missing in ELisp that makes people want to use cl-lib? Date: Wed, 3 Jan 2024 11:55:52 +0000 Message-ID: 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> 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="39217"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , 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 12:57:05 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 1rKzrt-0009u2-7D for ged-emacs-devel@m.gmane-mx.org; Wed, 03 Jan 2024 12:57:05 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rKzr1-0003rq-BV; Wed, 03 Jan 2024 06:56: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 1rKzqz-0003rc-7X for emacs-devel@gnu.org; Wed, 03 Jan 2024 06:56:09 -0500 Original-Received: from mail-lj1-x233.google.com ([2a00:1450:4864:20::233]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rKzqx-0003kK-Fo; Wed, 03 Jan 2024 06:56:08 -0500 Original-Received: by mail-lj1-x233.google.com with SMTP id 38308e7fff4ca-2cce6bb9b48so50945261fa.1; Wed, 03 Jan 2024 03:56:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704282964; x=1704887764; darn=gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=ZmfaeTitkx8SRsTqwI23EWQEPrOElCZBReeLvKfGMiA=; b=SzCBgLCAOHQXWdTNMjIS8wj5rImv/jVtbool5ON+uBfpD6jcR6IYuYkvBbKeCDydzd ush45EniCFG/88wiTvdvOWJlxa6/XdvcfqlCJfYh8PKJlpUWac258kYqJ0mKOKs3Vi1l +D/onwG1/YVnpS91c6KcrrPZkVx/VglsUpmTardl7LMZQZ0PuPVokxenNlCq0Y+CAh7h EQvnuGYMVyRdnv88UeLF9oHxbipZRirbg3QMIPv0cXO20rhuhGb7iJvNz58Ol+/XGa77 knj0/4E1RSh7mYGlkVHQnqeoC1eXdtYh5iMrYan4VzsJOM2ygo3YBFKwkV0DP8IO+bO8 dH+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704282964; x=1704887764; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ZmfaeTitkx8SRsTqwI23EWQEPrOElCZBReeLvKfGMiA=; b=S5SXY8kGqxEUKlvR21J1jEDvgCbuZqYhEiOtXNEU3IwnoLcBVklo49vR5ENc4k9JrO bhrQU/n0WFVKgR7Pd89cCTW7ojYgNzEC6gX11aAe776J9P/AXm1E8sUxQRd7At2Av9XY H9x9SJVXr7zYfEQ/g9thfjcdH/YCQRJxYua6nx2broEHvTVg1TPR5kwZyLglk1wxZ3ZQ oGMaY9Bg1+SOg/QJfQWhymuH4RrSzIqsZD5QFzXuCZMyfhnlemcDzVz/PqIAeBPwc32U t/sLbI8qBsy6x2IPq7ST8RB3DiJFRshJ4dOapdAwDK26qwc51Ii/UmD9xcjY/VohOP04 gNeA== X-Gm-Message-State: AOJu0Ywn9RuzGS/Ow9yhRkXsvaGMALOb71jsRp1jJcJHxy6ydtWcTugk zjvosi9BveA1zKHxmcm4w1rYFs/FiaCcIWyYnHQWwjPk7CU= X-Google-Smtp-Source: AGHT+IETiwQtykASPsaGLTBAsdfKY1bBjsC55Wj9X6Z2aWQM3u2AiTgdPRQ0NEyBVwKh4S0QDsAGKcQXR4zqWMntQWM= X-Received: by 2002:a05:651c:1410:b0:2cd:1ca7:ba02 with SMTP id u16-20020a05651c141000b002cd1ca7ba02mr92587lje.210.1704282963843; Wed, 03 Jan 2024 03:56:03 -0800 (PST) In-Reply-To: Received-SPF: pass client-ip=2a00:1450:4864:20::233; envelope-from=joaotavora@gmail.com; helo=mail-lj1-x233.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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:314484 Archived-At: On Wed, Jan 3, 2024 at 4:11=E2=80=AFAM Richard Stallman wrote= : > 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. Whatever becomes of this (sorry Richard, I hope not much), I do hope this doesn't go into the byte-compiler proper, but some special linter. Give this special linter the ability to detect lisp sexps trees deeper than a given threshold or longer than a certain number of lines. That's likely much simpler to agree on and implement. Make this linter optional, like M-x checkdoc. > (There is no need to try to make this precise or quibble > about the details.) Of course there is. cl-loop users should be consulted about which features they use to make something happen concisely and readably. What you're proposing amounts to making that linter mostly ignorant about exactly what makes cl-loop useful. A linter that flags a construct and can't suggest a universally accepted better alternative -- like the byte-compiler does today -- is just unneeded nuisance. I'll be very clear: It's totally legitimate for the maintainers to decide these kinds of things if they think it's better, and if this were a paid job I might go along with it out of necessity, but it isn't so i'd just stop pushing to any repo that starts enforcing this kind of stuff, wish you all good luck and no hard feelings. Jo=C3=A3o