From mboxrd@z Thu Jan 1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: Peter Oliver
Newsgroups: gmane.emacs.bugs
Subject: bug#63555: emacs 29 complains that it can't connect to the display
Date: Sun, 14 Jul 2024 22:00:26 +0100 (BST)
Message-ID: <85b0fc7b-6a6e-a780-841f-c3040bf672dc@mavit.org.uk>
References: <87ttwbawse.fsf@vps.thesusis.net>
Mime-Version: 1.0
Content-Type: multipart/mixed;
boundary="-1463811584-1365066947-1720990826=:8268"
Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214";
logging-data="3443"; mail-complaints-to="usenet@ciao.gmane.io"
To: 63555@debbugs.gnu.org
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jul 14 23:02:18 2024
Return-path:
Envelope-to: geb-bug-gnu-emacs@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 1sT6MK-0000cs-PC
for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 14 Jul 2024 23:02:17 +0200
Original-Received: from localhost ([::1] helo=lists1p.gnu.org)
by lists.gnu.org with esmtp (Exim 4.90_1)
(envelope-from )
id 1sT6M7-00006w-90; Sun, 14 Jul 2024 17:02:03 -0400
Original-Received: from eggs.gnu.org ([2001:470:142:3::10])
by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from )
id 1sT6M5-00006S-5h
for bug-gnu-emacs@gnu.org; Sun, 14 Jul 2024 17:02:01 -0400
Original-Received: from debbugs.gnu.org ([2001:470:142:5::43])
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.90_1) (envelope-from )
id 1sT6M4-0006ES-TV
for bug-gnu-emacs@gnu.org; Sun, 14 Jul 2024 17:02:00 -0400
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
(envelope-from ) id 1sT6M6-000450-DT
for bug-gnu-emacs@gnu.org; Sun, 14 Jul 2024 17:02:02 -0400
X-Loop: help-debbugs@gnu.org
In-Reply-To: <87ttwbawse.fsf@vps.thesusis.net>
Resent-From: Peter Oliver
Original-Sender: "Debbugs-submit"
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Sun, 14 Jul 2024 21:02:02 +0000
Resent-Message-ID:
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 63555
X-GNU-PR-Package: emacs
Original-Received: via spool by 63555-submit@debbugs.gnu.org id=B63555.172099089315640
(code B ref 63555); Sun, 14 Jul 2024 21:02:02 +0000
Original-Received: (at 63555) by debbugs.gnu.org; 14 Jul 2024 21:01:33 +0000
Original-Received: from localhost ([127.0.0.1]:58639 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from )
id 1sT6Ld-00044B-B4
for submit@debbugs.gnu.org; Sun, 14 Jul 2024 17:01:33 -0400
Original-Received: from mail-wm1-f42.google.com ([209.85.128.42]:59521)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from ) id 1sT6La-000443-T7
for 63555@debbugs.gnu.org; Sun, 14 Jul 2024 17:01:31 -0400
Original-Received: by mail-wm1-f42.google.com with SMTP id
5b1f17b1804b1-426636ef8c9so24343545e9.2
for <63555@debbugs.gnu.org>; Sun, 14 Jul 2024 14:01:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=mavit.org.uk; s=google; t=1720990828; x=1721595628; darn=debbugs.gnu.org;
h=mime-version:message-id:subject:to:from:date:from:to:cc:subject
:date:message-id:reply-to;
bh=3sApA+FQyRAeJ3oDCg7Nl/Po1kzjJU9mzIyC+wa7Fqk=;
b=CJwrKSaPDecFm6xCgnvNxlmIDOm2JK9HuiqC6inJSSFejgxdCTNbiHCf1Dj+Jblt0C
Wv1aiodvKKIdUfh8ispVdmipsPoqCJysJGUt78guAjoF9u2QOpJ6NGd+TJHx3AYhjapt
LsuEr7eHAIB/HJDIpaHClik/WqK7s9zUO9+1U=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1720990828; x=1721595628;
h=mime-version:message-id:subject:to:from:date:x-gm-message-state
:from:to:cc:subject:date:message-id:reply-to;
bh=3sApA+FQyRAeJ3oDCg7Nl/Po1kzjJU9mzIyC+wa7Fqk=;
b=bsUvhX1UlepZG7djZeeNswHUkqnJf7zuXn+65FQ5Popb8DxX1fhLThDHt7SlBjwj/1
nfs17MeJZUsmos/3MYstWX9vk/L9e7jE8K5/sL/4OwaLExZj8N0e9c3GS+QOS1CgzEnt
rg5DupeZzMHHJ5y1VdJA9SIc5aSW78Zuat7BGMEt2AvgC9saQy074+UCNX1B888gutBp
UnHh8Q0O/YcldrBZY0L+Pkq9No7QbsONTDd50Nddphx/6tlD2ZegD01dH0c4MvKeEZRG
07N1cNTTlcv7R0R7Sa6aE4HWKzB6WrbfHkPWHEPRFRnXDViVbaNVVN+guHK1yCVREUXZ
bQLQ==
X-Gm-Message-State: AOJu0YyN2lU8H0LtMQnNvXv/jI0nHUkCRwMKizdtH6qQSqaAPWNxcx+d
8JPL4e5eejA2JDXzR4759VPn9dJYqG9xWdlDxWCGXPh/9U4DiC5gJgGzxjKAzAUTKY2WrghsaKs
=
X-Google-Smtp-Source: AGHT+IFGPgw464wxzE94TEZX9TZNQkgfhRhXIKAksAycl4nwNzR8GSNlw3q26VVLVLpNRSamQ3jRHA==
X-Received: by 2002:a05:600c:42ca:b0:426:549c:294c with SMTP id
5b1f17b1804b1-426708fa7d0mr122084445e9.35.1720990827776;
Sun, 14 Jul 2024 14:00:27 -0700 (PDT)
Original-Received: from froglet.home.mavit.org.uk
(dudl-14-b2-v4wan-165806-cust1021.vm31.cable.virginm.net. [82.32.147.254])
by smtp.gmail.com with ESMTPSA id
5b1f17b1804b1-426740d88bcsm151794185e9.1.2024.07.14.14.00.27
for <63555@debbugs.gnu.org>
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Sun, 14 Jul 2024 14:00:27 -0700 (PDT)
Original-Received: from froglet.home.mavit.org.uk (localhost [127.0.0.1])
by froglet.home.mavit.org.uk (8.18.1/8.17.1) with ESMTPS id 46EL0Qni098204
(version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT)
for <63555@debbugs.gnu.org>; Sun, 14 Jul 2024 22:00:26 +0100
Original-Received: from localhost (mavit@localhost)
by froglet.home.mavit.org.uk (8.18.1/8.18.1/Submit) with ESMTP id
46EL0QP0098196
for <63555@debbugs.gnu.org>; Sun, 14 Jul 2024 22:00:26 +0100
X-Authentication-Warning: froglet.home.mavit.org.uk: mavit owned process doing
-bs
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
X-BeenThere: bug-gnu-emacs@gnu.org
List-Id: "Bug reports for GNU Emacs,
the Swiss army knife of text editors"
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org
Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org
Xref: news.gmane.io gmane.emacs.bugs:288849
Archived-At:
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
---1463811584-1365066947-1720990826=:8268
Content-Type: text/plain; format=flowed; charset=ISO-8859-7
Content-Transfer-Encoding: 8BIT
FWIW, here is a patch which causes Emacs to check that at least one of the environment variables WAYLAND_DISPLAY, DISPLAY, BROADWAY_DISPLAY is set before it will try to use PGTK for its initial window.
This patch is not suitable for merging, because it doesn˘t consider what happens if you try to use PGTK on Windows or MacOS. However, people might find it useful if they˘re not using one of those platforms.
This patch depends on the patch for bug 72118.
--
Peter Oliver
---1463811584-1365066947-1720990826=:8268
Content-Type: text/plain; charset=UTF-8; name=0002-Fall-back-to-the-terminal-from-pure-GTK-when-no-disp.patch
Content-Transfer-Encoding: BASE64
Content-ID: <5e3f5739-b86c-03a0-61fb-b9d77a818d14@froglet.home.mavit.org.uk>
Content-Description:
Content-Disposition: attachment; filename=0002-Fall-back-to-the-terminal-from-pure-GTK-when-no-disp.patch
RnJvbSA3MDk5NTc4ZjE4YjFlYTZhMTY4YjE4ODNmYTdhNGFjN2Y0OWZjMDhm
IE1vbiBTZXAgMTcgMDA6MDA6MDAgMjAwMQ0KRnJvbTogUGV0ZXIgT2xpdmVy
IDxnaXRAbWF2aXQub3JnLnVrPg0KRGF0ZTogU3VuLCAxNCBKdWwgMjAyNCAy
MDo0NzoxNCArMDEwMA0KU3ViamVjdDogW1BBVENIIDIvMl0gRmFsbCBiYWNr
IHRvIHRoZSB0ZXJtaW5hbCBmcm9tIHB1cmUgR1RLIHdoZW4gbm8gZGlzcGxh
eQ0KIGlzIGF2YWlsYWJsZQ0KTUlNRS1WZXJzaW9uOiAxLjANCkNvbnRlbnQt
VHlwZTogdGV4dC9wbGFpbjsgY2hhcnNldD1VVEYtOA0KQ29udGVudC1UcmFu
c2Zlci1FbmNvZGluZzogOGJpdA0KDQoqIHNyYy9kaXNwbmV3LmMgKGluaXRf
ZGlzcGxheV9pbnRlcmFjdGl2ZSk6IE9ubHkgdXNlIFBHVEsgd2luZG93aW5n
IGlmDQphdCBsZWFzdCBvbmUgb2YgdGhlIGVudmlyb25tZW50IHZhcmlhYmxl
cyBXQVlMQU5EX0RJU1BMQVksIERJU1BMQVksDQpCUk9BRFdBWV9ESVNQTEFZ
IGlzIHNldC4gIChCdWcjNjM1NTUpDQoNClRoaXMgcGF0Y2ggaXMgbm90IHN1
aXRhYmxlIGZvciBtZXJnaW5nLCBiZWNhdXNlIGl0IGRvZXNu4oCZdCBjb25z
aWRlcg0Kd2hhdCBoYXB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