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.devel Subject: RE: [External] : Re: Shrinking the C core Date: Sun, 17 Sep 2023 17:38:03 +0000 Message-ID: References: <87il8betof.fsf@dataswamp.org> <87jzspcgc9.fsf@dataswamp.org> 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="39579"; mail-complaints-to="usenet@ciao.gmane.io" To: Emanuel Berg , "emacs-devel@gnu.org" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Sep 17 19:39:09 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 1qhvjg-000A1i-TL for ged-emacs-devel@m.gmane-mx.org; Sun, 17 Sep 2023 19:39:09 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qhvip-00019S-6V; Sun, 17 Sep 2023 13:38:15 -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 1qhvim-000199-QC for emacs-devel@gnu.org; Sun, 17 Sep 2023 13:38:12 -0400 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 1qhvik-0001rG-UU for emacs-devel@gnu.org; Sun, 17 Sep 2023 13:38:12 -0400 Original-Received: from pps.filterd (m0333520.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 38HHOfnb023028; Sun, 17 Sep 2023 17:38:06 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=corp-2023-03-30; bh=ZJ4oPf1bcFwXrfwqEcAC/eCr+PxXp1+7Iaq6JGl7ITI=; b=35t6Yn7cA9J/OyNWiHEaqi0J7MvUzv4xwLjrKIVDr6F5/81hhfZUaBpsNPRz25U1VqPn IcvtiEximGCr83YborbIQViji12lNsMDKPw959Fb589vC/zS1XE0xybnibWVVulCEO+n HqJrHVBpYCenRJ2Inr/egHhXA2T5tbM7mb8UTI1NI7Fth1c4vvoHP0klbyj4o9MjkdhM h/C0ah3h3+WTnnh2F/CtYjH0mE12Kzezs4idKXabRcZ42pq5MXDslLET5auEc/cl6em6 ZZFhB5OcTpt3zDaZUhIY8K95gBktceeqFCM87CoVARIoix+ocRDhOkrrIr3iDkvpQOib BQ== 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 3t54dd1dfx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 17 Sep 2023 17:38:06 +0000 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 38HGCh9L027105; Sun, 17 Sep 2023 17:38:05 GMT Original-Received: from nam10-mw2-obe.outbound.protection.outlook.com (mail-mw2nam10lp2103.outbound.protection.outlook.com [104.47.55.103]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3t52t3tpux-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 17 Sep 2023 17:38:05 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RpKJSkjJ2NRCDJYyTsFBbQBwUE3w/oY52CP2e8his0qxWglMy6gSYqoUaTFLHhelD21PI3Sa66Be2RLTmOE2+1AnCxpr7sesWjmzkQcod5yEXy3A7Y04rJR1T0/SSaU9bAQ3NFxMH1zzJzmrNUnQ7gvyEGkfoQmho6waK0AH5IQf+i/WC/ICcyy9conFyBmPzQ5W3O+dCMwpL4jN/olq8lKiV1LutA9UOWB8UAoYnD1Ddy2hTEzC4EXpWebGcCT84nqPjw4Qi5zRAr1CodgAyPMIbjhJlmu3zDZjWFN4/VXBz3jfEGC9JMl+yXphPNs48KzGxBUPYnpVUdFLp6g7yw== 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=ZJ4oPf1bcFwXrfwqEcAC/eCr+PxXp1+7Iaq6JGl7ITI=; b=oEikOJEf62ieXkPK2Mc1hSH3fKgW1vWRrWMYzf7MxKP3JJImLGz5DRcfV3iqrfMH8f2fBehP2c/xWeSJdVLbswhVzuU4jc/1H4YYMBa+nvd8ySChFb3zGzNBiipootpy6fSLu+EZbqWhKfG7W8EkptwbOcm8sI9x3osGDO2tv5DAFnm8SmQeFnPCyll2CLejnyeZUBblHO/6D3k6j32STEBBzJeTRvY8wM89Cb/dqdGGa+X9+aDXxQbsF98GD/eVWNc/tsruInhqHM8CfX1Ok1e17pSkRFIRrwmVV7OD1qFRemcRohJLhdxzujot5OSxHnMELoQ97cyqRqU+vzg2dw== 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=ZJ4oPf1bcFwXrfwqEcAC/eCr+PxXp1+7Iaq6JGl7ITI=; b=dZG1TRG0FfcVjnlRXyZGY2t6ftzyGYzn6GN+czROB6QErIlHYNwYZ16oHZlTc+EI2AhAW6x4dv9V01m9O1eVTDadkoFL9UKuUTLva58S45rIsSThyGWm/h8J6ofcwiAompSk5J2BDUO68Yc2rgchMH9mBHeuLtorZxDiXSVK5oo= Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com (2603:10b6:a03:37e::19) by SN4PR10MB5797.namprd10.prod.outlook.com (2603:10b6:806:204::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6792.24; Sun, 17 Sep 2023 17:38:03 +0000 Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::7c3b:c5a0:5222:69a4]) by SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::7c3b:c5a0:5222:69a4%7]) with mapi id 15.20.6792.024; Sun, 17 Sep 2023 17:38:03 +0000 Thread-Topic: [External] : Re: Shrinking the C core Thread-Index: AQHZ6UeUOUhJGB3vxEaFBqlOrczcSrAfRs9w In-Reply-To: <87jzspcgc9.fsf@dataswamp.org> Accept-Language: en-US Content-Language: en-US x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SJ0PR10MB5488:EE_|SN4PR10MB5797:EE_ x-ms-office365-filtering-correlation-id: e3fae456-d685-43c5-533b-08dbb7a4d830 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: M314HDBXliv2rW8SUgimdP6Evkz2UkC54BBSOZ9vLa3D1PhQBle4c5E373hqb2heJujQBDJ9wI/xERk4uW/xp9I24kG7XHa5n8V86aKw1RbOlgA+gVTIJB8UUxXoiDPZGiSuiyFMAIoOY2YGBYtT/zjPo5DbW/zosrxWOgXkpB2FyO1AfebN/sfZbuc6iURWUuFWSnMSVVOr8mrg5Y/Sk/lkpKmhOSsF/kbT5PIOSofWi1w068kFWBSdnX6K6Mz+O3ln+a1RznlWj1FWQBHbh+tdTe9wWScv7XsiK5s1vdCOzlMZ85Q+TX7X4UvOmlclQfA8NVKuAALitYFJpNghorUG36ZO8gnnsR/SrsrLL0kxEX1xhmJS2Jy+bbTRBmga6vWb/a+6iZc7/SLD363NBdfPMET9IVPZyIpzB90lqAQKyXyxJrzF16I2dfUYUKIpzavnc00W7xv5X8sWhxT6+R41KFdGnQuHwmd1Yb8WQ1HNeb/ozJMjx5NmMfxaMDfWgx43C1u5MM1ts7nvCMedq01eW7Or4AHTndt2dKsAHzw25CYvUv0c0NKmrvQJyGpchvyEk1bESFRMTCSc7TJp9mdAbHOSsdhOZlGHk0HxwYo9CXckZ6UC+/ObYBeb9zWS 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:(13230031)(396003)(376002)(366004)(346002)(39860400002)(136003)(186009)(1800799009)(451199024)(7696005)(6506007)(9686003)(71200400001)(478600001)(26005)(2906002)(44832011)(64756008)(66446008)(66476007)(66556008)(66946007)(76116006)(316002)(110136005)(52536014)(8676002)(5660300002)(8936002)(41300700001)(86362001)(33656002)(122000001)(38100700002)(38070700005)(55016003); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?Pdi1yIDKFvMrFVRACde3EPCOsWhgTNqI+SFaO54c9AkVBLpoZiw0Lnpoe3DZ?= =?us-ascii?Q?d28JufiWGxN0FFN8Qqos+kEmbrXP3LGcvDzn/t1+BzGs+of1zufIYaa++jW9?= =?us-ascii?Q?Z6Iek5njq32F1+KR73V9dXCVumTe97LIiGQi/l+T8SQlYR+cC34jNh61hhhe?= =?us-ascii?Q?PX+/fuYaD22pOjI0n0MW1qWYw5rplB8ztTgjAN5/6kvXxbD3LXMPiDj8HDyT?= =?us-ascii?Q?DNuH1EKtwddCYj1HQg35NZqez6PAMuSWpkmdjTqgznnAoZz3bYloyDYugtyg?= =?us-ascii?Q?e6cOgCZ4XgqOk+nb2PEdjC2L8+Du8Kx5p9JthDRzjWnoiQ9+GZaEZT8eH0U6?= =?us-ascii?Q?N0xrB7MVcl3ha7mxLQymyqjQAskQHqRJvfdpmnaaV9/Kz3RvpPqHRB3C6bP6?= =?us-ascii?Q?mluFM/OYTNr108hEVzqAh+tuU73rEgszenaYKLoThAlyvjjQSHrC7hxHFI+F?= =?us-ascii?Q?VIFvnGgvUUUgvtDfuwl1vIZeR0WsRRUsBCDICpLWhT6LsQf6vXJmEDnaKFDm?= =?us-ascii?Q?NsYmzmTCUoizBRDMfARkd1Ci/Tn8S2Qzv5XgtoFWm7/Mad6v4dMd41LQ26m4?= =?us-ascii?Q?exfAN0QEiAjogAJe/pEMkjAAVSwTrod6yRYHaeYZy0L6TJoscZxPvSxpwp/B?= =?us-ascii?Q?Cb X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: Qcn+7V5AnCLdsxDsIW9oWqiFA35z0/6SG55l/A0Dx5fLJ3NJI8BYtQsXWxBv+Z3qpgJGgdtb1wZvp+ia1fuplIPkHhLs6RK027OuyzUH8aNwy0OhcEjEpSNrvwLl3NF/84RFiiavasaRMflS39XjPBLdniwngikg2xj37MWpbrYyryGGW6KBf7ddrl9ap5bIaodrVo/UK1iwK8bLZG0MOB1n7nAtioXUSvEww989iF6QfVLXCR5JO0y3YeSl7TAJ3G/K7J4fR0iIMO+ipQyyiWj0Jehn5ovlMoLWa4xh49+ThfWlHdXtRXwMThpB7YdM4tQ0wztQUIgOWdAe2yS6U5iCBVpf2NJjxVqRWjWlcWo/tz7bOEfsp4xLjPWAxG2kNWMiw+RWTPmNg7anmmEu5FzUza+17atYmpXxhIheTnn+R2rROwGtmQh8ICcV/2wjQkEo/a5YmsiCPFp1LxFFGvDU2XYPgR282OJSYh83YFz/iarcsJHrWqTXCu4NIAR+PVE/DQuiTi6L+UEC5HLjMDqANN0iZsazPy+UeO8/vD4RDzDx0DzRLw5ki9Mrt/11wnHUXUfLPznOkbfDBUEH48KiwfCSnYPOBBnQD2fLIuqEOPAw2eibYOSlzMEVaqGTQtBWt2IYF2qvLKucu6Tcd7AA3nxhhddKK4Sk/dlvfzCigZ3nRVJhkErkhbNBM23K3BV5mKFKNlW97G680nUtL28zrcU/YDb69lkpGtgVDaVaKX eJgAgIchDQKxPPsKNV5uJ08AYdI2XZrPNAgFxjiQ== 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: e3fae456-d685-43c5-533b-08dbb7a4d830 X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Sep 2023 17:38:03.2265 (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: z8wuKHEj5CQ9141DQ1zt6KF00YIBFSI8zJZxn32pxkURW+e3n0DaXEkvVISGCNhS0oyiSty654QL4GWfr0Mr6Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN4PR10MB5797 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.601,FMLib:17.11.176.26 definitions=2023-09-15_20,2023-09-15_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 spamscore=0 malwarescore=0 adultscore=0 phishscore=0 bulkscore=0 mlxscore=0 mlxlogscore=828 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2308100000 definitions=main-2309170162 X-Proofpoint-GUID: Wu8O2rV2gXr4smVTuGVJ34vDKRN3rxlX X-Proofpoint-ORIG-GUID: Wu8O2rV2gXr4smVTuGVJ34vDKRN3rxlX 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_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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:310675 Archived-At: > For functions like `cl-incf', where there is no corresponding > "incf" [I don't know whatever happened to it or why it was > dropped, or maybe it wasn't ever there before cl-lib?] one > could setup aliases or simply drop the "cl-" prefix (and set > an "cl-incf" alias to the new "incf" as not to break existing > code). The CL emulation was originally in file `cl.el' and its helper files, such as `cl-macs.el'. At that time functions/macros such as `cl-incf' and `cl-case' had no `cl-' prefix. E.g., Emacs 20: ___ incf is a Lisp macro in `cl'. (incf PLACE &optional X) (incf PLACE [X]): increment PLACE by X (1 by default). PLACE may be a symbol, or any generalized variable allowed by `setf'. The return value is the incremented value of PLACE. ___ case is a Lisp macro in `cl-macs'. (case EXPR &rest CLAUSES) (case EXPR CLAUSES...): evals EXPR, chooses from CLAUSES on that value. Each clause looks like (KEYLIST BODY...). EXPR is evaluated and compared against each key in each KEYLIST; the corresponding BODY is evaluated. If no clause succeeds, case returns nil. A single atom may be used in place of a KEYLIST of one atom. A KEYLIST of `t' or `otherwise' is allowed only in the final clause, and matches if no other keys match. Key values are compared by `eql'. ___ There's no `incf' or `case' in Elisp that would conflict with the CL-emulation definitions, but when Someone decided to prefix CL thingies with `cl-' the decision was to do it wholesale, not just where there was a collision/conflict with existing Elisp thingies.