From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: long-standing GTK bug Date: Sun, 09 May 2021 12:27:19 +0200 Message-ID: <87fsyw42yg.fsf@gmail.com> 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> <87o8dl8mv1.fsf@tullinup.koldfront.dk> 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="38268"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Adam =?utf-8?Q?Sj=C3=B8gren?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun May 09 12:28:23 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 1lfgff-0009oB-JW for ged-emacs-devel@m.gmane-mx.org; Sun, 09 May 2021 12:28:23 +0200 Original-Received: from localhost ([::1]:34622 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lfgfe-00035T-Ip for ged-emacs-devel@m.gmane-mx.org; Sun, 09 May 2021 06:28:22 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33602) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lfgej-0002OQ-MR for emacs-devel@gnu.org; Sun, 09 May 2021 06:27:25 -0400 Original-Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]:46938) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lfgei-0007wN-0x for emacs-devel@gnu.org; Sun, 09 May 2021 06:27:25 -0400 Original-Received: by mail-wr1-x42b.google.com with SMTP id x5so13572536wrv.13 for ; Sun, 09 May 2021 03:27:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:gmane-reply-to-list:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=bU15oRJd9YBNMaWpbSN6OS5zfYyiL1oS78eO4NxBlPQ=; b=aZl4rwfF41pO6PrAFTSpZdMmcKIyk5Xz5PKIzOQetKn0OPydgG4eE3z4oaqCgBugUY 3TfUNOaFRFSydRxsHY6Kw8eLj0HzDWnLNdRvEpUEJADNnXP3bDaKT1ntO7UlpSQ9bwvQ t6IAlQF4ajIGe9cbI5beDQtlFkRHt5MJMiVOT8x105F3QjOSr6i9XXtifUNj7h7sy71A lt2otyOEzKgE5i6rHavb6SvutR8xhXXI0ejXiDNX20QIpckce34tphHZ1owd8BlYyyTr PBOLAkzGqgWWOHxbbF2+enPHQlir0MySSHf6frzilyE480FWUE8xEpBwypdm3jlN4gOS pn3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references :gmane-reply-to-list:date:in-reply-to:message-id:mime-version :content-transfer-encoding; bh=bU15oRJd9YBNMaWpbSN6OS5zfYyiL1oS78eO4NxBlPQ=; b=WCDu13eU8nsSb6d91B0TSsSSM68La3al2YndPbv42DMFe37+6ClCC82AGLYETACHmj kxHSQK9Pt0a5k3EGYpKFkfF147oXFVD9JtKTIKalnndLrNeqztfdowcvFPF+vF/ScjNN OA2xRs0FuEsTIbdyHCFDi6h5yq9GCmYJgzurSHsIQiZpcpepjV7bVx9QTH00QjTi0NHd IQrLNcz90QtRM3YXT/GgjjZLhxZuyzFfXD4/K5ksCC4/aOqJrp8ZV78v9R8yOvv6sI+I XkQNwMVhiNpbgyzAVlyuQWGUKvZ7X23kKYH28Zxv8iu2y3v5HN9hQzwDf5FtnkzkDFwj 1UGg== X-Gm-Message-State: AOAM531OZxmrXXabcQ5tQ+Iss1+IVwijr6wPmLqDjRYMkhoEBEPOuOQE oye1KN5+KyWIKtWwtpjxfB6Vr51mseY= X-Google-Smtp-Source: ABdhPJyIKmLhe+pbF8wOKLdS9L98Tkye1qz3c9p4dRdPA+DHcGjFEOaNMJAV80LrZLH0DZsNmwciIQ== X-Received: by 2002:a05:6000:1c1:: with SMTP id t1mr23930852wrx.421.1620556041369; Sun, 09 May 2021 03:27:21 -0700 (PDT) Original-Received: from rltb ([82.66.8.55]) by smtp.gmail.com with ESMTPSA id r13sm18252441wrn.2.2021.05.09.03.27.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 09 May 2021 03:27:20 -0700 (PDT) Gmane-Reply-To-List: yes In-Reply-To: <87o8dl8mv1.fsf@tullinup.koldfront.dk> ("Adam =?utf-8?Q?Sj?= =?utf-8?Q?=C3=B8gren=22's?= message of "Sat, 08 May 2021 13:51:30 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::42b; envelope-from=rpluim@gmail.com; helo=mail-wr1-x42b.google.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, 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.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:269077 Archived-At: >>>>> On Sat, 08 May 2021 13:51:30 +0200, Adam Sj=C3=B8gren said: Adam> A long time ago (Wed, 10 Jun 2020), Eli wrote: >> I think someone is working on an Emacs configuration that will suppo= rt >> only GTK, and that configuration should then be able to do that. Adam> I was intrigued by this, and today checked out the feature/pgtk b= ranch Adam> and compiled Emacs --with-pgtk. Adam> The branch still retains the X connection after the last window is Adam> closed on a second computer, and terminating the ssh-connection w= ith ^C Adam> terminates Emacs. Adam> I.e. what I talked about here: Adam> =C2=B7 https://lists.gnu.org/archive/html/emacs-devel/2020-05/ms= g01353.html Adam> However, if I remove the workaround - the if() that sets terminal-> reference_count to 1 in frame.c - and connect to a running Adam> pure GTK Emacs from a different computer displaying a remote X wi= ndow Adam> using emacsclient, and then close it, Emacs keeps running on the Adam> original screen and GTK does not spew an endless list of warnings. Adam> So the original long standing GTK problem=C2=B9 is indeed solved = by the pure Adam> GTK branch. Interesting, but ENOPATCH :-) (there=CA=BCs a separate test that needs doing using waypipe rather than ssh X forwarding. I think that one causes an abort somewhere inside GTK) Robert --=20