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: Mon, 29 Jul 2024 19:54:17 +0000 Message-ID: References: <87y15l1aj8.fsf@gmail.com> <87sevs0zel.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="38797"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "72344@debbugs.gnu.org" <72344@debbugs.gnu.org> To: Thuna Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jul 29 21:55:12 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 1sYWSc-0009t2-GX for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 29 Jul 2024 21:55:11 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sYWSK-0007ke-7n; Mon, 29 Jul 2024 15:54:52 -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 1sYWSH-0007kN-Sr for bug-gnu-emacs@gnu.org; Mon, 29 Jul 2024 15:54:50 -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 1sYWSH-0005By-KL for bug-gnu-emacs@gnu.org; Mon, 29 Jul 2024 15:54:49 -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=yR+NHzHl4ezuRla/OD4rJwQGgxW5sf2ckOZSBdjeKbI=; b=E51jEKIIpd8whzDJYQCam7D+Lt5P68TL+BxmuYBpzgfYfobgEYdNwgTfZEp/OT7wRBKdcMe0DtD4ZSXK87OUYryrn43emvTnjR2LiKUeLFtogQd7Bu3DeRhifAQMHnWnL10swlUJS6fj7AsveAn3fx6/ECXruW2vYDpPK5X45OzBpoHKHn6vUCZLUgQC+7MBw2gl6iqOEc9HICPUSUm7/A7HT6rhD4pWMqQ45LjgdLu4TlFniKoFDyY8FAMEVe3M9C1iFv3YVTj/5oCBi9ZiJXxlhiQ8IXCyeGCOnUxXuN8/pFPCyhxZibzgiV/bX3I7U5iC7V/QBzo+o8f9Utl8Uw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sYWSU-0005Ks-Gy for bug-gnu-emacs@gnu.org; Mon, 29 Jul 2024 15:55:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 29 Jul 2024 19:55: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.172228287920478 (code B ref 72344); Mon, 29 Jul 2024 19:55:02 +0000 Original-Received: (at 72344) by debbugs.gnu.org; 29 Jul 2024 19:54:39 +0000 Original-Received: from localhost ([127.0.0.1]:46393 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sYWS7-0005KE-E0 for submit@debbugs.gnu.org; Mon, 29 Jul 2024 15:54:39 -0400 Original-Received: from mx0a-00069f02.pphosted.com ([205.220.165.32]:20890) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sYWS4-0005K4-Gw for 72344@debbugs.gnu.org; Mon, 29 Jul 2024 15:54:38 -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 46TJHEpi027905; Mon, 29 Jul 2024 19:54:22 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=yR+NHzHl4ezuRla/OD4rJwQGgxW5sf2ckOZSBdjeKbI=; b= L/HdiBAyH7JVoLYO+IqH5Mzt5H2rK7M6OVw6UW1yu3m76K87+3+ejTF9DdLsOF11 WP8fXaOLEk7XJ3ZOETkIeuNBmRYGJZPN1tMOQzUH39AFIrRD17INLxY6yfmMimXa wBmGB+lep5wYMlsvEeBFwe+nK7CYYvDHfN1y6v83AaTxsRHH/daHTcxgbPNvlame ufwrqLfcj1pFB9IqgciOPeJNRQ/4pTReD1HkX+zYEnRXraNGWJe7SOuwQN6l4glk XdJJ9QvgXpTUMwNxC5SzgNMd80l2fmT86Ny/4yth4bnrq8NPyWuD8+gXFLeHykpp x6pKilOfAwjzkMqsdlMq7w== Original-Received: from phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta03.appoci.oracle.com [138.1.37.129]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 40mrs8kfu7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 29 Jul 2024 19:54:21 +0000 (GMT) Original-Received: from pps.filterd (phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 46TJFHX8035585; Mon, 29 Jul 2024 19:54:20 GMT Original-Received: from nam10-dm6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2101.outbound.protection.outlook.com [104.47.58.101]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 40nvnv8e7g-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 29 Jul 2024 19:54:20 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=QIKoh0xBpxIqSUDg2pvPAB1XQDjrLnj8YXKQcI50eTUOcy9qaZNtHe2zlEOaKcCiN7KyhNEZOMw1fbq9HF7crNKzmzb/c45pLnsQYuTPSiitKCfqsPZ05LeKxI9YnA3npsgCgSCY5kyQze9T4ViRw1y7qII/VoYWKSfpMT40xWEi7TjOFISokOWLdKgXPDam/yRBi8tQezuZFYC5CYiTvi5cPTLT9OuMlnvqTRTV2neCuAS83nm8izWXnXRRDwNu8nr50MMNMt+JzI40PaNk2YqGMnrtdPALQOfBhfaXWlxSTvJC0ZWAkZUQI6djEGPmb1lFBCjtxdWVDu9z5XsoHg== 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=yR+NHzHl4ezuRla/OD4rJwQGgxW5sf2ckOZSBdjeKbI=; b=gPYY0/IqCmSLenD7Z1W2veiQ9f5usfpkGtoph3qMIOlcaOKsNdRJ9qti6c5Z40bpfkZWldNXgtpQpJwkzENhIqv2O5s74bePu9jctoBom4wV4oIBRKO4cCN5Po47g0BkxI2nyqvfoV/IqLpjNxEENLcH9CkIJyUXg8MoBF99GZ3SH0Z5YmxK0mvkDdEKiZ5vfk0WG/NjOnGD7HLSyVw/6dGup/U5gMEAsb+HBjGwAM9hNns6tfog6XF+l4G0Tjie0gHzsM5GHCRzTnWbjUWXdbc+dpQ8OeGsaIKQMxJ7jpnAuzV5K9TOFKK03JI7h4cAKMX5JlRfyVJKfSnlAzCy8A== 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=yR+NHzHl4ezuRla/OD4rJwQGgxW5sf2ckOZSBdjeKbI=; b=hKH/BfEjeDyn2cjNi6azoDicIjoXAkg/mFa2ksCaiFjd/OzrVt5eAkaDHFAJCMbwPMizjF+DxQG47vP/IbChukfz97R/m8VTtTA4hX4/tvDb0+45RCNVF5agzB/cI7js6/x+yTnUtTuxjNsqbPKEcXUUxDb4MONSOp0NSlhn87U= Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com (2603:10b6:a03:37e::19) by CY8PR10MB6803.namprd10.prod.outlook.com (2603:10b6:930:9a::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7807.26; Mon, 29 Jul 2024 19:54:18 +0000 Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::b75a:ef76:884a:dd27]) by SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::b75a:ef76:884a:dd27%7]) with mapi id 15.20.7807.026; Mon, 29 Jul 2024 19:54:17 +0000 Thread-Topic: [External] : bug#72344: [PATCH] Add a version of cl-once-only which handles lists of forms Thread-Index: AQHa4e3AlxkPazB2UkqYPBrLTWpNAbIOGJjg In-Reply-To: <87sevs0zel.fsf@gmail.com> Accept-Language: en-US Content-Language: en-US x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SJ0PR10MB5488:EE_|CY8PR10MB6803:EE_ x-ms-office365-filtering-correlation-id: 6b834b38-1fe8-4b47-afcd-08dcb0083b0b x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230040|366016|1800799024|376014|38070700018; x-microsoft-antispam-message-info: kiuI8qUZ/W6X4hHmlWSg6UiY2/CG+bAPR80hZUsPp5RhDlMdSIbXvI2zg7ghbHvlcvKy6WOIR2EzZv0MYDeu1GuSlkyIewGCLEMOLZLC1mp0oTYZbTgWWc4OTpR41eewwItR7nj0Bq2UpDWOmQbQ3uEhqobPeIcK99kvki9NNsh8eLQUQpHayBoI5CxlZSLE9MjVW9sDnntvi3s2mZpdzVkPLStFT6Te5me6h0qtrbZiR76qRZWcWDCSi6ZHAlR/WxuONV8/inWlSXS51GvqtdfK9dhHPuoVTUyxdb/Fev6CDb5SmQA1/b17Y7Nu3r5NjZ6xeG++RnSpREcUw3hOGPSmi2qIM6JCreDypWfUinSiXiXC0pvA61D064HQpGSw1GeSKprDuUkIoeupDiJg1S8wYGmGfXBFqzAabwkL1Ju/GbXCAGHLMmjsCZ4HesLvclZh5iNSs0tJTUW5Q80MKqI+bv8SfDavwv044rrVBA8hpNxOJ0DU7DwYRBHtXsW1sUgq6W3ANkGQiJq145uVVSVyaOuSJlJrtJn/fjhSeLI8LIFCu7PfbuwacljZDWAATi1oa3iu4zqr6iGHSzrWgccEdVS7Trd5dc/TB7efCX4uGijtyJRR8TM69V+xw6LGgBbxVMLIr+5pBHNddL8wI8JOdi871iGj5vQ3E/mEHxeRIqj8MIPJjWVpHompZt80eqNtT07DO71P7UxbhHOsq4LRqeWiix039Va/SC/CzlQWVhzKZ9wUjEfbyOfR+ /pAeO8HfE02GpJccZFtQcNZEe+Y9aJPRpd4ZIVN3oE1SmwrW9qIUh/U8BYyS2v/ASJJmT/990cEQY6qr4Rx/NaoijFwVdRIPDk x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR10MB5488.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(366016)(1800799024)(376014)(38070700018); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: uCejt4rEZbCxFiW1g0q1TnW2h5e8+tg7n9dUgE2nh2fBXgzf2pnyj3GvmoAtrrvn8erv8TWuiTUMgQHC1EzmXWTV41K4eZREjPJ2IPxl43D7ziksI/CsBHVH12+00rHIZPwVE3+3FcU891F4VrADKYcHyO4VORrAH42ymBbusnCgaagB87tYhFTu/CmUYh07GCcmZ9EyiWssM//dZ+Wwpqp7iITgYzRxnKs7Vht9IozuRHcHPc2iSaKxfS9eAX9StZ4Zm2R/VpZkiHkf57tooJy9DaMVZp+wOoD3rfWT9WDt43o3EkpIApiqZ5g11hmT+tbg+JI1aH6xBa4/FbBU+09tOis2STupMygNnqQYgB1U1JcxQxvUYYYXNnDeZ/7xUwoAwPwI21D97YxFRyFglagU7vfCR68cKqzTsVDYr4onYIaISW5yj+L0vZrRtqdymiM3BtxsnE/cKiyn2sC/JTpTIlcSrBYj8hBOR6FYJukHWjDKgdLct4zk3XkHiDJbXZ6yh/95ML+xZzE7SSywC+k6NLO7Z0g7tIPlXYqAz8lQtMi6miaIw9+d3NjEmg83CBwPEYglIsYbmzzIoO3r6ho0+2AcvINr0KIySiCvHTRxBsa+o93oJj/SjtV3yqDY3Xm314Sh2+rHwof1+lkhJgWrYkIdODSMOvEUcliM8GiDNe4YrFthI7Sycgd06/0YuwfoTuEz0JBZy2cThQDFeaB2Bh4gFmKb1vUp+qY89rebTiQnIq+aH7cSeG gT75uS8wJGQjzXGRW2yxN73Od6BBxJw8xtc0rcRPtIb+oGppiU1kQYcHti4gokIBZERhU5joHec7Hwf/5QMTHWEDeIbZ9Lc5FU X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: XT0NStxTzv0zE6TDWegoJpq99zL5cXN6mATILlvHnXEXG9GNFAinHMr1Cf5EiyB03LBdela9qq/8U1Q78B4iFAvkqjIP9Lz6xvCfyv1Gj0zS80uzw2AJ5m9UPLpl9qXTzHB4v0OBoEi6Q86Rd8fkwWf+0aHqqSt/QjWozqFgOul7Jl5wV5WVdQwoWwb/NAv1CG5VAQ+vJaLcugoblLsA90HXWM/qvafZ+VQCUkSRLAr/eYKaCb12HtNBnftm22S3hN2pkbPgvmxNgLaJlIbs3ZucQoL6pzUUoR05uCu9xZwZb/GxcSnlBEi2vva7YFlMGPlFLqlPTCc/z8lWUwX4S9axwxM3uN1V1cLv7rF/k1380AUAOrvpNQqUAEE1rV2NG13V5iS9bhE3ZsUn0MX7mq02R5KB7gtk9aOL6G7ndvf4PAoEsG4x3CqiwTEMv8hjxAxfruZy7sPHObeGfjAjFgsq9b80kBt0twDJRdBTlFEVFgGl5E/daMOHtMu9FeZWe7dV9FYiupOmT1TwCZuZeIaFpOvi5Ue61/+vroVkB+XtaELfScmv/BJjT+mkS8ud5sOHhRzSp3y3q2+iZTLDUWAuRAVr9M7BJqG2tVzkonY= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SJ0PR10MB5488.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6b834b38-1fe8-4b47-afcd-08dcb0083b0b X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Jul 2024 19:54:17.6580 (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: 9g/P0WQHxCLk6zbFa+etTrx5D0Uwx969eI2ST3t9qs9MCfo/SRRs6+U4WDAI6a3dZ2D2kmOMKEx9gRQC7SoJAA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY8PR10MB6803 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-07-29_18,2024-07-26_01,2024-05-17_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 adultscore=0 mlxlogscore=999 mlxscore=0 suspectscore=0 malwarescore=0 bulkscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2407110000 definitions=main-2407290134 X-Proofpoint-GUID: 9sN-9dTTAsm0f2qC6-jFz_eGQu26MFMT X-Proofpoint-ORIG-GUID: 9sN-9dTTAsm0f2qC6-jFz_eGQu26MFMT 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:289535 Archived-At: > > What does this have to do with Common Lisp or its > > emulation? >=20 > It is not about emulating Common Lisp, but it makes sense to keep this > next to `cl-once-only' as it is a variation of it. >=20 > > We shouldn't have _any_ functions, vars, macros, ... > > whose names use the prefix `cl-' (and not `cl--'). > > It's really unfortunate that we still do have some. >=20 > I assume you mean that the `cl-' prefix should only be for names which > exist in Common Lisp, and while I am sympathetic towards that opinion > `cl-once-only' and `cl-with-gensyms' are macros which are firmly(?) > embedded in cl-lib. Yes, my plaint is also for `cl-once-only' and the like. Firmly? Those were both just added by Someone(TM) in Emacs 29 - after _decades_ of Elisp CL emulation. The original direction/intent of that emulation is running down the drain - first a drip drip, then a trickle, soon a steady stream... Might as well use prefix `xl-' or `xxl-'. > The only other place where they would make sense, > as far as I am aware, is subr or subr-x, but I am not particularly > interested in making and defending the argument that they should be > moved there. As I said, it would be fine to use `cl--' as the prefix, indicating that it's in some sense "internal". In this case, at least in the sense that it doesn't emulate any CL construct. As I said, just one opinion. Those who don't care whether users can tell what's intended to emulate CL, and what's not, won't agree. What's not CL emulation is (1) just "plumbing" for some actual emulation or (2) unrelated stuff that Someone(TM) thought was clever to add. Too bad.