From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Adam_Sj=C3=B8gren?= Newsgroups: gmane.emacs.devel Subject: Re: long-standing GTK bug Date: Sat, 08 May 2021 13:51:30 +0200 Organization: koldfront - analysis & revolution, Copenhagen, Denmark Message-ID: <87o8dl8mv1.fsf@tullinup.koldfront.dk> References: <83zhbcg6s4.fsf@gnu.org> <87r1wng2ki.fsf@linaro.org> <83o8rrenn1.fsf@gnu.org> <87blnr6uck.fsf@tullinup.koldfront.dk> <87wo5kumkn.fsf_-_@tullinup.koldfront.dk> <86ftc5hc8j.fsf@gmail.com> <87d079io10.fsf@tullinup.koldfront.dk> <87ftbyokll.fsf@tullinup.koldfront.dk> <83a71c71id.fsf@gnu.org> <83sgf356sy.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="blaine.gmane.org:116.202.254.214"; logging-data="32494"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) To: emacs-devel@gnu.org Cancel-Lock: sha1:7Wf4ZFUsqKQB6FJjjJGgksRigN4= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat May 08 13:52:42 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 1lfLVh-0008N3-7w for ged-emacs-devel@m.gmane-mx.org; Sat, 08 May 2021 13:52:41 +0200 Original-Received: from localhost ([::1]:43852 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lfLVg-0006hR-BQ for ged-emacs-devel@m.gmane-mx.org; Sat, 08 May 2021 07:52:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42992) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lfLUm-0005OU-Ag for emacs-devel@gnu.org; Sat, 08 May 2021 07:51:44 -0400 Original-Received: from ciao.gmane.io ([116.202.254.214]:43516) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lfLUj-0002mx-80 for emacs-devel@gnu.org; Sat, 08 May 2021 07:51:44 -0400 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1lfLUg-00073m-1z for emacs-devel@gnu.org; Sat, 08 May 2021 13:51:38 +0200 X-Injected-Via-Gmane: http://gmane.org/ OpenPGP: id=476630590A231909B0A0961A49D0746121BDE416; url=https://asjo.koldfront.dk/gpg.asc X-Face: )qY&CseJ?.:=8F#^~GcSA?F=9eu'{KAFfL1C3/A&:nE?PW\i65"ba0NS)97, Q(^@xk}n4Ou rPuR#V8I(J_@~H($[ym:`K_+]*kjvW>xH5jbgLBVFGXY:(#4P>zVBklLbdL&XxL\M)%T}3S/IS9lMJ ^St'=VZBR 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:269040 Archived-At: A long time ago (Wed, 10 Jun 2020), Eli wrote: > I think someone is working on an Emacs configuration that will support > only GTK, and that configuration should then be able to do that. I was intrigued by this, and today checked out the feature/pgtk branch and compiled Emacs --with-pgtk. The branch still retains the X connection after the last window is closed on a second computer, and terminating the ssh-connection with ^C terminates Emacs. I.e. what I talked about here: · https://lists.gnu.org/archive/html/emacs-devel/2020-05/msg01353.html However, if I remove the workaround - the if() that sets terminal->reference_count to 1 in frame.c - and connect to a running pure GTK Emacs from a different computer displaying a remote X window using emacsclient, and then close it, Emacs keeps running on the original screen and GTK does not spew an endless list of warnings. So the original long standing GTK problem¹ is indeed solved by the pure GTK branch. \o/, Adam ¹ https://lists.gnu.org/archive/html/emacs-devel/2020-05/msg02298.html https://lists.gnu.org/archive/html/emacs-devel/2010-10/msg00927.html -- "Ge mig en vinterdrog, ge mig allt du har Adam Sjøgren Kom nu jag är kroniskt låg, bara mörkret hörs" asjo@koldfront.dk