From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Thuna Newsgroups: gmane.emacs.bugs Subject: bug#72344: [PATCH] Add a version of cl-once-only which handles lists of forms Date: Wed, 14 Aug 2024 00:18:39 +0200 Message-ID: <87y15012yo.fsf@gmail.com> References: <87y15l1aj8.fsf@gmail.com> <8734nsk72i.fsf@melete.silentflame.com> <87plqw0y9j.fsf@gmail.com> <87ikwi5neo.fsf@melete.silentflame.com> <871q35mdrd.fsf@gmail.com> <871q321l7d.fsf@melete.silentflame.com> <874j7xzvgx.fsf@gmail.com> <87r0b1su7p.fsf@melete.silentflame.com> <874j7o2kcq.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6681"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 72344@debbugs.gnu.org, Sean Whitton To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Aug 14 00:20:47 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1sdzsl-0001cq-Eg for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 14 Aug 2024 00:20:47 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sdzsT-000056-Si; Tue, 13 Aug 2024 18:20:29 -0400 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 1sdzsS-0008Vv-GD for bug-gnu-emacs@gnu.org; Tue, 13 Aug 2024 18:20:28 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sdzsS-00067F-6f for bug-gnu-emacs@gnu.org; Tue, 13 Aug 2024 18:20:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=A7GlCokHb+iy7EvOg/Jm1N9A9b8IQHiLgP3eRHR7wh0=; b=N7qjjHajPVC03dAwz/ZUpgRKWRloMuthKK8pJ4tWh7ybJqZceGtYTZgCrId/iTFZzqjbxAXOkJRCAJXxApQUlLPIg0YHAvgR1VMidHcapX1ohwJbEIjIdXckGsEnieNmoJiYjGX0gem/vuGe6svuxUcPsORDOrU5HyLAGLGBz8SNvhH1nC7biczWgRTU8Ju8clqmM1XOjpIzcv45Etn+ci1pGZuVzJ/a+taUIoy0mB/2zHW6sj9CODBwlVlx11pftX/kBjEBPnxcSFLfmoAcMUepMGH1MmWSFo1sFmnHASThTS5Vuc0ZdjUc7BlMe/o33Wibavr8MkBRzjc71Yl3cA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sdzt0-00037z-2m for bug-gnu-emacs@gnu.org; Tue, 13 Aug 2024 18:21:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Thuna Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 13 Aug 2024 22:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72344 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 72344-submit@debbugs.gnu.org id=B72344.172358762411938 (code B ref 72344); Tue, 13 Aug 2024 22:21:02 +0000 Original-Received: (at 72344) by debbugs.gnu.org; 13 Aug 2024 22:20:24 +0000 Original-Received: from localhost ([127.0.0.1]:45615 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sdzsO-00036T-0N for submit@debbugs.gnu.org; Tue, 13 Aug 2024 18:20:24 -0400 Original-Received: from mail-ej1-f42.google.com ([209.85.218.42]:48357) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sdzsL-000369-Mp for 72344@debbugs.gnu.org; Tue, 13 Aug 2024 18:20:22 -0400 Original-Received: by mail-ej1-f42.google.com with SMTP id a640c23a62f3a-a7a8caef11fso682879366b.0 for <72344@debbugs.gnu.org>; Tue, 13 Aug 2024 15:19:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1723587521; x=1724192321; darn=debbugs.gnu.org; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=A7GlCokHb+iy7EvOg/Jm1N9A9b8IQHiLgP3eRHR7wh0=; b=iLMj7EUFFJ3WfoPNIppOl4rhY3Ia6fl6WB/fVVjajdOxN/k6uN6jdbw4LnkeuXZ3wq cSiBXuWJOKRITNA2xBdJHzGYi8/SW96ODaMATo88nLp1vvvghq7vtuGVkTNu9tf6w1o/ gWuoaVjZ2Oee2000B4XUn+BJZY7AkTSIGQX5tR+NqtITTR0Ag/WgNnst464hxi3ZOnJ7 iJL29c6GGlcRw8s03BpzRcpnWBsMdhX+55P1ydct6/jlVx84NkOPUPA5+yqg3XM1ZNzw 87tETAVAqfOu2xd+ytzTDE7Sd+I6qFA1hIGxtep+YgceDolvPl9GlN8Foeueaj6UzPaa QLCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723587521; x=1724192321; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=A7GlCokHb+iy7EvOg/Jm1N9A9b8IQHiLgP3eRHR7wh0=; b=nG4EwJWAeMslfnJomlwJAOcPkdCo8uNM5PwZ/Jf6YtkfKbS7iQ5M/tegdumdlqHExH YcsmbmhD3KUcP6WiS1PJRkQAg2aIlDMl4bdgvrvRj0UqZfdRsf5dImcomDTVOO6kVcmy d7SyePNOHq9fWOOemBhQJ4uEcIziemPg1Bu9SlL+DcGL931uQHlz1GOHb+vfDv6vxg2b 4yyvpTde2D/UKTT/E2rAagEnEu/6JsEORH+qIWA5EeXOoMxLADkD85P6eKgq/o2nuWw2 D1XsKFQzHrTMfbhuP5nlMkL/TPQQqCPYmCKz/o21M+llOEqEDe5AcNRkn1ry7mfLAoON 5e3g== X-Gm-Message-State: AOJu0YzkyWUPKIcGGwPkFipO9D//94E8N1wuy88CwYozRe1MLdH+eBMF PJXlKag/3Esl6IfEryj4lO10b6Th48iN3/UOHBV8lQiAdhtEiW3/ X-Google-Smtp-Source: AGHT+IHJEQlcM/OgVeWv43pKVS/aO25KdKDwMueHv6ZtYfhgehDzIJCR/hr+mlzUZ2g7yIAsrttPsQ== X-Received: by 2002:a17:907:e2e7:b0:a77:eb34:3b4b with SMTP id a640c23a62f3a-a8366c0b1b8mr49939066b.11.1723587521205; Tue, 13 Aug 2024 15:18:41 -0700 (PDT) Original-Received: from thuna-lis3 ([85.106.105.81]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a80f3fa7c27sm103658166b.66.2024.08.13.15.18.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Aug 2024 15:18:40 -0700 (PDT) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:290096 Archived-At: >> If Drew wants to start a new conversation to move `cl-once-only' (and >> also this) out of cl-lib we can also just go with any name now and then >> finalize it afterwards, though of all the names the one I favor is still >> `cl-once-only-multiple' above all others (sans `cl-once-only*' which is >> not an option - unless if you changed your mind about it?). > > I've said all I have to say on the matter. I seem to be a minority of > one, and won't bother starting any new thread about it. I don't know what the overall opinion is, but I do not necessarily disagree with you that cl-lib should be for (and only for) emulating Common Lisp. While I do not know the scope and extent of the changes you want to make, I support moving with-gensyms and once-only (and consequently this) out of cl-lib. However I simply do not have the energy to start (more) arguments and try to convince people to make this change. > I have no objection to using prefix cl-- (internal prefix) for utility > functions & macros in the library - i.e., for plumbing needed to > support the actual emulation. When talking about this patch in a vacuum, I am vehemently opposed to using the `cl--' prefix - this macro is a public-facing one, and making it internal is a guaranteed way to make sure no one uses it. It also does not make sense that this macro (and only this macro) should be left out of cl-lib, since this is a near-identical version of `cl-once-only' with minor changes.