From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Phillip Susi Newsgroups: gmane.emacs.bugs Subject: bug#63555: closed (Re: bug#63555: emacs 29 complains that it can't connect to the display) Date: Sat, 20 May 2023 13:35:56 -0400 Message-ID: <87a5xyrjce.fsf@vps.thesusis.net> References: <83ednbrwfp.fsf@gnu.org> <87ttwbawse.fsf@vps.thesusis.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10300"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.7.12; emacs 27.1 To: 63555@debbugs.gnu.org, Eli Zaretskii , Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat May 20 19:42:20 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 1q0Qax-0002Pc-CV for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 20 May 2023 19:42:19 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q0Qah-0003QI-AO; Sat, 20 May 2023 13:42: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 1q0Qag-0003Pw-2X for bug-gnu-emacs@gnu.org; Sat, 20 May 2023 13:42: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 1q0Qaf-0001cu-Nd for bug-gnu-emacs@gnu.org; Sat, 20 May 2023 13:42:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q0Qaf-0008Gm-JE for bug-gnu-emacs@gnu.org; Sat, 20 May 2023 13:42:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Phillip Susi Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 20 May 2023 17:42: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.168460450931770 (code B ref 63555); Sat, 20 May 2023 17:42:01 +0000 Original-Received: (at 63555) by debbugs.gnu.org; 20 May 2023 17:41:49 +0000 Original-Received: from localhost ([127.0.0.1]:59342 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q0QaS-0008GM-M5 for submit@debbugs.gnu.org; Sat, 20 May 2023 13:41:48 -0400 Original-Received: from vps.thesusis.net ([34.202.238.73]:44374) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q0QaM-0008G3-SB for 63555@debbugs.gnu.org; Sat, 20 May 2023 13:41:46 -0400 Original-Received: by vps.thesusis.net (Postfix, from userid 1000) id A163812056F; Sat, 20 May 2023 13:41:37 -0400 (EDT) In-reply-to: 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:262066 Archived-At: Eli Zaretskii writes: > > Can we invoke those same functions earlier during startup to realize > > this fact where we still can start as -nw? > > Unfortunately not. At least, not enough to make a change suitable for > the release branch. Why not? How hard can it be to set -nw if neither DISPLAY nor WAYLAND_DISPLAY is set, as emacs always has, prior to window-system-initialization? > Btw, the Emacs user manual says WAYLAND_DISPLAY is the variable used > by PGTK, which you seem to say is inaccurate? Yes, WAYLAND_DISPLAY is used if it is set ( as it will be under wayland ), or DISPLAY otherwise ( under X11, or wayland with Xwayland ).