From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Arthur Miller Newsgroups: gmane.emacs.devel Subject: Re: Proposal: Forwards-Compatibility Library for Emacs Date: Wed, 22 Sep 2021 09:14:26 +0200 Message-ID: References: <877dfavmzw.fsf@posteo.net> <87czp2c6qd.fsf@gnus.org> <874kady4l1.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3319"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Philip Kaludercic , Stefan Monnier , emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Sep 22 09:16:35 2021 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 1mSwUc-0000iy-Ap for ged-emacs-devel@m.gmane-mx.org; Wed, 22 Sep 2021 09:16:35 +0200 Original-Received: from localhost ([::1]:59114 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mSwUa-0008HQ-56 for ged-emacs-devel@m.gmane-mx.org; Wed, 22 Sep 2021 03:16:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36158) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mSwSo-0007L1-PH for emacs-devel@gnu.org; Wed, 22 Sep 2021 03:14:42 -0400 Original-Received: from mail-db8eur05olkn2015.outbound.protection.outlook.com ([40.92.89.15]:42465 helo=EUR05-DB8-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mSwSc-0000qw-WD for emacs-devel@gnu.org; Wed, 22 Sep 2021 03:14:42 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hSfO0G7IjVD5jgAELSFraQVxq7WUXkBSVkgwfbU9acK3eYx32q+rfrPxx64bkg/FEV9v6lzMlm7xOxbxaY2+929Uq84IzD13isZ4lanmyt08Yts7abqyX7nlWTBj4fy+GmY09uAISLtivbezFTLVxtCEKua0L9RnjVc2Om+EORnRoH13BbdSjJxiULxAyqXtkUUQDbX9SDOkr8x0l8QJxRRc0Y9FVfvKgmGZlLaAk9Fe1c7SnNPuMYUpgXNKp8FA/J/3WZAq+D0gA4aO0SikkNbkl3IvPp3NdlAdyFx7mTWt1i8DXbzk0JXHhaqoqN9FLBJiob3LNk47f1KBinTCCA== 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; bh=BP9Wb6JANLktnknoLo/hBJ4r15KRQs5x9YRFDPRRsr8=; b=aRwhCaYSxHZp6xuvIyGwR0KiTKbrBU8GmqhIBMrqxEPvBsrThftvhc1uFh9Fb8+Cj45PLOQXCyzD/olzNJ8oSOEjJpJn7LE8q4+xRQxFO44boCVGOeMlIkTeHe+jEwmLxT99aoA+hq8K9h5koilvMgXZnlkh1MwAMW49813r3fXCj/4UxZ1c8EUwAZEUa7pbek3cHFh+POlfb71PU4WzC8d8s9ipmvGGQdCIuPkiaqBvnmfB7C3rwB2tR8Foto/gVCxiaGg2sSjwF2jsorzbD/jSg0sY+/qxgpBcWbU4v85QLzb23fM1/bTGE5Jllq6prz5LboS+c8WirTHLFVcsRQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=live.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=BP9Wb6JANLktnknoLo/hBJ4r15KRQs5x9YRFDPRRsr8=; b=r5FJCCBShUhcB55PhpdHslz/VDkwgICgkoHkp1Yan/CDaUPFSBujYxxyBb7J/dGfgHmzXpLaC3IQ0D04nryt7PUu9b5fGdIWBYhzVmiiH+yqv47kzZrOohUhq0W9curnUDnOSFAhNmtRacOHUxWn+ZEsOTkx8qCvlmE0FYnbtxSSz3/DF2ux5tY6MLBsedEFyas03Jt8EhWquQti2O6qkL0qPAi13Ggqlzko60badavRBJWmCWE29SzTJYLDwOXIvHQdjtOCttUNeZZ12Y+c5lKzjsXZnNRdCPkjbf8GvflwxrQb/XPYmgY0KWCVbm2R+RqtmqJs7AqgT/0YHm2SWw== Original-Received: from AM9PR09MB4977.eurprd09.prod.outlook.com (2603:10a6:20b:304::20) by AM0PR09MB3780.eurprd09.prod.outlook.com (2603:10a6:208:17d::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4544.13; Wed, 22 Sep 2021 07:14:27 +0000 Original-Received: from AM9PR09MB4977.eurprd09.prod.outlook.com ([fe80::c55c:ece5:bed2:a9dc]) by AM9PR09MB4977.eurprd09.prod.outlook.com ([fe80::c55c:ece5:bed2:a9dc%9]) with mapi id 15.20.4544.013; Wed, 22 Sep 2021 07:14:27 +0000 In-Reply-To: <874kady4l1.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 21 Sep 2021 23:57:30 +0200") X-TMN: [sfi/Z87MfZfLlao2zi9nsbRkmD4+MtlI] X-ClientProxiedBy: HE1PR02CA0113.eurprd02.prod.outlook.com (2603:10a6:7:29::42) To AM9PR09MB4977.eurprd09.prod.outlook.com (2603:10a6:20b:304::20) X-Microsoft-Original-Message-ID: <874kad6q0d.fsf@live.com> X-MS-Exchange-MessageSentRepresentingType: 1 Original-Received: from pascal.homepc (81.232.177.30) by HE1PR02CA0113.eurprd02.prod.outlook.com (2603:10a6:7:29::42) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4544.13 via Frontend Transport; Wed, 22 Sep 2021 07:14:27 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: f872b5d1-920b-44de-651b-08d97d989d1d X-MS-TrafficTypeDiagnostic: AM0PR09MB3780: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: SJpg9vwVZ1u5udkOmpqHjQtZkkYL/twuu0hYwkfvrs9fPe9e2DUKADc/5ExrMyXaDxIv+1spuq7PQAu/902TsjPpzcnyC9chTZW0EM81ac/EPK7cVd0pBM8u4sHJIvZwdKJdIRkEv3+g39OzG+CPKeG9Otrs0UbSpAJPHu6568alZ+D4khZX3WMuQWSsCZ3eVVdBGT7cDbmrXhwBhaTzY0F2p7gpOPfBuBkqhDrvatCDUMhS8KMkx59qktFgo5Z1WTCRj9svrvFuqv/RwzK36iLu3bwdyUVmShGXbViPtWJr2dC81Wamr09Caz6LbGoLRXmzSsG7bZUnKPu8wrKbPm5BpYa8OtYoe44zFcF/2mj/ki24ueDVL04o3eQVIx+DO3Bn2NsRJRlAdY5CDbV6toomgY1RCVqJ3t4fJL5UyHhmzfivu/GCbh0TZqzV7+le X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: rTRlXeGbBXn5NeDfyl3wMVLIfC/8+273yUVYEqD1F/dX7+NdPfgbGtWFV8Pq6wym2drlCtJtG89CNgQO7bZhDORSf7GDCm7KMgJMj1YowIY9emVghy1iJEPes0E/HbN97y4sLVV8Vnis2rK5F7us0Q== X-OriginatorOrg: sct-15-20-3174-20-msonline-outlook-72e6e.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: f872b5d1-920b-44de-651b-08d97d989d1d X-MS-Exchange-CrossTenant-AuthSource: AM9PR09MB4977.eurprd09.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Sep 2021 07:14:27.8317 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR09MB3780 Received-SPF: pass client-ip=40.92.89.15; envelope-from=arthur.miller@live.com; helo=EUR05-DB8-obe.outbound.protection.outlook.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, MSGID_FROM_MTA_HEADER=0.001, SPF_HELO_PASS=-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.23 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" Xref: news.gmane.io gmane.emacs.devel:275297 Archived-At: Lars Ingebrigtsen writes: > Stefan Monnier writes: > >>> The point here is to not to have any separate namespace, so that you can >>> just can put core packages into ELPA without doing any rewrites. >>> What's the concrete risk here? >> >> I think in practice it's usually not a problem, but I'd be surprised if >> there aren't counter examples. > > We can just start slowly and see whether any problems occur. > >> So for a library that wants to do it in >> a somewhat predictable/systematic way, I think it's much simple to have >> all the definitions in a specific namespace (like `compat28-`), and then >> it's a small matter of have a trivial `compat28.el` library that comes >> with Emacs-28 which has a bunch of `defalias`. > > The main point here is to be able to put things that are in core into > ELPA, too. We don't want to have code in core that goes > > (compat28-when-let (...) > ) Yes please, don't do that! :)