From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: Platform independent graphical display for Emacs Date: Fri, 24 Dec 2021 12:44:32 +0800 Message-ID: <87a6gqfw7j.fsf@yahoo.com> References: <87ilvgwfor.fsf@telefonica.net> <83a6grx1o9.fsf@gnu.org> <834k6zwvi1.fsf@gnu.org> <87h7azilmu.fsf@yahoo.com> <87sfujh4a2.fsf@yahoo.com> <877dbuhm6j.fsf@yahoo.com> <87tueyg5gc.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="6200"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux) Cc: Drew Adams , "xenodasein--- via Emacs development discussions." To: Stefan Kangas Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Dec 24 05:46:16 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 1n0cTA-0001WA-EJ for ged-emacs-devel@m.gmane-mx.org; Fri, 24 Dec 2021 05:46:16 +0100 Original-Received: from localhost ([::1]:39646 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n0cT8-0000Ay-IY for ged-emacs-devel@m.gmane-mx.org; Thu, 23 Dec 2021 23:46:14 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:43672) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n0cRi-0007bG-2Y for emacs-devel@gnu.org; Thu, 23 Dec 2021 23:44:46 -0500 Original-Received: from sonic314-22.consmr.mail.ne1.yahoo.com ([66.163.189.148]:43716) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n0cRg-0000ld-Fg for emacs-devel@gnu.org; Thu, 23 Dec 2021 23:44:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1640321082; bh=UCjdZxWUTcTW1vIwlIKr5wVpCcijVJyHBwcc92FlpBs=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=id9kNpaZ5ws1nwlpvi/+6pNemjJuccHqwW1ZPpWx3n/TCsP8p+m3ReL8uBYIkRwAUIxrYh6GpbEH7APTBfWdVnp7xqtjPZ7Or1+C6imZWuFfSP8kcDT/vC+sHg3kuuIWhquUZhMJizHrpUWJi5GHQltLi8mrHWTzHmPsnW5118xkAYG1okbL7SYBC6KH0uIEfqUkSGNy+rJ10MOqnG/4QlIRh/SFaveYsrt80MvxpaFJn0H32OHKNiqMdkGszyc1NCG3E0QhPWmP+QcQf1wNU377tBL0WBIjprDlA8Nl+haHDXxfv/JW8/vw/eMSEIlmZ83AyxpTDaQr/O6lWzxR/g== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1640321082; bh=H1MLNOs8Hhe8yZwrp7JL1ELlcjzcN0KtCC5CbzwUHwJ=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=o0P3G8U80yzr548FsrD8t4uvJgrtgSQZhMU0lDRO6io/pjKpSROP15QPX1Qk26+wTXEBHpS9OINYSRzeUTX9ypvfVOoc2+MrT62MiQK2BVfg6B5Ut87UbolhedB1u7IG2eK9o4bEtNq7RI2wMJF+pVAL2PFt5vUiFv8dJ20dF2YDZelOxW1I1oIRfpI+9r0hcayEM2iuDa9nkXlwpYNdfhbv+mhZTLA+u0Zom+hTcc/VTZZF4xdIJt35MDdkhWYWZnlovUHVhveTqsxlwkG72c2hl8WqYyPhJbjEK52HhiHorRFeGu9p+1J0a/mSlbM4kJGeR7yM0F4JA5TgpgDF9Q== X-YMail-OSG: pSrECD4VM1nCfr6PBwdwNTZrllMbVhg.2bBOAiiMm4hUiPqDyPwYxFJ4Dw0EcnH SM0l1.xxZ7FapJdkXdzkMwVXkJsfXYPLxKfIpEdwQrW2vhYtrFe9dNiGUrwK6pNKjyys8zWdaOKS 3sRCGBqgTaWU085btqyc_ztF23yKM6H2PEIu74GMysqTlmKbBA67JmwuwBYWFt8Yg6RYVV97zOsP f8PKj6QrW58cL4OPl7lJgD03WxhrEiW1QwKPpQ7H7GT5jn0Kh3uB.lg0v891Ux4Jmxr2CtLIkah0 U81tnuYcuYidcaAkiYH4uaiIzG8gEae_WI9wZR2KaJ8reLqHsDg3h2MCC.9JNV0E_9Xh81f519ub Wuimb5NYkQIXwClUHxWi0SnSF4BGKNbAsNADeuyQoFxrgn.fHt1f8MEvTvFQlo.zO69ns8awJhBN xuqLYAowRrRAP4Zkk24SGAQDS59Lxzm0QEjgHNmpaYqKIFkCJ35by7cpOLEWJc0iZ7qqVmuzF.Ke fj3Gjzizbf_EMHAjvh01rANqiOOgNyuJ2h7FkfUm6lFuIF2S3RXPsJq0YIji3722R9ZvGt_EDCdU Z7TMMEfUBbnsmxR2DX.q78qwavtztpAq6Tnq0Kv.H7WQKwFVa.JUmXXZBAABcRA9IdM642oC.Z1J EZqu0TYpPwVJyzNKOPGf2AMLyoSDGwUiH_KR_yju6WeUWKxHVeQLG3XSJE8nM6GeOpl8bfAmci.v d9zW25pVjZyQIlTlmazqoJSXaRmuV3HWUA6_Dx4nhBKPB2SJrQ13mCBXcRXiybERoRCtccmOOz5K q9AExKOM1R3Rwixh.1Mc6pweihZWJqhHTS2Vasus_e X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.ne1.yahoo.com with HTTP; Fri, 24 Dec 2021 04:44:42 +0000 Original-Received: by kubenode510.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID f7b8a0f55450a11adedd7e758a9c19a8; Fri, 24 Dec 2021 04:44:37 +0000 (UTC) In-Reply-To: (Stefan Kangas's message of "Thu, 23 Dec 2021 20:30:42 -0800") X-Mailer: WebService/1.1.19498 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.189.148; envelope-from=luangruo@yahoo.com; helo=sonic314-22.consmr.mail.ne1.yahoo.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_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" Xref: news.gmane.io gmane.emacs.devel:283081 Archived-At: Stefan Kangas writes: > I don't think that what we do necessarily translates very well to the > widgets provided by common toolkits. For example, the mode line is > not rendered by a toolkit. That's because it's part of an Emacs window, not a widget. > Dialogs are basically not very useful or Emacsy as is. When they pop > up, you are completely outside of "Emacs land", and there is no way for > us to add keybindings, style them, etc. or do much of anything really. Just as in gedit and other graphical editors, no? > Our scrollbars are fairly subpar compared to the ones in VSCode, at > least in GTK. Admittedly that might be to some extent because it is > hard to style them from Lisp themes (I guess that's not currently > possible). The built-in (as in, no toolkit) scrollbar is even worse, though can be styled via some X resources. > There is a similar story with the tab bar, tab line and toolbar. The tool bar is displayed by Emacs itself on all platforms except GTK and NS, and the tab line and tab bar are always displayed by Emacs itself. > Then we have things like the posframe package, where the minibuffer pops > up on top of the current buffers. That currently works with a hack (a > separate frame) but we could imagine having our own widget for that. > IMO, we would ideally want that to look the same across platforms. Child frames basically look the same regardless of platform, as long as window decorations are turned off (if they are on, again, that's outside our control). They are even implemented the same way widgets are on X, via an X window with a parent, so I don't really see the difference. > No idea. I guess the menus would be different on macOS. NS users will complain. Besides, I find the global menu bar concept rather nice from my limited usage of GNUstep, and I hope more programs will grow to support such behaviour. It is certainly better than the fat-finger-button-hamburger-menu GNOME people want these days.