From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.help Subject: RE: [External] : Re: `cl-macs' [was: about keysee] Date: Sun, 11 Dec 2022 21:35:34 +0000 Message-ID: References: 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="25376"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "'Help-Gnu-Emacs (help-gnu-emacs@gnu.org)'" To: Stefan Monnier Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Dec 11 22:36:23 2022 Return-path: Envelope-to: geh-help-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 1p4Tzi-0006Pq-5z for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 11 Dec 2022 22:36:22 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p4Tz6-0004kZ-6P; Sun, 11 Dec 2022 16:35:44 -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 1p4Tz2-0004kN-R8 for help-gnu-emacs@gnu.org; Sun, 11 Dec 2022 16:35:41 -0500 Original-Received: from mx0b-00069f02.pphosted.com ([205.220.177.32]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p4Tz0-0003yT-M5 for help-gnu-emacs@gnu.org; Sun, 11 Dec 2022 16:35:40 -0500 Original-Received: from pps.filterd (m0246631.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 2BBKbhMw005189; Sun, 11 Dec 2022 21:35:36 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-2022-7-12; bh=i+jHwWm7JbgCrg3jf/RafM1Q8jhuKNTnBg7QAU/8gPg=; b=179I9ikw60m6A7wzDH0VuCNKXogXTxUEtYV+rek5w9ZaWxKF2Q25M1Zy2lrJlKaPeq6e vPCdINIu3vYjhG+S21ieBkJYAxUsYgNlWSm7eRreby6/4IPRYSpx0q4kHxLMftVBeFI8 yxb2aJNhtAplhdlCOlla+/hoWdciUL5B6VWXCZL5dgk0X+1o4MNyoXsW3DzJ8TbUF9T1 AnDIfSAA9ubez+c6zMqbFq0udo214zUa+iEU8c1VgYIEJ3383eompxk08645jQMNuFH4 URFJKPJWxaZs6T3VFo28wRIScEcTvCDep+YQsx50umoUhebmLkVhTZaWXAEzm8UrfLFf tQ== 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 3mcgw29k92-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 11 Dec 2022 21:35:36 +0000 Original-Received: from pps.filterd (iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 2BBKSw1V019376; Sun, 11 Dec 2022 21:35:35 GMT Original-Received: from nam02-sn1-obe.outbound.protection.outlook.com (mail-sn1nam02lp2047.outbound.protection.outlook.com [104.47.57.47]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3mcgj9qgbg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 11 Dec 2022 21:35:35 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=E5UZ7/eNtTS3Oj5olOE8DOn+E3cPqES+cuGlO5KyjdtElxEzdsufPsDjUeILa5zPMzxlRw8azfE6rfvMYPOL1IS/P1wnQZBGXwb0Zxf8MgljmzNIZ+6o2LNEh6z1aYL0oeTeDmlQmjhmiwgnqOwnaH5sKVIXYsLSqVMsTrG2j7u20xMKE3zCvjse+YK/+WcAojF8eICoX6yome3y7Eqv6jtszwdrHLkV/nj1XNEj+7T3kFqtaspQ1ohfx3Frz3nGWlUTAABL6cNd38N68UU3gsSzdwMUtaK6FSeUnSX0jRRqZG3+zly/GpsQtFS7y1iBVN16AFjdsnTas+R1zCxAgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=i+jHwWm7JbgCrg3jf/RafM1Q8jhuKNTnBg7QAU/8gPg=; b=ZPXCvV3Ua7DSPj0UpOB/LCuPFj9a8zRd7UjeYQCW3wZZkt97etmZKfZqxUx679IwtvfX2EJonguC6M+3Djlxc1f3rMF27Zo0tfuZ9StV4ACmegYnrPMKhPxXHUVPyHlmy2AvdVPAgFC5smuTYQJnTrJbZEHy3c1fuvXTSLGFjgeNRsOmHUIk84TFAhBBInUZpOf2tyjRZrDCNU7wlCQ85PzD1vOdlftDsQnE9pGg5rOq51kbY8xWW5kHpy6S3nrzFpF2RnICH15mTXiTqcpiW3XQRsbUVpoLfYw9q8ulXOLhtGDcfcrmWzGOIQdDLzRom0k4sVvSrz/LjSeHbgqC8A== 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=i+jHwWm7JbgCrg3jf/RafM1Q8jhuKNTnBg7QAU/8gPg=; b=fZkT6hRmmLlrCUcITMN/Kvn9HPcaww1JJRrYPY/lfzWLyDcxJohFesB2PflniQi0A/LIblVgN2Crng7EEOQqFZsBNSQ/bxLSemKdv4DMcvHD7zHCNeaWDHQF1IPZvO0ljtP8yx7U228Dffl53j78TgvxNXlFJX/m5zq7XNCaDng= Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com (2603:10b6:a03:37e::19) by SA1PR10MB6389.namprd10.prod.outlook.com (2603:10b6:806:255::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5880.19; Sun, 11 Dec 2022 21:35:34 +0000 Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::176d:3689:aa5b:91b]) by SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::176d:3689:aa5b:91b%2]) with mapi id 15.20.5880.019; Sun, 11 Dec 2022 21:35:34 +0000 Thread-Topic: [External] : Re: `cl-macs' [was: about keysee] Thread-Index: AQHZDYb1brb4ld22BEK7Tu8YbwTQta5pJE7g In-Reply-To: Accept-Language: en-US Content-Language: en-US x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SJ0PR10MB5488:EE_|SA1PR10MB6389:EE_ x-ms-office365-filtering-correlation-id: e24532fd-f70e-42f6-8b82-08dadbbfa2ab x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: OY5JGg4hxQqQL/yMNZ6OgV78SHqSQEEQv7icMtsaohYMa55SNiRsAmAAaeCYQJghz1+5YMSCR+rawu3+TBtT3AECpzS9LOtjTZD6dccggJZPSdj8Wwic1Gg2Jv+/o5r79ugxv/Sg3Q5iQPKqe8wlByldt0rrXF0BlbI7GOyIDihirXuzRP8Uf2emgBuP3tvy/SQDcGZBAiuHPsyX/TTWkMDyWtCRvoDff3hrVXqtrkzNQmCcum5tTWaJmdMmVxvLEGW/M6RcD24StrywYAXzvBzLv/8rtWDrGHe4Q997VX6OMJzX7Mbi9yLBmugUjOWIi5yDAKNz1+7Q/dSxDmezh2f0GAX6iD2/F0e+JEZo7B9WtUbJzTBYSrjeTiL5nny54syZzsRpbdHe2L4asA02QcQ7//DLPX1tPKHoHxIcPFYt7x5JVf6plPKT+Ec0rtNVe7TxXQW3UHz0iAnfKZqPakjm1laE6XfRiqniXMAWXmU2eehP3kN2pIYwVXtCzsrsqc2FSXrrBdKesJO2neS7YvsQuHL55PU1P1ZVnrCa1axD9sWBredZt8dEUN8vs1u2joH0qqEsJthfLi/Fhi4G0/YD69TgPAa36uXuJBT+xmpCoijpSKMGAaURTptYYpCOFF1pFyMlqPY415aAkt5sRDBbON96rqIqMNgbXYcNbr+TzywVFw+JzcVJkppXMO18wk0KCkqseNf8Vfwl1WbemH/qGvhcqnh3Iw9bvqCciOk= 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:(13230022)(376002)(136003)(39860400002)(346002)(366004)(396003)(451199015)(86362001)(33656002)(296002)(316002)(8676002)(4326008)(76116006)(38100700002)(122000001)(38070700005)(26005)(478600001)(9686003)(186003)(6506007)(7696005)(2906002)(5660300002)(52536014)(44832011)(66946007)(71200400001)(6916009)(55016003)(64756008)(66476007)(66556008)(66446008)(8936002)(41300700001)(81973001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?eHOdKSeTnovQ2GqvWMHAqlB1IwXuLxbPBIcRjHp9DMqlojr3GNSOzHrxnnYX?= =?us-ascii?Q?2EQmr/jh7rTX35vIvnJQ+Eew8ZqCRbjcjsI6pe/78XBM301VQ9tbSFZqVW4d?= =?us-ascii?Q?ZdM9h1fO3HPPhXH/wWvioEHiwgVRyJ+8HrsqGogdS5MyD6j6S/larWiDCYyj?= =?us-ascii?Q?qFb8NkU6de5+9so50HgHGHEVqTT7kxqvkiLRPcDM3/zLxOkIVlWKzSVRSIiS?= =?us-ascii?Q?UzLEJA2vjZkWsphwgwvJemWqs9YIjM4JWb+KRpkZeM11isLEgefccoN9dVQy?= =?us-ascii?Q?EU6CD4P+4qUYQiSsZJ5jviuAYxRZBU8d/2kkyA1YsXSND43UbDzyc9f9+B1C?= =?us-ascii?Q?xIGpe+4uIzffCFbZzKtTIz56ZwuwdMH7fWpZD5U21wgsfsU5J32iQMGT8xYZ?= =?us-ascii?Q?Z18/qQceOjQyeaG8YOP7gJDwSv8ueDlTOsArlcazeeEBTjJnGA6MP4cOJBlO?= =?us-ascii?Q?/fA9ZC17SE3QtfMteCZIyEgRxkNca56vIbbrQfQr0zdvR6ebZYb7bDJhQKvM?= =?us-ascii?Q?Ha2YXUMrcd2BxsHuirnS/Ptv0lwLtDIL55rD/1kzH3O3xEr1NItrmiZgVtvd?= =?us-ascii?Q?hoj2hLYqIZwlmnmvZE6xUUJn+2bW57oxJQt4E1Sf93HVqIkOgIusqfdWV9ya?= =?us-ascii?Q?4a 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: e24532fd-f70e-42f6-8b82-08dadbbfa2ab X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Dec 2022 21:35:34.0421 (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: ojO1S1luwywbQoSl1kUa5WSiuPx1ycOwbVHc/1aFyuhDqtYC5ObWwiCmY/ighVEm5dfvXl8TKKkceofumdCzYQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR10MB6389 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.923,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-12-10_10,2022-12-08_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 spamscore=0 bulkscore=0 suspectscore=0 mlxlogscore=999 phishscore=0 mlxscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2210170000 definitions=main-2212110200 X-Proofpoint-ORIG-GUID: iPB74ThD76xK77MRVjTnXEdgtmQVJcUM X-Proofpoint-GUID: iPB74ThD76xK77MRVjTnXEdgtmQVJcUM Received-SPF: pass client-ip=205.220.177.32; envelope-from=drew.adams@oracle.com; helo=mx0b-00069f02.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:141651 Archived-At: > Requiring `cl-macs` won't help you there, because the=20 > first thing `cl-macs` does is (require 'cl-lib). Ah, darn, so it does; too bad. But thanks. > Instead you want (eval-when-compile (require 'cl-lib)) Normally I do use eval-when-compile, in particular for a macros file. I don't recall why I didn't do it here, for `cl-macs'. Anyway it turns out that's insufficient, because I also use `cl-remove-if', which is in `cl-seq'. Just picking up `cl-lib' at compile time leaves that undefined. (No doubt loading `cl-macs' at runtime took care of `cl-remove-if' because it was loading `cl-lib', though I likely wasn't aware of that.) And `cl-seq' also requires `cl-lib'. So I might as well just require `cl-lib' at runtime. That has the same effect as what I've been doing all along (requiring `cl-macs'). Anyway, I've made that change now. Too bad - looks like there's no easy way to load just the parts of `cl*' that are actually needed - separation into different files provides no such benefit apparently.=20 > > [Plus, things have changed in `cl*' world over the > > years. What's there, and where, for older Emacs > > can differ from what's there, and where, for more > > recent releases. Libraries that are usable with > > multiple releases don't necessarily follow a "do > > this" injunction that makes sense only for some > > later releases.] >=20 > That's exactly why you should require `cl-lib` rather than `cl-macs`: > because things can move between the different files of `cl-lib`. It's not just about changes within the `cl-lib' circus. Some of my libraries are compatible back to earlier releases that predate `cl-lib' (added in Emacs 23). And `cl-macs' does still contain the macros.