From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Arthur Miller Newsgroups: gmane.emacs.devel Subject: Re: Unify the Platforms: Cairo+FreeType+Harfbuzz Everywhere (except TTY) Date: Sun, 17 May 2020 17:06:35 +0200 Message-ID: References: <20200517124125.000013a4@web.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="123264"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Julius Pfrommer , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun May 17 17:07:13 2020 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 1jaKsi-000Vz5-Mi for ged-emacs-devel@m.gmane-mx.org; Sun, 17 May 2020 17:07:12 +0200 Original-Received: from localhost ([::1]:48416 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jaKsh-000444-PC for ged-emacs-devel@m.gmane-mx.org; Sun, 17 May 2020 11:07:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45532) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jaKsD-0003bw-MP for emacs-devel@gnu.org; Sun, 17 May 2020 11:06:41 -0400 Original-Received: from mail-am7eur06olkn2039.outbound.protection.outlook.com ([40.92.16.39]:62529 helo=EUR06-AM7-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 1jaKsC-0003FA-8N; Sun, 17 May 2020 11:06:41 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ORm3gEWbd0fWdbWv0T8E6rUypdETSPQh4tEY1XhRK1aWfh7fSQiAo0joLNV3wEYXaDCITfSt67tBjM8/iETlncqbuejLbryHvEcYDvQFYcUloUIom5Q00G6dYkf0PAWH0fxBYA6mVXsFX/eQRL+OfRsBouY+rZTkk9IQ/MBmP5DQyPiEWbxzxjI4SBDH8e2XUZTqSc1PtHe1Sso8fokRHOjLs83O43bXnVSJoBOpTZY5BJYNKLlIuDlnYG+MA1itjzo8XPurDOW/abl2kivRnWt7053d9sreihxG8YYWKZxDsIu3OUkg+XMh5AwhvG0gotdAWmFfxh/mFo7Rc728cQ== 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-SenderADCheck; bh=Hh5ZT09076PdKaqb9mVu7ru4L3wPoomA29ek3y/0WfE=; b=ZH/Tn4WqwfCkzM5Q6W95gcKYHwOapLheHqbr+Xa3X2UTtjPoRg2PCSqjNPYXfvJJhXmU7Bzfw9vzfSqTxc2ETEdEh5QjQXs/fELi1ru9zh+5sDDfiAnuAdB/N8NwBSv+dKtuWcE3mZSVR44mlXmjG3WjpqkQ24ei/DCkDo6bokENOzH9RN6JSEnvLnq/lBOqx6H4ogNyNanx3mQOP1RAcknlgTQhyYR4F6GyTnE3nboW6JgaIZY8xVanCnBLx/4uf1lU8SWSOeaN2CM7Jl/IxbP0dc4AVby+acFEJ6WpmeXpxx0GO9CQt6rq/SlLCNtbS+hpnJAHvCnncy9fucj3TQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=live.com; dmarc=pass action=none header.from=live.com; dkim=pass header.d=live.com; 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=Hh5ZT09076PdKaqb9mVu7ru4L3wPoomA29ek3y/0WfE=; b=YPhv73gKUENVdmkJJhwDMzp6E0nXkZUMHFAr9j70Nd2t87zX7o1zWuWqJzzbQXFiUNSIy2stKfl0zasfV2SJ4r+28r9DXhH/ziRxEE1fi8lh9KP3Nl72S4YTg2KoX/FZbBccw2G2b32Bm0hVasfwmY5BlPVaQOcwwgQcJVi+f03TkRtjbwXIBfp9ee+R/mBKuxJ6lgZU0unYFfbLeIYXz+AI5pL9paFQvjy0fpFGQDXsTNEm4zpLrqsyAtcvyvDfDTncKRV/PZDSkthgxCH9H2YUd5ysXS2InwYH792JZ6+DTCK68ryQzVxJO4rfKNQupyjDCM/ni2isruP8PPvnyA== Original-Received: from AM7EUR06FT006.eop-eur06.prod.protection.outlook.com (2a01:111:e400:fc36::4e) by AM7EUR06HT156.eop-eur06.prod.protection.outlook.com (2a01:111:e400:fc36::70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3000.19; Sun, 17 May 2020 15:06:36 +0000 Original-Received: from VI1PR06MB4526.eurprd06.prod.outlook.com (2a01:111:e400:fc36::4e) by AM7EUR06FT006.mail.protection.outlook.com (2a01:111:e400:fc36::336) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3000.19 via Frontend Transport; Sun, 17 May 2020 15:06:36 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:2AF925F04DF64C9845248E3B2FDA9870E97084CFBC5313733E77C2ADF7CC81D7; UpperCasedChecksum:77D5EEA1A676BC30361731AD64A311E32C75BB235D8A7FFD35479B92C9384F0F; SizeAsReceived:7705; Count:48 Original-Received: from VI1PR06MB4526.eurprd06.prod.outlook.com ([fe80::49f0:2314:a959:bec5]) by VI1PR06MB4526.eurprd06.prod.outlook.com ([fe80::49f0:2314:a959:bec5%7]) with mapi id 15.20.3000.022; Sun, 17 May 2020 15:06:36 +0000 In-Reply-To: (Eli Zaretskii's message of "Sun, 17 May 2020 17:30:35 +0300") X-ClientProxiedBy: AM6P193CA0047.EURP193.PROD.OUTLOOK.COM (2603:10a6:209:8e::24) To VI1PR06MB4526.eurprd06.prod.outlook.com (2603:10a6:803:ac::17) X-Microsoft-Original-Message-ID: <87h7we4n44.fsf@live.com> X-MS-Exchange-MessageSentRepresentingType: 1 Original-Received: from pascal.homepc (90.230.29.56) by AM6P193CA0047.EURP193.PROD.OUTLOOK.COM (2603:10a6:209:8e::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3000.20 via Frontend Transport; Sun, 17 May 2020 15:06:36 +0000 X-Microsoft-Original-Message-ID: <87h7we4n44.fsf@live.com> X-TMN: [bFapGX/zcy5tK/7P+Ob6t0j1fEOzXECK] X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 48 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: ed0e674a-ff87-4f0b-b44c-08d7fa73e4c3 X-MS-TrafficTypeDiagnostic: AM7EUR06HT156: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: dWYUaS82EzA9hqtaU6dpSVXZlrEio5uZLmxNKykRkEBGRZCbthPdbfUPay689FSav1Xp9y5eF+nZQvvQ6po7uSfHyhmy78rC+3uR2UcZBg2HdeccneU81PAS89f7jgqDNxMm+dV8ma3fFRan8sdPvNBSV5fjjqRODej1dnlm9yE1fC7nuRcUz8j6MYLk0yIrKYlxDtM3ZnO2ZdEC3mv/ng== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:0; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR06MB4526.eurprd06.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:; DIR:OUT; SFP:1901; X-MS-Exchange-AntiSpam-MessageData: fFGSweMN4w5XTiu/2Ojl9ki1SJtEXkmd9Iy4PwD54bLUUhhDBCFXd/3euj0aq3P7cLe3z6dv17NARAuEn84OVyy6LaPM5AEFChlw5OG7atrEUr7eNxwdq0Zjgq98e0N9fnE4Afa70WT4vMl+fduUiA== X-OriginatorOrg: live.com X-MS-Exchange-CrossTenant-Network-Message-Id: ed0e674a-ff87-4f0b-b44c-08d7fa73e4c3 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 May 2020 15:06:36.6556 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7EUR06HT156 Received-SPF: pass client-ip=40.92.16.39; envelope-from=arthur.miller@live.com; helo=EUR06-AM7-obe.outbound.protection.outlook.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/17 11:06:37 X-ACL-Warn: Detected OS = Windows NT kernel [generic] [fuzzy] 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, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN 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:250611 Archived-At: Eli Zaretskii writes: > On May 17, 2020 5:09:08 PM GMT+03:00, Arthur Miller wrote: >> Julius Pfrommer writes: >> >> > Hi all, >> > >> > during the recent discussion on "Emacs being too square", I recalled >> a >> > few projects that use OpenGL for terminal emulators [1,2]. With good >> > performance, smooth scrolling and the possibility to add more visual >> > *bling*. >> > >> > I had a good look at Emacs' code-base to see if similar approaches >> > could be used. As you can imagine, I got lost in a forest of #ifdef >> for >> > different platforms and GUI toolkits. The code looks scary to touch. >> If >> > you don't have access to *all supported platform*, it is likely that >> > changes break a platform you could not test locally. >> >> I have been looking into same, some time ago and recently, and I >> experience same problem. A forest of cases, all coded into same place >> in >> giant files of 5K+ lines :-). >> >> > To make the code-base less scary, there should be more code-sharing >> > across GUI platforms. And this is indeed possible! >> Emacs and Emacs src could benefit of some modularization and >> refactoring >> definitely. > > I suggest to go through the archives and the Git logs to see how many such > efforts have been made and are already in the codebase. It isn't like the > advantages of this are unclear to the development team, or that nothing is being > done in that direction. Far from it. I understand that, and I am conscius myself that you devs are aware of it and that you would probably do something about it if it was less work than it probably is. I believe you it is not easy considering the long history of Emacs. I am just reflecting over how I feel every time I peek into souces. It feels like I am looking into sqlite ammalgamation :-).