From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Alan Third Newsgroups: gmane.emacs.devel Subject: Re: emacs for pure Gtk3 Date: Tue, 28 Apr 2020 21:09:36 +0100 Message-ID: <20200428200936.GA94377@breton.holly.idiocy.org> References: <834kt673cy.fsf@gnu.org> <20200427.213727.386515228111850912.masm@luna.pink.masm11.me> <83o8rd3r8l.fsf@gnu.org> <20200428.224253.781145536690351960.masm@luna.pink.masm11.me> <835zdj3cie.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="80392"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Yuuki Harano , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Apr 28 22:22:35 2020 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 1jTWkV-000KoF-TJ for ged-emacs-devel@m.gmane-mx.org; Tue, 28 Apr 2020 22:22:35 +0200 Original-Received: from localhost ([::1]:49552 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jTWkU-0006xS-SI for ged-emacs-devel@m.gmane-mx.org; Tue, 28 Apr 2020 16:22:34 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38022) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jTWg3-0001Tk-4T for emacs-devel@gnu.org; Tue, 28 Apr 2020 16:21:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jTWeA-0000FG-Ij for emacs-devel@gnu.org; Tue, 28 Apr 2020 16:17:58 -0400 Original-Received: from idiocy.org ([217.169.17.33]:56431 helo=breton.holly.idiocy.org) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jTWaD-00059C-Ge; Tue, 28 Apr 2020 16:11:58 -0400 Original-Received: by breton.holly.idiocy.org (Postfix, from userid 501) id 06827202262BC1; Tue, 28 Apr 2020 21:09:36 +0100 (BST) Mail-Followup-To: Alan Third , Eli Zaretskii , Yuuki Harano , emacs-devel@gnu.org Content-Disposition: inline In-Reply-To: <835zdj3cie.fsf@gnu.org> Received-SPF: none client-ip=217.169.17.33; envelope-from=alan@breton.holly.idiocy.org; helo=breton.holly.idiocy.org X-detected-operating-system: by eggs.gnu.org: First seen = 2020/04/28 16:09:52 X-ACL-Warn: Detected OS = Mac OS X [generic] [fuzzy] X-Received-From: 217.169.17.33 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:248048 Archived-At: On Tue, Apr 28, 2020 at 05:34:17PM +0300, Eli Zaretskii wrote: > > Date: Tue, 28 Apr 2020 22:42:53 +0900 (JST) > > Cc: emacs-devel@gnu.org > > From: Yuuki Harano > > > > Since it needs --without-x to build pgtk emacs, these files are not compiled: > > - xfns.c > > - xgselect.c > > - xmenu.c > > - xrdb.c > > - xselect.c > > - xsmfns.c > > - xterm.c > > > > Instead, works in those files are done in these files in pure gtk way: > > - pgtkfns.c > > - pgtkim.c > > - pgtkmenu.c > > - pgtkselect.c > > - pgtkterm.c > > That's a lot of functionality to rewrite from scratch. A pure GTK port is more akin to the NS port running on GNUstep. There should be no X code at all, but it still works on X. The current GTK support is really just X code with some GTK sprinkled over the top. It’s impossible to remove the X code without rewriting everything. -- Alan Third