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: Abysmal state of GTK build Date: Mon, 22 Aug 2022 09:15:59 +0800 Message-ID: <87fshpgjsg.fsf@yahoo.com> References: <87ilmlluxq.fsf.ref@yahoo.com> <87ilmlluxq.fsf@yahoo.com> <83h725deo3.fsf@gnu.org> <87bksdltah.fsf@yahoo.com> <87r119bni8.fsf@gmail.com> <87v8ql4kwk.fsf@melete.silentflame.com> <87tu65ilq2.fsf@telefonica.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6224"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: emacs-devel@gnu.org To: =?utf-8?Q?=C3=93scar?= Fuentes Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Aug 22 03:18:05 2022 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 1oPw4q-0001My-Ie for ged-emacs-devel@m.gmane-mx.org; Mon, 22 Aug 2022 03:18:04 +0200 Original-Received: from localhost ([::1]:59400 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oPw4p-00038W-1h for ged-emacs-devel@m.gmane-mx.org; Sun, 21 Aug 2022 21:18:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:32862) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oPw35-0002Ib-H0 for emacs-devel@gnu.org; Sun, 21 Aug 2022 21:16:17 -0400 Original-Received: from sonic307-10.consmr.mail.ne1.yahoo.com ([66.163.190.33]:39718) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oPw34-0007bK-2k for emacs-devel@gnu.org; Sun, 21 Aug 2022 21:16:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1661130971; bh=NmXjxQ6XYp4KqV02nZKm4QcwtJySoLVD0NI/8SiEtMs=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=QU6JuH8Bs6QVZZ7vQ6890CdxlpZgBz7B+1z335FlR16H9LxKweLDPhHTrcChYiMfHHF1qxaz8cSibwbW3+0K5fVv9iRlnV46bqXMTIlapOwc9d3D1hUMjJwUOD5NEWqpasQYB/7SornF5Ov44pbi5/ZMvx1d8S8rwzzDm1WI36hMkSs8eL7QbqlCkPzZRvSW+50D7NxiGh38zT9xXxhWaLZuIgcZ/VvIG//PCXKPRAHolM6UTu3aU6740+R3QkMeoQGPjgkL+Az6uAZbp/8fIazss7TV94qfdlGH7kkjSnYhK2av/arjeP0NBJINT/uka3jcj09v5OdOajSI33cD+g== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1661130971; bh=mcZ/30nT7MM9LUDxw2EFYrPhREB+qCIUJvyF2wX6wtr=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=s32RPtp86bnaRk77M8Ikcgkbg2jRslyIiyvBNmViKigrU+vMLQiAuvyu+LAunthNRkmg5WVbgRoR4V90vEhNT03eeBwJAFmMyswTWB5vZmTw1uI0/qPzZ8hKwRfOeDcAzk4v/EZVewr2qqwvJXobJbIg7XWdFLqMrj6h2Qn4hbeuKuu4XYDn3uT00NI6WhWaLeJc/vmOK6NQ5o2UPKAe2Fn+zDzYpEkcAUzwdki1XZyS/5qIs7cHJPz5obRmFQWREifbkvj0NmzfEFu1I3pUVzUJpeBugTkEkg+DYFQU3EZWjmq3PAEYtuLxwkCdI083TD3lyN+Q7TRRyyEhXrinbg== X-YMail-OSG: JinfurIVM1m6oEXQn_WyAO3S6_noaNwLX76bacPCvwmTMzTuhgQVhGMpayWDbrt jacX1G4FEs25hImJVTz9oJqoIlRrHrdcQNNoc.1_5mdNPkYjDliwVCKWBUiRDG7H.3SbCxCH8.VX mczHEPITwba5e8vGKsc7.jhUnig0eVY703P7TdKKfS4284WGX0RoZA3EzqBmwU_2x7.zR2z_ZVo5 eOSCYvuZMAKQJ9PXBDMeH97mljuWGvkKSUR5Z2kzZHz1SNZz3jq5FZYFrlpm68ZzW8FJghKyfLFf gAUsKiangVJbdAUx88u9xwa7jKWpejerPsw5zLnbYDq1izguXVbtpjF8.BLI3hlia0cuGeKhh6fm z0huq_4Zg2mwwLJcdpJ3jD9ASchN6jtDNgHfqMLuE0XLuXHNNJpqTmtO1gBnTw5HG5AcSEXPqe3C lVa.lSZSgu6WWbtwzvBzpuD0Ht7Ex3ZcpkPrg5MhaemSEOB1aFEtFlW650mDXgN3e01DCCTaRXUY yNAv6ErP.1_KseFD3Y8KVH5t.qBJrX4S2Ub.rp0LxoH1ouodXyWY.777fKw_hTIBXwJZwqw8eKA3 X0nsOA3b_jxK6G_U4.aaIzE7A5MofBifu1mU53sAFnktKejTSzOiVNVbnmlXW.wN_5ilQFE9iY1F fASq1ZCK9sWTW3yCHFtOFBXU_acaYAqy63pd5_XLwS9mKx0lzS3.T6Cf9NTMj1J4Nh_YKPmW0WvR vv0YKoBd_BJ.zWhBPu7NfrTZE0vBK0SUUSTNeuXqafWsoJ0qgiqhKP08c76Rdtf6vPss.la6u6qO i3QT3c2IiZYixT_51VMwgtGmjpBwyRCCrV76vTE8Sr X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.ne1.yahoo.com with HTTP; Mon, 22 Aug 2022 01:16:11 +0000 Original-Received: by hermes--canary-production-sg3-6f58cd9b5-fl5rh (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 9acb3f4f081896d7a87dff920c6833d1; Mon, 22 Aug 2022 01:16:04 +0000 (UTC) In-Reply-To: <87tu65ilq2.fsf@telefonica.net> (=?utf-8?Q?=22=C3=93scar?= Fuentes"'s message of "Sun, 21 Aug 2022 18:51:17 +0200") X-Mailer: WebService/1.1.20560 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.190.33; envelope-from=luangruo@yahoo.com; helo=sonic307-10.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, T_SCC_BODY_TEXT_LINE=-0.01 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:293767 Archived-At: =C3=93scar Fuentes writes: > Emacs tends to do things on its specific way. Big fat frameworks like > GTK and (even worse AFAIK) Qt provide high-level APIs and don't work > very well when the user needs to deviate from them. The only "low-level API" used by Emacs is Xlib. On every other platform, high level APIs are used. On the Haiku port, each window's event loop runs in its own thread, and events are simply serialized and sent down a big pipe, where it is then read by haiku_read_socket. > Long time ago I proposed to investigate the feasibility of a Qt backend, > which was a not very welcomed because it would entail C++ and... Qt. Rigth > now I'll rather pick some low-level GUI library and build on top of it. What's wrong with C++ in GUI code? See src/haiku_support.cc. Please feel free to work on a Qt port using that as reference.