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: Sat, 25 Dec 2021 21:36:28 +0800 Message-ID: <871r20957n.fsf@yahoo.com> References: <87ilvgwfor.fsf@telefonica.net> <834k6zwvi1.fsf@gnu.org> <87h7azilmu.fsf@yahoo.com> <87sfujh4a2.fsf@yahoo.com> <877dbuhm6j.fsf@yahoo.com> <87tueyg5gc.fsf@yahoo.com> <83y24asbh4.fsf@gnu.org> <83tuexqh7w.fsf@gnu.org> <9c04ef31-96e0-1874-7385-633435a28b5f@yandex.ru> <83lf08rk27.fsf@gnu.org> <2ac64757-b8f7-e60a-4d3d-51aa1a13c812@yandex.ru> <87pmpk99da.fsf@yahoo.com> <7a70a731-9e75-ba45-067b-6631b888634c@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19080"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux) Cc: Eli Zaretskii , stefankangas@gmail.com, drew.adams@oracle.com, emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Dec 25 14:37:31 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 1n17Ep-0004mP-9C for ged-emacs-devel@m.gmane-mx.org; Sat, 25 Dec 2021 14:37:31 +0100 Original-Received: from localhost ([::1]:34772 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n17Eo-0003zL-62 for ged-emacs-devel@m.gmane-mx.org; Sat, 25 Dec 2021 08:37:30 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:42300) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n17E2-0003JE-Dk for emacs-devel@gnu.org; Sat, 25 Dec 2021 08:36:42 -0500 Original-Received: from sonic314-20.consmr.mail.ne1.yahoo.com ([66.163.189.146]:37502) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n17E1-0008VY-24 for emacs-devel@gnu.org; Sat, 25 Dec 2021 08:36:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1640439399; bh=dQJdOTBPXfywrlmFetTWg7K8xKPehOsGId+fuzdB94A=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=uWdo509Hr26DIoHZ8fl74TRFQhpd8UeYwxnEbTOzXcznkFAkSmY7ODY7/xmSlcD4EV+LzFla8krKH4xNGo/Goco5IRfePJ2M0gBnzvGjaHSw8Rpqt0V9oJPy2VE/RX/Bjz/G/ZDeHV9QHWLx1IoY81U52bKduwaIk6iRGdD1HOQA5k2dlfwUH1F2hNu2K6XqZNyVr0vn0X4oFLV1kh95cywTeXILL3Om0grlr9Y1QweRhinjwuDLAM/gAXQgmnGS4PLMVvXOEyq4BitCR4Xg6kNZ25hNoR6FkoNRWvW/3bHDXY85oYEolg2vAfGseqXP+gHCptXUWFjdVQVW3Vuz6Q== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1640439399; bh=sXD2Z5Fl3vjbmMajkSSVFUULHCJYzg1EEUiIu1LdUSD=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=DGGIpovkfHyNfcu2/rStA/6UVrjc89rqFF/aGODV6KllZJka7PJfunvhR7JbsgJYSQFx+Hu5eYQlCm4wLhZXr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zaprCVdwTNfPIfyj3s f3gu3OLOYzNJqOZ6xLU_CCpUq4yeaOOoLNTxefD4Rb X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.ne1.yahoo.com with HTTP; Sat, 25 Dec 2021 13:36:39 +0000 Original-Received: by kubenode518.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID b6fd5db91e6a5d90383e24d55d8f23e4; Sat, 25 Dec 2021 13:36:34 +0000 (UTC) In-Reply-To: <7a70a731-9e75-ba45-067b-6631b888634c@yandex.ru> (Dmitry Gutov's message of "Sat, 25 Dec 2021 15:08:31 +0200") 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.146; envelope-from=luangruo@yahoo.com; helo=sonic314-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:283224 Archived-At: Dmitry Gutov writes: > But there *is* value in dropping unused ports: the trimming of the > #ifdefs forest, as well as less work for regular contributors to keep > code compiling under various conditions. I took care to keep the ifdefs down to a minimum when developing the Haiku port. I would consider it being referred to as an "ifdef forest" to be an insult. IME, image.c and xterm.c are the only places where an "ifdef forest" related to toolkits and window systems really exists. With image.c, someone just has to put the work required to clean it up, there need not be any changes elsewhere. With xterm.c, 90% of the problem is GTK. Other toolkits and the no-toolkit build don't really contribute to the "maze of ifdefs" effect.