From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#72344: [PATCH] Add a version of cl-once-only which handles lists of forms Date: Tue, 13 Aug 2024 22:57:21 +0000 Message-ID: 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> <87y15012yo.fsf@gmail.com> Reply-To: Drew Adams Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23656"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "72344@debbugs.gnu.org" <72344@debbugs.gnu.org>, Sean Whitton To: Thuna Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Aug 14 00:58:48 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 1se0TX-0005y9-Pb for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 14 Aug 2024 00:58:48 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1se0TF-0005iN-EX; Tue, 13 Aug 2024 18:58: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 1se0TE-0005i7-0U for bug-gnu-emacs@gnu.org; Tue, 13 Aug 2024 18:58: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 1se0TD-0002I3-NO for bug-gnu-emacs@gnu.org; Tue, 13 Aug 2024 18:58:27 -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:In-Reply-To:References:Date:From:To:Subject; bh=+TQyC2QcqK8ZrHRkHxorXahxOaFGbJBY2NvzVBhbv/k=; b=YpLn4ExYlVjuY4nXdLrLBnNb8YFTx873FxWVAn+LKH2RTLD56EkQ1VTUnAu9nC3ANaGEezWQRbrGleKs5ehOG3dErspjPKuu7GjCrD1aeT2sEV/N1kvl529n3kFCAPQACskq7lLGW6k2Bb1lGoLVNCi/Jl0l6cCtx4avGa+KiJ4a17RUZ/+6rzSfLrXhG/UKQr46fYaz5l1c2R5Vg93p/hYHHwL5rOL4PRUVTVVJVAsrwUEKKrmuIVqyDaCKDsucCk6nUQhVgJnUEAsl+na9zY3RU8xWaNbrpXodBxpf8Fn+nKuikUArk4eQhPjj6ryt+q7Rwt9JDE3Ouajhi5rpQQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1se0Tl-0004WS-LV for bug-gnu-emacs@gnu.org; Tue, 13 Aug 2024 18:59:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 13 Aug 2024 22:59:01 +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.172358988917263 (code B ref 72344); Tue, 13 Aug 2024 22:59:01 +0000 Original-Received: (at 72344) by debbugs.gnu.org; 13 Aug 2024 22:58:09 +0000 Original-Received: from localhost ([127.0.0.1]:45646 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1se0Su-0004UK-GV for submit@debbugs.gnu.org; Tue, 13 Aug 2024 18:58:08 -0400 Original-Received: from mx0a-00069f02.pphosted.com ([205.220.165.32]:22416) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1se0Sr-0004UA-MV for 72344@debbugs.gnu.org; Tue, 13 Aug 2024 18:58:07 -0400 Original-Received: from pps.filterd (m0246629.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 47DLfWmX023947; Tue, 13 Aug 2024 22:57:30 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h= from:to:cc:subject:date:message-id:references:in-reply-to :content-type:content-transfer-encoding:mime-version; s= corp-2023-11-20; bh=+TQyC2QcqK8ZrHRkHxorXahxOaFGbJBY2NvzVBhbv/k=; b= l/oEZYiZCCChnJLqcG+I1uFiBjZNlA/kDoSW+D79h9gd85otEQPUzyxgyqdCLoTn FlnvDt6BPtkq+LDFNbhkfAevJfvGx/NS+i2TAVIPITi+GRKxNIJqB+z8IM/dy7xi 0NHjT/Qru/mDmttHBdg6lteGxIA9vVe92LTbbi6Y/dIEnG1UzFGHc8f39sZKO5ai l4pY865mx1hi6WkBPY11mH5hj7y9NR+csGDq9180YNLe0JPewPwXGS7uBOVU6JSD 9iEGZwGJd1rKZzPVGe/xLbcCiRkpgj6cdmKIXWrKdsB1CsYqyv6p+f2xb6ccPfHy 2hNTuZbXVzQMtMfOLC1nqg== Original-Received: from iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta02.appoci.oracle.com [147.154.18.20]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 40x03971jm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 13 Aug 2024 22:57:30 +0000 (GMT) Original-Received: from pps.filterd (iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 47DMmlSP020856; Tue, 13 Aug 2024 22:57:28 GMT Original-Received: from nam12-mw2-obe.outbound.protection.outlook.com (mail-mw2nam12lp2046.outbound.protection.outlook.com [104.47.66.46]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 40wxnfnsvx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 13 Aug 2024 22:57:28 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=roAQT6p1jhgpVkB7zhEV4/zhtRIVns8qBfyikmVQ6jZFTFzNPJ06i/3K8sTV2dX5nuqyM7Cxe6/seXxNIltQAlpw1svIyDcjl6EULKDzbpxIEz28CL5iiwMXd/W+iJ4SiD9nkLWr2T9gOnu2CS+nf/sEKsZogFeC3/Mccy+ClAoyjANcdmmt/CoBSQIJLiFnkQ0Iz3KOjFkeL/oRWJFoy7AzCXj4KSwjopKVfAN4y0JntVJ9K2AtqQnQHYhk865fcrr4lo1TUBEd9LUlK6hB6QiBpy2ld5zzY+ic32nGfipxF8Xph5C6z1TeN8Qvj8DFlHrMlfyINe3haNQzkH5nkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=+TQyC2QcqK8ZrHRkHxorXahxOaFGbJBY2NvzVBhbv/k=; b=f8cXwVLFNZ4rKYzdUMLukyJcwxBBqOzy/IAUxoOzNKt7DL/wSP5dHsrdxd/zE1E12mz4zvjZ4G3j1cXFhKeUU5iR5g5rjU1bFwI+9i9Oiv6qGf2pdC79sbOM2OK4nltEWrBAqaUN15MrOCZRJ/TRw1HglqoI6XREQ4eX7XNlQbb2bBLQp7ZsyOCZMGFqyDEwGuq6EaYAOkHHQJgHhdKgUxrSYJFkt0+Aqo3R3MZd2ueRCKxP0iLXuj9A4K4EKM22dDHp/2Rpvv2We1i9rL91fS9lrrEB8fIE5Idcdkx7wv6jvbVnddgvRnOvoJvGJeS0ErejIVktjUczf/KMA1H0tQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+TQyC2QcqK8ZrHRkHxorXahxOaFGbJBY2NvzVBhbv/k=; b=ROysYQRLW1d5/etIEzUR1pi3zUHvMS6cw9Pd6eppp2TDhXoj2PSkm54o2DGioi8l2rKC5LXy1W3sRXW7xC7EoyMnF8daXBWckRH7fzCz5UWCw6a3FvNKs9BXrfA6KMZv6Iyq/Q9kcvi756LSuzaQErvWdepkktchXbMWKOMoKts= Original-Received: from DS7PR10MB5232.namprd10.prod.outlook.com (2603:10b6:5:3aa::24) by CH3PR10MB7986.namprd10.prod.outlook.com (2603:10b6:610:1cc::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7875.15; Tue, 13 Aug 2024 22:57:21 +0000 Original-Received: from DS7PR10MB5232.namprd10.prod.outlook.com ([fe80::8303:658f:14f8:2324]) by DS7PR10MB5232.namprd10.prod.outlook.com ([fe80::8303:658f:14f8:2324%3]) with mapi id 15.20.7875.016; Tue, 13 Aug 2024 22:57:21 +0000 Thread-Topic: [External] : Re: bug#72344: [PATCH] Add a version of cl-once-only which handles lists of forms Thread-Index: AQHa7c7E5MTcThhNNkaf80wrk/R6qbIly+Bw In-Reply-To: <87y15012yo.fsf@gmail.com> Accept-Language: en-US Content-Language: en-US x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DS7PR10MB5232:EE_|CH3PR10MB7986:EE_ x-ms-office365-filtering-correlation-id: 09bdfad9-0cc6-4065-c459-08dcbbeb49f8 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230040|366016|376014|1800799024|38070700018; x-microsoft-antispam-message-info: HPVOwldFx7iElIhJCWrHVufK5Bq95B5cD77muN9Xu5A3lZWmID72coUr+s8YmiXfnrtzDCaFglb5E2av1hLev3zm8JdjYpv/mhedc+AW1G7QYaFHBx3e1Orn8pLCViBtxBpQQpkq6CrjbCqSoh1NEcSUol29rqruOw0PLUZqhkbO8tcr19kYpjYJFliqkjwbpCq8GKEOEe1RqxEZtaUe1EC5odTj5TnxdsMwuqOKdTu7k2tVwW1aEcdJCDk9uH6W2KLyfzW5EoHJJDaBUESplgj70PvOhblBj2nLieT7vboToy5omKxMT4iSenbwI4fZmj+n8TgNB7oSVSU/jpt++Qte/eQPf74OceqcRQLHsOfz07J7e+74mkzUrsGiMCksiXj1gJsXdG66v7Z//s9u3mLce76HVKibKx7VT4HNCMp5Wxx0I8+Q2puYzD8APQeivtfO0zupnSlHQRTi0S1R+amRD3nD0KxkDR8edwwI3wk7mwZevO3q1ZTdb+szIcbGJ21TiHsAJ+3SNbTt7nPjBVHUkS7BBYUyTRnXsggRCDrh9hAhdEKY7mGvcwvMSlJ4ox1fbBd1PGZuphK+DjdS1BbZJvNqPyi8o7/tv16PBF/4hU1j6HyDTssax8PfwSWghChuTaMGUrUZzuGNRoXvv7ZXDW7dvKSHFZPhd+3IsYe4UyDjo4IdZ7CUJTAml0VLx2i9e27pVXPY4BfyVj53+ZVdls88ZPqA3sjTw+5fDmxCOSe43oOTaW1ggQ3oX 24hINbB6hQhTkddYpECn8e0Gf4ydDiutEu7AV/Z4d96FL+SaEgWewHnApPrNjv27i8SrX/RmBujtpMmXeXtGz7kkLCFEjBTVSh x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DS7PR10MB5232.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(366016)(376014)(1800799024)(38070700018); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: LUZRmUN+Q0ypT4G+QnkpLF+eZrrWYPO+WUOEulFciZYuBAHaQn5GxegN7fle2//V5nvq9nmTnqLELKcIjCaJbb/vXvJkoiRZu2i14WgOosuUnERIAquDDqs01vqltkCYLrDmCPgkkhpBpB9O2wMeqr9yyanHodptQZA0H/Kbd0VZKmuWkXPnyF9bk9Ugi6usPQzLzPfGAnF1f+6Vyk0RdxMXziLRJ81rp8LQyG2GG4jKFISYVHIKfJeFGbOOdw20pMF4LIH6+2gCDXqVipQfJyqgLm4iqBkGnjlI9wFxIKrI0a6V4b53hgmpjTsvfUIDddNFGrUAaq3G2YSXeabiqKYxtyqAk2cKeI5tyoZfPuA4VljqfdDrMzEVZlBoVdjPwnI7JsEdGrHBTWheSkJXfm8Z6B0cXqOtPXne4Uf264X6XnMhYtE1+ZxIyPY/TtND8Uu/FMDzxvjo3ZhU+G3PhLcLE25u8MUeDo3H+ud17HKwDklBb9UOMnQydha88qmf5q0bVQxVDNMRnNh5U0Cn98oF+luEisuZc7JO0q2grxdfLqM8Jcgpfc4Elyup3tBRSO74dCFARnXKPnzubsPibo21TlIIsgqS9yTvy78gpYUvuWkqls3qqsytMjU5hvqlimchtlOXWKL+iXYVibujnHZoqEWJg/FZ/h1fYGyu4aQQ+KWcVaXepkERF9SdL9tY5DZ38v/g9Y1ldcjf1XF1cns+Cif9bkFWt6+4Dtm1FyPr1VHsKK7lfnkHjG fQmYPMDSJPF+uy9Gd84i0KAzv4jHAtdF5B1Zas/BJHoGsvrycSrNyzlKznYSHMQxOdDUWRLoIxwKG3238Cs2Gs/aIwj55ugY6y X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: 5vEn7Y/I/RuMYd3Em8NOOULf5gS6/mQpBDVbdaHe2/KvVSm1IyyJERsG5RAoUFhjWmeFZPhJt/aAI+FFD3Ggp0jSDKy8lMXw44YRTSWNKSZtO0BgfnYU/RC5VwnMqadLZ7g9Dv2lHAV+udyCSBkGygyKmsD2qsidSctmNYg0tajYABYsKA3qIQobWJ0Gn0AF1Rj6SWcm+rGcLPAjIIwTHvevqYaaSyrTC9F07KHtnNWZNKM6flJVmPUV77eh4dzxm087lqvI8Lt2dN2HNcR6+goeQ8x5tASUgMAw9rctZi4MvjW28B7gpqudShbY3wKeHQtpgFyfyCJJFHw/R/S6Rohes5nYjNzTHZkYjZyMfmi60SfUcIJbwouk3A3w78taouZpD048wdFsfyCsihw2Lv0Hp5yLkpc32cstF9RJ0QcUMefcYR3b9lLZn8d9y1R2J0qlZIJYkyPbnCV2NOAjYRiTH6hwHuz5StvMK6lz+jmjVrQO+VuLK43YpYrZ4hFec9MybTnoUiz5qE4WCaLkHvE3jUvdJcY99v7sHEjA82KvevLxVbXf1FU5++AsdY4CH00eanzKYZisGFzMwPbU1wkSbSXojPI6QHs37YtN3L4= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DS7PR10MB5232.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 09bdfad9-0cc6-4065-c459-08dcbbeb49f8 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Aug 2024 22:57:21.1966 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: YIYwdrfxklwjEsZoSZbK2VfWmCZ0uHXKoOhONhQJ18R6ceTZJI+/btqH5dB3BrgvmCd1cCums8kTjfLyJai6xg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH3PR10MB7986 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-08-13_12,2024-08-13_02,2024-05-17_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 mlxscore=0 bulkscore=0 phishscore=0 malwarescore=0 suspectscore=0 spamscore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2407110000 definitions=main-2408130165 X-Proofpoint-ORIG-GUID: _15ywcY5f1czB3nnTTsZYZccFm6nKudd X-Proofpoint-GUID: _15ywcY5f1czB3nnTTsZYZccFm6nKudd 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:290097 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. >=20 > 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. Understood. Thanks for your consideration. > > 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. >=20 > 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. Also understood.