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: Shrinking the C core Date: Fri, 01 Sep 2023 16:58:53 +0200 Message-ID: References: <87ledwx7sh.fsf@yahoo.com> <877cpfybhf.fsf@yahoo.com> <873503y66i.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12929"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: luangruo@yahoo.com, emacs-devel@gnu.org To: Richard Stallman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Sep 01 17:23:27 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 1qc5zZ-00034e-Tq for ged-emacs-devel@m.gmane-mx.org; Fri, 01 Sep 2023 17:23:26 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qc5z8-0003QE-N8; Fri, 01 Sep 2023 11:23:01 -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 1qc5bz-0001yF-Mp for emacs-devel@gnu.org; Fri, 01 Sep 2023 10:59:03 -0400 Original-Received: from mail-ve1eur01olkn2108.outbound.protection.outlook.com ([40.92.66.108] helo=EUR01-VE1-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 1qc5bv-0002aN-PL; Fri, 01 Sep 2023 10:59:02 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=b9E5K6j5X0CNrc6Dh2vt0LKvB8oTMHsfHRnJUjq9uBdno7JgKZuw98KNWhjt5qxGtM6HjVmQVNlJ50dwnTCWf/PiRgV5ehxCXqlZSUsCFW3V87v8wF0rksIX8DRAUvBb1PSDW+gMW+Om9MxpmIxEla/md2LUcNmUFBE8wlaaHlkTJM2VnWcxBLcjTPilONaMEfqdBmVfJfG2zgsdHl9NQbwWY2Sq86992sPHWiEfwvwtfnJrCu33fAbWGmKD+K57ssJ30Kl4yUOuHNYFYEM9OlYHG7stnthw+Oj9h4HFPihETPiKmGyMDFLr3N45R+KdcHzViGzgyGQPdGwCDKnkOg== 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=Q3E472xJTm5H0nyCqTTXEULAqMRlQm4ZcpBO30wROHM=; b=iGp0MAiZQDONrFzXVw+xWFOOxw4PYmmXnqIRaVqloz6OfoCUmZvnUHjFJJL07PokXc5mG4T5vJaMHch8IFTxwYF0uRYcA5qGmeX1Scmv1gZHReXX5Lk33TMe2qPjpy6b25EsvWTIVL6afTVQixl1oUENQZz7lFnt3+rXBnIaTYDTIqsOBfLFOqZ7S8BcruvBpX5goa95PNw/Wc+t2DrFMjG7I+i/1N5wSmv7sV2LQT79lLCo4M0KkrGroyjpQ2TPSduBfnxwpP9aZs5EP5P6aFYgT84DYcyaaofZhdFd+V6MFP6pNABUTHqwt5VdjaHb6wckWKpegKA81mkPV1EWKg== 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=Q3E472xJTm5H0nyCqTTXEULAqMRlQm4ZcpBO30wROHM=; b=cst2KsJmphWsOaMYw0rBfu4Aecq6h52jYlK0sjqi1bcZfy1bUjbOYVuL+1f0a/9kjOmfH4lf3A9eTAKLIs2J3AwPX4puFqh/is7zSPzj3EnSNDEW/fETR5ofuV9qvGdcyPTbT0vxWgf2fRMQYExQrg23TutjCU6HlZgJMhbWzbF2+TArEPpvZcThKGLDdTkUHB5g4f8KRByiLnMuNHC7IRw8SYBHpIG9Ad589m9IxivGjB6GzdV104TVIsqVFV9rXTvT9KftuGpZcjo7tByl9J409UIbLwe+wyGQIpeK8zveE+E9W9csZOLIvWRrywLtFrLc1nf5vSi5Z/6SE5n7VQ== Original-Received: from AM9PR09MB4977.eurprd09.prod.outlook.com (2603:10a6:20b:304::20) by VI1PR09MB4030.eurprd09.prod.outlook.com (2603:10a6:800:12b::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6699.27; Fri, 1 Sep 2023 14:58:55 +0000 Original-Received: from AM9PR09MB4977.eurprd09.prod.outlook.com ([fe80::df56:b1b1:64b1:6122]) by AM9PR09MB4977.eurprd09.prod.outlook.com ([fe80::df56:b1b1:64b1:6122%7]) with mapi id 15.20.6745.023; Fri, 1 Sep 2023 14:58:55 +0000 In-Reply-To: (Richard Stallman's message of "Wed, 30 Aug 2023 22:07:49 -0400") X-TMN: [f01c3bFD30ndrOWbaxB4nE0/N9EUrVOzZW8NTHlszLM=] X-ClientProxiedBy: MM0P280CA0095.SWEP280.PROD.OUTLOOK.COM (2603:10a6:190:9::13) To AM9PR09MB4977.eurprd09.prod.outlook.com (2603:10a6:20b:304::20) X-Microsoft-Original-Message-ID: <87sf7yym6q.fsf@live.com> X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM9PR09MB4977:EE_|VI1PR09MB4030:EE_ X-MS-Office365-Filtering-Correlation-Id: 9f6d3665-fbd2-498d-51ca-08dbaafbf692 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: unj1iwj29/TF2cv0gTLlmsOHIQ7lY+Cc7wVQVB262fWKSaEGs8ebyJJMHJe3pQgLimeljxfWeei0YUKlu1r/Ri/V7AdvenpAif7/yF7Ilvli9VUQyPtQVzbZXPaM9yqBehVOhX5eX6PQBbDoiw+4LtIwMKvSrFWr64sgPCwq9Rnonojqsm630qUAtGA1PPNDu5OXnoX6X/DlGBUExYhD/CMdVdm4y6qjQWSLD6ssIILdbzdQPKXXc225CErKJeuRB/VZdanAiKP62zPRT+gaT50WhETzsaERGjkAgmx95+yB/dIEkyvoWH+pRquMP2OWpOe+l9scNwvHUDNkqJ7OC0KZcp5rhy+Q7Q00aamhMe+9m8g48qQOjKvRW5dnDowTP4K6emXMKi95NkslFFuOS6aBmPGCpzos/WP7XzdqnKZNRKqUU4Ac3KiRy66t3EzKvnWtZb165O9my/Px/1voy3NCs1Ftu6QrAG0OAzFnBTkQe+h/hVs0qomQGv1EFbUmSqQ75R5F6S0CgW1h774X4yIbGjDTMifF3WqFNHP9huWPbIdRlCaGmTvLvZcWscZT X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?3Ax+eV+bLiWfXo/gwmMWwTRUJsAjtglrDMue/npu0P6/3GxmfWkC801mkJCn?= =?us-ascii?Q?eqH/nlVpzbYCh3r+vB6tvxM1gJrrIwzqgee656IrNDFOH1smdUJGfFUsszav?= =?us-ascii?Q?K5txTN7Clf5pojj0ZFDgq5hWPU6262P/paezvvW8m4nRYUQzPpsoLuTNJm6z?= =?us-ascii?Q?Kib87AZtba/MES+lMXYqj070d9RRGD5j8bB17jzou5DLWFBD6F7GayqGwH2l?= =?us-ascii?Q?KlvKUy8BnKtT4gsoH/8B0EHP46sc9gKtQPZKJyqt1T97J+cttJEx62uis/sM?= =?us-ascii?Q?xgsag8DN2+CmTE8NSAvDxDG1KiSbRaF9xHxljkF6yaVpYTOp8hwzFvptk1Li?= =?us-ascii?Q?WhQq0XQF3QYPv00GLIyrzgm/RkyF/J5uaGnzguP5dTWI68xlNYrcS0MMH5j5?= =?us-ascii?Q?R5LNlUb7Vl9D3Axu006zZ8lV5xVdNbFqpyLZwHYniWN5/vAnO9vHTRzqkwQO?= =?us-ascii?Q?HJLRLvv91TTJQpvquKMETxfR1EMcWI37q0TiW4SkYgBD90MjKLUAXu35y/J5?= =?us-ascii?Q?tm2HHLSbKXW5LTTnpy5cBMCo2KiZxiHUXmdx20+IXR+XhSjcLj9w7wOyEF7F?= =?us-ascii?Q?jzgylU6aTLX7BgjZ3bdN9/4usEZGeBosxG2EbB0mA+d09dHnQckoFGC1sgi0?= =?us-ascii?Q?Xw X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-64da6.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: 9f6d3665-fbd2-498d-51ca-08dbaafbf692 X-MS-Exchange-CrossTenant-AuthSource: AM9PR09MB4977.eurprd09.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Sep 2023 14:58:55.9394 (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: VI1PR09MB4030 Received-SPF: pass client-ip=40.92.66.108; envelope-from=arthur.miller@live.com; helo=EUR01-VE1-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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Fri, 01 Sep 2023 11:22:44 -0400 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:309812 Archived-At: Richard Stallman writes: > [[[ To any NSA and FBI agents reading my email: please consider ]]] > [[[ whether defending the US Constitution against all enemies, ]]] > [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > > Would you please stop arguing for rewriting Emacs in Common Lisp? It > is a non-starter. Can we not even talk about it? Is it really bad to talk about an idea? If you believe that such a simple idea can hurt you or your project, than I don't think "free speach" and GNU goes together in the same text, more than possibly as a sarcastic remark. > It would be an enormouse job Sure. I agree on that one. > including rewriting the Emacs Lisp > Referance Manual. Actually, I don't know if I was clear in my first post, but my raison d'etre for converting Emacs to CL is to actually preserve emacs-lisp bug by bug, feature by feature, for the explicit reason of not throwing away 40 years of work. As I said; Emacs Lisp is *the* best documented Lisp, and that is extremely important. People complain a lot on social media about CL being arcane (hyperspec) and 3rd party libraries undocumented or badly documented. In my opinion the strong points of elisp are documentation, manual, 3rd party packages and being relatively small. Otherwise, if I didn't want to preserve the documentation and manual, and don't want to run Emacs applications, I would just go over to some of the text editors already implemented in common lisp. Their problem is that they are "emacs like", but not Emacs. They basically have to re-implement everything from scratch. Which is a shame. But if we implement emacs lisp in cl than we can run 3rd party apps in Emacs in CL and people can re-use their knowledge, docs and the manual in writing 3rd party applications. > We can't be sure how much the benefit would be, You can't know anything for sure. But you do know that you would got work that yat has to be done in Emacs, and you know that you would get language features that lots of people ask for. It seems that either Common Lisp will come to Emacs or Emacs will come to Common Lisp, judging by the attitudes that pop-up in social media from time to time. You would also get faster iteration time. Testing Emacs core function would be similar to working in Emacs Lisp: eval and run; instead of recompile and re-start Emacs just to test. You would also unify the extension language and the implementation language, so more people would, at least in theory, be able to look and fix and experiment with the core. Testing a different renderer or a different buffer implementation could become much less tedious prospect than in C core. Of course, it is not "just", but I would like to hear would be technical problems, or if it is not technically possible. As I udnerstand Common Lisp was invented to unify all the dialects such as Emacs Lisp, and seemed to work well. I see no special technical problems in implementing elisp in cl either, but I am not an expert and not so familiar with CL yet, so I have hoped for some constructive input not trolling and sarcasms. > because Common Lisp has some drawbacks too. Sure. Everything has drawbacks. So is life. And in life we are constantly navigating between cost and gain. Tell me which are drawbacks; that is actually what I am interesting in. CL is much bigger, EL is easier to learn, that is my personal remark, but I think it is secondary compared to what we can get with CL. > But we know the cost is > prohibitive. Perhaps. The cost is certainly prohibitive for a single person to do it all on their own. TBH I hoped for some technical input like "it is possible because of" or this can't be done in CL because of or whatever. Instead I have got a sarcasm and a troll answer. I should have known though better than to answer on that one; it takes two to troll, so I guess we are both guilty there. That would be my answer to remark about kind communication in the latter mail.