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.help Subject: Re: Would there be a drawback of using the same graphical toolkit on every platform? Date: Sun, 20 Feb 2022 19:40:31 +0100 Message-ID: References: <87bkz3pltw.fsf@yahoo.com> <87pmnil4w0.fsf@yahoo.com> <87mtilk50t.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="8262"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: emacsq , emacsq via Users list for the GNU Emacs text editor To: Po Lu Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Feb 20 19:44:14 2022 Return-path: Envelope-to: geh-help-gnu-emacs@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 1nLrBt-0001yd-8X for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 20 Feb 2022 19:44:14 +0100 Original-Received: from localhost ([::1]:33220 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nLrBs-0002iR-1J for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 20 Feb 2022 13:44:12 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:46306) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nLr8W-0002gC-Vq for help-gnu-emacs@gnu.org; Sun, 20 Feb 2022 13:40:45 -0500 Original-Received: from mail-oln040092073046.outbound.protection.outlook.com ([40.92.73.46]:37649 helo=EUR04-HE1-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 1nLr8T-0007uZ-Gt for help-gnu-emacs@gnu.org; Sun, 20 Feb 2022 13:40:43 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OGhAx1WU2fccjfg1Y7A/wOrY97vQtHF+xOjULRaZDGdp/ReOLuVsKQPn/s/CCwl4CIpeYfz6qVgUCDDAEVEHy5cofoxwmkVxdfiLvgcLcdYD6MhcoPMCdYlBd5s4MoDeTgJPjiY4xnmbuk1F6myyOASpUd8kg9woWKzSZ5YNElXRMaWJt2iNKImlIDG2mNC+NnzMrsrwrD8hrC2bdhOgwubCPQj3cZrobsrfSggkiqSB0KMuwmU3i84PFFas1WyVD7f0heBkGcI0Y3vs3QUKilZi/4Cc8t4/db7Iu9ibuBlnW+HYZu/rz0cM+/eXxf8QLRd7CvDSSJISM+P5TWWk9A== 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=RUD+g7rlbW9BctQJELo5qgCjxEllcNtHKKvsNEPQ+aM=; b=DQzF/lj/ocZ8Dm8Vi0fwoKngNHK6C6kd9ObNtfICqVhT4I9EbEh3QG/IoJ47YckCxzDt/hJBrW4zitfN60j8sUeAlUaCnO2HoxY/VLVrd3O8PRw8qyX0F1mPg2tUDxUKIlaFAFfF+Uhz2I37XG2ut7ejxiRSXLg9p8i8j6kTFbaz6kLuDVpEaAR8zHLfoec06wB8d4Ugg3b33Ci1JklxzobMHZzBYaMoY4bTXzJsza2LQZyHLsU57V3C6lgDfsS2YxcwwH32c6OT/vPfN29hPAHBLruB4XSOgIw44fHivT5JsMTqjh7/ScYWD1mHhHQOZnYWCbkKQv1FxUJcsIWglg== 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=RUD+g7rlbW9BctQJELo5qgCjxEllcNtHKKvsNEPQ+aM=; b=TwPHMtqcrlaxG+Mne3RQ6hfUZhAttI6P4KT/Z/wvx8yQE0pFrXK3hCIW5S7IrfncrccikDzwUOE/ioDIh8sFCi1TIuFDfbeaX6Y8wDPEKVtNnqJ4iqqHaOlFTFDPIMx91kcH0pccy8FGls7yP6k3lAGSn5V/8YTGqjFyzpuBPWgxpH1wQmm2XP4Sic/jJs8ih2xXaXqN3iPfMZGI/wwwYgJZy+Um879h7JJGYSkHoOAt055END31xiL3vbSaShjz5ZXI8KfrKeZ9zFA1Dm4zlsY80lIKghRknhH2bZtn8tdUb842X+Kpo/l+wUu4kN2nU5fkTk0FPRdmFUb+ferljw== Original-Received: from AM9PR09MB4977.eurprd09.prod.outlook.com (2603:10a6:20b:304::20) by AS1PR09MB5520.eurprd09.prod.outlook.com (2603:10a6:20b:4aa::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4995.16; Sun, 20 Feb 2022 18:40:33 +0000 Original-Received: from AM9PR09MB4977.eurprd09.prod.outlook.com ([fe80::b569:2640:494d:e192]) by AM9PR09MB4977.eurprd09.prod.outlook.com ([fe80::b569:2640:494d:e192%7]) with mapi id 15.20.4995.026; Sun, 20 Feb 2022 18:40:33 +0000 In-Reply-To: <87mtilk50t.fsf@yahoo.com> (Po Lu's message of "Sun, 20 Feb 2022 22:05:06 +0800") X-TMN: [7yfZ1DQO/qL3AaCsVw5vuwAgi+110TSK] X-ClientProxiedBy: AM9P195CA0014.EURP195.PROD.OUTLOOK.COM (2603:10a6:20b:21f::19) To AM9PR09MB4977.eurprd09.prod.outlook.com (2603:10a6:20b:304::20) X-Microsoft-Original-Message-ID: <87fsodpejk.fsf@live.com> X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 94a58a56-1afd-4bb6-9ffb-08d9f4a07a17 X-MS-TrafficTypeDiagnostic: AS1PR09MB5520:EE_ X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: V7DgImrPQkmY39AmDmvhTpFjbJj3j34yR6LbkWSCpdDcfdHsFgSRAKMpTnzx19PAVRAxthHAnifnG1PWHLcPGNclr60Viw9sYu4AimkdCIiPaq+hMuYRqloKINKmWU9WwxqfjOAHrmGMn1h37RNumS2wy00XW/DE85gP304gTrWvdz70PoM+hNrd5Ye9iTo2ZQ3E0F/NydkjVstWopC/8kwOzafV0OksZwmtEjRpJGt/E8mqLR2sj2swjw7FjaIgh7bhkmxTIQEwz+m4VMLRpHgW+UyLUeN1SrlvXlsZhHhyvppUs2nmSCsPsxTCxioSpD0dLtYhbynIBs+bw6bLtqjL6Y4QhXVaDJ3iXEaScRzjMqpbGKuZ6ISBihGntMPAZYJTFWDavmT+rEE64/3DHweYCjypQFpXsZ8XKhz32BCdyBOTPfKCO1BZyEiqV54nh4zc+hnxCvLkAI0rNpXhcWTIIxlIJ5lnIvf3A0RgyZdnbK5Q38B0F2vHjvODMZZvK2bOTlyJK9hmeN7p+6L53RcQxzPkjfZa1M/MOvrZ9UXIGiWlXnQnZePyBaYu9I8rQSEzSUn8wWqOfp88cI1WsQ== X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?Pjt/7oaINzXHfpF0h11XA/y5mg/dj3SMPv1A7DUb8Vob7hPsGp2qctY3K/x3?= =?us-ascii?Q?mpVlCmQrBpSvTv237qPixGnjPgqWJ1T89CtKPqVJ8IgF4W52HvdI2IbhlV0s?= =?us-ascii?Q?1cG9cKJocj9PGw36q/Tesc4Wv1PxGM9ZhIxU1uZVQsBuW55U1mzSf6g72Wse?= =?us-ascii?Q?JwJDwskMmcEU07NgUhuHmnrmNTlxfEiMy4AW4at0Lma7iniqoWZdZU719nch?= =?us-ascii?Q?23KdAwILNR98f2KEoJJ4QTl8IIWxA7+efZgbdRQ8ifj+JJ+KLHZiAl4OBZ7g?= =?us-ascii?Q?8evVP4/VR+1SEMcKIfiGxYSDrdvF/53ArmIQ3cDgbZ8OwsnP+lDQNpzWLgRP?= =?us-ascii?Q?yjFFRSZbqj2CSY28ehnFiNX9vL0bfqj0EXR5GF3J58H/HCkTX5zfqimcZIGi?= =?us-ascii?Q?SinePwBqDavdNK97SCT3xDNj6z2ppZ5FCuluE5vnNWprnNTdzSB0tNz7jP5t?= =?us-ascii?Q?kWT9b4/B4X1VsmllKNdQNpLNfGXAy+UnhGA3bqdSfJOVXYind3A5VHQO4jbW?= =?us-ascii?Q?leGr8KzoaGK1swVmmz63PV7lVgye90FDur2Bw44puGDRYoILLGDZfuZ5jZM9?= =?us-ascii?Q?U9PYgZ8x7FLyiPuF0gAMm213Nl7aueR+VQClCEPC7IVnT1TpsqdV/p7l9D+j?= =?us-ascii?Q?6D X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-64da6.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: 94a58a56-1afd-4bb6-9ffb-08d9f4a07a17 X-MS-Exchange-CrossTenant-AuthSource: AM9PR09MB4977.eurprd09.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Feb 2022 18:40:33.4010 (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: AS1PR09MB5520 Received-SPF: pass client-ip=40.92.73.46; envelope-from=arthur.miller@live.com; helo=EUR04-HE1-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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:136078 Archived-At: Po Lu writes: > Arthur Miller writes: > >> Is it? > > It is. > >> Several entire desktops and countless applications implemented with >> Gtk for different OS:s certainly speak in favor of your arguments. > > Emacs is more complicated and demanding a program than most of those > desktops and applications. For instance, they typically don't support > connecting to and displaying windows on multiple displays from the same > process. >> Cetainly it must be problem to Gtk and someone elses incompetence, >> can't be that Emacs is using it in a manner it wasn't supposed to be >> used. > > So we should limit our features to what GTK provides? Just to name a > few, that would entail removing support for multi-TTY, distinguishing > "C-S-u" from "C-u", controlling the size of scroll bars, reliable > control over frame size? > > If you want such an experience, by all means use the PGTK build. But > those features are important to many other people, so we cannot rely on > PGTK. > >> So Gtk should be designed as Haiku? Otherwise it is a bug? :) > > I'm not, but the problem has nothing to do with how Emacs handles the > toolkit event loop. > >> You can either do as you do and consider a framework design to be a >> bug because it does not fit into your wishful expectations > > I expect a toolkit which people expect to become the basis of the Emacs > GUI to be designed suitably, which is hardly wishful thinking. I think you will have to reflect on what I have said. I have posted an article about why Emacs is not very compatible with Gtk, and probably wouldn't be compatible with Qt either, even if there was a suitable C interface Emacs could use. We can certainly agree to disagree about the article, but you should definitely reflect better over what I wrote and why. I didn't lobbied for Gtk to become the one and only toolkit to use, I just opposed your rhetorics about Gtk bugs, "devs strange ideas" and what not, and the impression you left on the person. I am not trying to be impolite or unrespectful, but I find your arguments and rhetorics often dogmatic. >> or you can recognize that the design does not fit a particular >> application in this case Emacs. There is nothing wrong with that, none >> framework is required to fit each and every use case in >> existence. Emacs uses Gtk in a way it is not supposed to and that >> creates some friction. > > Whether or not it's suitable for other applications, the friction > between Emacs and GTK cannot be resolved, so that indeed makes GTK > unsuitable as the sole window system for Emacs. Sure we can agree on that one. But you used rhetorics that left impression it depends on bugs, and Gtk devs having their own strange ideas about something. Those are different reasons but not being suitable by design. Read my very first replay in this thread, it should have been clear there. >> I don't understand why you need to blame that on Gtk? I am not even >> very fond of Gtk myself, but there is no reason to be unfair. > > When a toolkit that is part of the GNU project makes deliberate design > decisions which prevents it from being used to implement Emacs, I think > it is quite right to complain. Why would it be a right to complain? There are many other libraries and frameworks that are not suitable for use in Emacs. It is no ones obligation to make their software fit someones particular needs. I am quite sure they are trying to make it usable for the most applications out there. If Emacs is not one of those, so be it. But it is not their obligation to make it usable for each and every application under the Sun either, just like Emacs does not have obligation to fit into everyones wishes and desires either.