From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: emacs for pure Gtk3 Date: Tue, 28 Apr 2020 17:34:17 +0300 Message-ID: <835zdj3cie.fsf@gnu.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> Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="72606"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Yuuki Harano Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Apr 28 16:36:07 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 1jTRLD-000Iob-Gu for ged-emacs-devel@m.gmane-mx.org; Tue, 28 Apr 2020 16:36:07 +0200 Original-Received: from localhost ([::1]:33008 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jTRLC-0002kk-Ed for ged-emacs-devel@m.gmane-mx.org; Tue, 28 Apr 2020 10:36:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45800) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jTRJp-0000pl-Hf for emacs-devel@gnu.org; Tue, 28 Apr 2020 10:35:05 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:60344) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jTRJn-0003X8-Vv; Tue, 28 Apr 2020 10:34:40 -0400 Original-Received: from [176.228.60.248] (port=2953 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jTRJm-0000bz-Rj; Tue, 28 Apr 2020 10:34:39 -0400 In-Reply-To: <20200428.224253.781145536690351960.masm@luna.pink.masm11.me> (message from Yuuki Harano on Tue, 28 Apr 2020 22:42:53 +0900 (JST)) 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:248022 Archived-At: > 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. > >> Pgtk emacs supports X window system too through Gtk library. > >> It can handle Wayland, X window system, and TTY in the same session. > >> But segmentation fault may occur when running on X and Wayland > >> in the same session. > > > > I guess those segfaults need to be fixed, because having a GUI Emacs > > that can only run on Wayland would be a limitation that users might be > > unhappy about? > > Yes, I think so, too. > > I remember that Emacs has previously an issue when multiple display > environments. I thought that the segfaults was the same issue. > Was that fixed? I don't think I understand what issues you had in mind. Can you give any details, so I could look up those issues? > luna:emacs % emacs --batch -l test/src/thread-tests.el > luna:emacs % echo $? > 0 > luna:emacs % > ---- > > Did it succeed? Probably. But instead of running the tests blind, it is better to do this: % cd test % make src/thread-tests This will display the summary of the tests, and say explicitly whether all of the passed. Thanks.