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: Motif support Date: Sun, 19 Dec 2021 19:07:17 +0800 Message-ID: <87sfuo7t0a.fsf@yahoo.com> References: <878rwhbb91.fsf.ref@yahoo.com> <878rwhbb91.fsf@yahoo.com> <83ee699irm.fsf@gnu.org> <87r1a99icp.fsf@yahoo.com> <835yrl9gob.fsf@gnu.org> <87fsqp9cvn.fsf@yahoo.com> <87mtkwzxpd.fsf@telefonica.net> <871r2898rl.fsf@yahoo.com> <87ilvkzx1m.fsf@telefonica.net> <87wnk07tfq.fsf@yahoo.com> 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="39251"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (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 Sun Dec 19 12:08:38 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 1myu3S-000A0m-4c for ged-emacs-devel@m.gmane-mx.org; Sun, 19 Dec 2021 12:08:38 +0100 Original-Received: from localhost ([::1]:58144 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1myu3Q-0004lI-HD for ged-emacs-devel@m.gmane-mx.org; Sun, 19 Dec 2021 06:08:36 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:44922) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1myu2L-0003wn-Jw for emacs-devel@gnu.org; Sun, 19 Dec 2021 06:07:29 -0500 Original-Received: from sonic309-20.consmr.mail.ne1.yahoo.com ([66.163.184.146]:33752) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1myu2K-000455-0s for emacs-devel@gnu.org; Sun, 19 Dec 2021 06:07:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1639912044; bh=d522JjcywgbSghDh9cQY/PS0iVqSKNwoWrTbOEvG5ts=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=tnU931e7XoEezeMPj2n9LQRAo/wiF41zzJ5pq7XqkzunLudMcxFkZhxDtBICu/iO89HD59BZVUFV6bynl6LNobzZKWUSRt8GFt4gLjuHbhw0iB77XaQLDnpE2MphroYE5bUkvvdhXi2Lft37bFSfIDwJLT0DDhfCl7egtqfqcNMPNQXvdL0Akdb4axwYn+y45nj4VxKggVa1tvacnV1AK4I7PmO3VaX+gtBGUAue7C0nAqodc71zq0bCtYglLoYWc2O9KleqCC0MTBTRX+uvcJ0rqvxqbZI+IUzSxECTwgavlATOTwDWQm9kgrVxmVs1oN41rs6iqDs0wbMwuF61Cg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1639912044; bh=UsuhecKWutQx8LBg34I/PJTJafANbUqYfdwkee/31oZ=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=HUU2H/hgIe5HKFvzn3CnNBu8cljVscWbjvTFjHGn4GJtodUqIxTWm3HQY8JE97OeCGEQb0GmnTiSGK6vvEqz0zBWrPnmNKVP2A9MYz0WHBpoa5l/QCM6nwFiM9/RpAgW09wY0pBHB0BCbC2BbzJCq+oCsQnNILHbYEPttRVKvlSFonbNcLHoo/JMGgMKHyFHaG3k4UHFsP1RXU/4wqa0ywBAtcyjK+xKV0vqxZ0Q6L29Bo5H82qiK4s+spceFdbXRRbTIN1/eWWR/wfwcMEvvlJ8+T0RtX7w5VpxvEBvuwFmdi4DiuIQJRcMRLJECpmqp799ZMJGgYoWGBtstg30Ig== X-YMail-OSG: Ri00GXwVM1nKh4PnHwS6mybjNY7DlKFmO7x2.7tMUnEHA315p5XVCZFBvlMaBaG Lnj_W1ngajOqSK8DVY327GV302L2xeSbS85KjkeNqowGTjc4gelBzNdDF0et9Rs.GZNFeN1xLp8q MpgUsp_2k5qGf0QFaaTCKwAHdhFO8uC0MDJmxLZ3qfOkIiWxKzoyjthqlQHJyklHp37ZUnu_Ddrn RrQCzSbN4zXl2Bqd2tAwT6QwpeV1cJCumqAuX4njIzfMdWN0IK..dp4Ljjz.vWrJsIzNC4ORXH9I ifMnOimqcuDVI_NomrHXP35reazEnxM52se0T8S8_mOMthdio6Fd5RuNt98UNY2oQL3mBEhwp1f_ YNdsDxf9.LrwN9kquJxnpWPRZE7H2bOn8Ey6quKTNAsrvEaMkG3B.pIgPY2IIdLXrmEtOfxSLoBp 8qum0ftLLkwCFM_BCF1HvagrM6dwDdIR7ek6yGvwri70026CP8n6ky_k75j9YaB.undnfMyBN6St xwvy4eQentXo0XhbGd4jYtLFvpofPY.N_.aYvFWb1kAF8OztoioyRpLStDL3uguD9M776opYZBUY smdoIo4k4gzKQpeAr.9aex1wpuI8Lkp9qN_VQPvG1zmPd9_xyQdE9atwCAXy1VL7BgGNdq.q_4QP Ra9qDRfjnfoOHB6yJDvF.pJqQFH4htp3Bz2mLWEz58KpZl7.2JxWhdibfvpZVoiFIV4UjQEeu9So QviVdWX0W9MqYRWj4e7tekBOhDsGn5YD5gVLtbwqPNToOPtEqabP7ADRJu3TXfV54KOdW8gnpCAG FUUJcJeeV5KOXr8KyeAKyGpsZDaCg4eLLvX766.1cy X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.ne1.yahoo.com with HTTP; Sun, 19 Dec 2021 11:07:24 +0000 Original-Received: by kubenode503.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 74cc1cdcde773f181ac5d30b39fb10ab; Sun, 19 Dec 2021 11:07:21 +0000 (UTC) In-Reply-To: <87wnk07tfq.fsf@yahoo.com> (Po Lu's message of "Sun, 19 Dec 2021 18:58:01 +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.184.146; envelope-from=luangruo@yahoo.com; helo=sonic309-20.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:282408 Archived-At: Po Lu writes: > =C3=93scar Fuentes writes: > >> The hacker must track those conditionals while reading the source. > > Which takes very little effort. > >> Somehow we must ensure that the existing and future hackers should know >> about this ;-) > > If you are right and nobody cares about Motif, then they won't bother to > keep the Motif port building either. > >> What I've read from you about motif on this thread convinced me to give >> it a try, but let's face it, the display code is rotten spaghetti (much >> of Emacs' C sources are rotten spaghetti, but the display part is far >> worse) and removing some of the umpteen backends would be a start to >> improve things. > > Removing tiny pieces of code, most of which are tucked away in lwlib/, > will not improve the "rotten spaghetti" that is the display code (which > is already a statement I disagree with.) > >> If Motif is so good, maybe remove Lucid? > > "Lucid" is just the widget library used to interface with (partially) > both Motif and the variants of Athena widgets. > > Both the Motif build and the "Lucid" build use the Lucid library. Even > the GTK build, PGTK port, NS port and W32 port use parts of the Lucid > library for handling menus. The only GUI port that is completely free > of lwlib is the Haiku port. In short: you (and many other people who have not worked with the X port) are grossly overstating the amount of work needed to keep the Motif build working, and how difficult it is to comprehend. New hackers will likely have much more trouble understanding the GTK code than the code for a well-behaved X toolkit such as Motif. IME, they will also have more difficulties understanding X in general, which is quite different from other contemporary window systems. For example, do you really understand what we do in `XTflash' with the various versions of GTK and Cairo? I apologize in advance if this reply appears to have an accausatory tone: if it does, I didn't intend for it to be that way, but I couldn't find another wording that would get the point accross. Thanks.