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: Sat, 11 Nov 2023 13:39:32 +0000 Message-ID: References: <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> <87il68pgz0.fsf@yahoo.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="22053"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , Michael Heerdegen , emacs-devel@gnu.org To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Nov 11 14:37:14 2023 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 1r1oAk-0005b2-5X for ged-emacs-devel@m.gmane-mx.org; Sat, 11 Nov 2023 14:37:14 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r1oAH-0006kQ-BM; Sat, 11 Nov 2023 08:36:45 -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 1r1oAF-0006j5-13 for emacs-devel@gnu.org; Sat, 11 Nov 2023 08:36:43 -0500 Original-Received: from mail-lf1-x12a.google.com ([2a00:1450:4864:20::12a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r1oAD-0003vW-Gd; Sat, 11 Nov 2023 08:36:42 -0500 Original-Received: by mail-lf1-x12a.google.com with SMTP id 2adb3069b0e04-507975d34e8so4205905e87.1; Sat, 11 Nov 2023 05:36:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1699709799; x=1700314599; 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=a6THhFLVHOTdwN2a3fILRqhjAhK2eSRaO32DuX7Xb5Y=; b=m1E+b86qaxepEOTQMdvUOobnh5IgYlQUhZxCt+zqUrWGYyLfGD9/G+z0XASLyxUICE f7krEc1VjWhtIONFmrz9Je7hVI8v3P2qY0IRJ/Xuce2r2gN3LBBX7UySGLPWbPEJpPOb Q+x7VIJznLmxnN0vjLaMNiwUC+saWSIsDcZWSKABHow201Me9/9m/5wisHk0JPlM+5eV gKDvZmrXm/vPd4oU5C8ci9JiBzaBJPArKnBemWwRPdEZkYa9zFTeRc0bBmNxi3ckoMxk pa7ulVTiph5h4r36DuTNoSCkhPDhIUhj6tXJGvWdx/A62Xqmmq5nXyfTD6APFJuxJHEm B7Yg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699709799; x=1700314599; 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=a6THhFLVHOTdwN2a3fILRqhjAhK2eSRaO32DuX7Xb5Y=; b=uF3Mo4lXQsLeyVb9eGsJltpTs2ekcBURCabE1Sxf5MmRYQWqbZMnAUKaeJjot9orwT 2NZAEEgA1lTR8EKFTc+ykpRTIgmBMV4TCkzMOPP2Y4t1XUz8jMpNleRgv1pPAFIlL8jQ +thz2FoA7ioyyMJKfHHPgJgHeDWpsrLscjRGmS9JtgjnSQhhreshx6VyauhWEFnmvXsH eVDDZF/jK6hzMPDCP8xrCy6N+kdVBLEQh7KlIU6lGrzitJIcW879op8UD7GNFieNKbqR fvci8YR9f2cZnZSjVt+03TAqQKOJ20GvmmKyqRJYNMfguqAXhD/Ou6MYeTZm6J0/r0Le p4ew== X-Gm-Message-State: AOJu0YxaFmu77iJ078JolM2XXGzB84DpKtDxn8cIdgVRBnkOkUfVjMh9 tpS/cmMFINfsBmntcl5fRVs5eGYh+ckTz3Kad2Q= X-Google-Smtp-Source: AGHT+IEEgd56wYdK9/SXCxjPNWuClq2lZ9llb32Z/ELvLerLQIkaqI6Qb/2c9+XsjeErzIFzN/QHnXzp1OngmMeoL6Y= X-Received: by 2002:a05:6512:12cf:b0:503:3781:ac32 with SMTP id p15-20020a05651212cf00b005033781ac32mr1719193lfg.41.1699709798782; Sat, 11 Nov 2023 05:36:38 -0800 (PST) In-Reply-To: <87il68pgz0.fsf@yahoo.com> Received-SPF: pass client-ip=2a00:1450:4864:20::12a; envelope-from=joaotavora@gmail.com; helo=mail-lf1-x12a.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:312557 Archived-At: On Sat, Nov 11, 2023 at 1:17=E2=80=AFPM Po Lu wrote: > It might be pithy, but I don't know what "processing" is being done. So > I cannot really judge it in terms of readability to the cl-loop > initiated. It's converting a plist into an alist. And I used it precisely an example of non-universal code, that is nevertheless concise. No one asked you to "judge it". You may if you so desire, write your own while loop version (check your results this time!) and then we can compare if that universal, primitive-exclusive code, that results is more readable than the cl-loop version. If you weren't generally averse to "balkanization", we could even collaborate in designing a good flexible, well-named utility for this common operation (not just plist-alist conversion, but more types of plist processing) to add to the Emacs core. But alas, my dear dictionary-loving friend, this would imply we have to leave this spirited yet vacuous exchange of pompous elucubrations behind us. Jo=C3=A3o