From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#63555: emacs 29 complains that it can't connect to the display Date: Sat, 20 May 2023 08:51:47 +0300 Message-ID: <83zg5zsg7g.fsf@gnu.org> References: <87ttwbawse.fsf@vps.thesusis.net> <83v8gou9yb.fsf@gnu.org> <87a5y04wgh.fsf@yahoo.com> <87ednclael.fsf@gmail.com> <83h6s8tlux.fsf@gnu.org> <87wn133hmz.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23741"; mail-complaints-to="usenet@ciao.gmane.io" Cc: rpluim@gmail.com, phill@thesusis.net, 63555@debbugs.gnu.org To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat May 20 07:52:27 2023 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 1q0FVz-0005ye-Kp for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 20 May 2023 07:52:27 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q0FVc-0003C4-E1; Sat, 20 May 2023 01:52:04 -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 1q0FVa-0003Bw-1g for bug-gnu-emacs@gnu.org; Sat, 20 May 2023 01:52:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q0FVZ-0000dD-PL for bug-gnu-emacs@gnu.org; Sat, 20 May 2023 01:52:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q0FVZ-0005rT-Kh for bug-gnu-emacs@gnu.org; Sat, 20 May 2023 01:52:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 20 May 2023 05:52:01 +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.168456189922480 (code B ref 63555); Sat, 20 May 2023 05:52:01 +0000 Original-Received: (at 63555) by debbugs.gnu.org; 20 May 2023 05:51:39 +0000 Original-Received: from localhost ([127.0.0.1]:57756 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q0FVC-0005qW-OG for submit@debbugs.gnu.org; Sat, 20 May 2023 01:51:39 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:42484) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q0FVA-0005pk-Qy for 63555@debbugs.gnu.org; Sat, 20 May 2023 01:51:37 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q0FV5-0000V6-Am; Sat, 20 May 2023 01:51:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=AHzSFMlkmGKoiUX1tgFQi6BTfpot0fkNbanfKdiS7rg=; b=mRmiDqfuyZwz kn3se6Po4S62+Jguqt5bID2QaJE2orK71pOhlT8cvu2T++IeND88XV7H5E+qZnJkRx5G9KfuoYeNV gHn2A2+UKlt0S4U0L+MvdjsHYDnpIQniqa21AClMWe43JttpvzonQiUovt7oH/gdGGU+vgXp7doPK t9Iw79mIn/efii1wOftO3l08FIK1j6nrkbMexDFEkxJEqFsG300Xm56HCSsYkd4jWSLXhE3ItG1pD gfCuCvoaR9TPxjWBGEHUwRC50dzIagUHiqSuAMRzK8b4BRAksPI86gXsNZNl0xPo3MK81KPsrLFNU gRd5hQ1Z06RptwokylOc+g==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q0FV4-000494-Me; Sat, 20 May 2023 01:51:31 -0400 In-Reply-To: <87wn133hmz.fsf@yahoo.com> (message from Po Lu on Sat, 20 May 2023 09:40:04 +0800) 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:262032 Archived-At: > From: Po Lu > Cc: Robert Pluim , phill@thesusis.net, > 63555@debbugs.gnu.org > Date: Sat, 20 May 2023 09:40:04 +0800 > > Eli Zaretskii writes: > > > How did this work in Emacs 28, then? IOW, which change broke this > > feature on Wayland? > > Emacs 28 didn't have a PGTK build at all. > > The trick in dispnew.c doesn't work on a PGTK build, because Emacs > doesn't know every one of the environment variables GDK backends look at > when trying to find a default display. So if Phillip is indeed using a > PGTK build, there is no bug here. Why cannot we "simulate -nw" where we issue the error message that we cannot connect to the display server? At that point, we presumably already know that the default display could not be found.