GNU logs - #63555, boring messages


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#63555: emacs 29 complains that it can't connect to the display
Resent-From: Phillip Susi <phill@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 17 May 2023 13:55:03 +0000
Resent-Message-ID: <handler.63555.B.16843316585760 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 63555
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 63555 <at> debbugs.gnu.org
X-Debbugs-Original-To: submit <at> debbugs.gnu.org
Received: via spool by submit <at> debbugs.gnu.org id=B.16843316585760
          (code B ref -1); Wed, 17 May 2023 13:55:03 +0000
Received: (at submit) by debbugs.gnu.org; 17 May 2023 13:54:18 +0000
Received: from localhost ([127.0.0.1]:49347 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pzHbd-0001Uq-Oc
	for submit <at> debbugs.gnu.org; Wed, 17 May 2023 09:54:17 -0400
Received: from vps.thesusis.net ([34.202.238.73]:47736)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <phill@HIDDEN>) id 1pzHbb-0001UQ-Do
 for submit <at> debbugs.gnu.org; Wed, 17 May 2023 09:54:15 -0400
Received: by vps.thesusis.net (Postfix, from userid 1000)
 id EDE5011FDA1; Wed, 17 May 2023 09:54:09 -0400 (EDT)
User-agent: mu4e 1.7.12; emacs 27.1
From: Phillip Susi <phill@HIDDEN>
Date: Wed, 17 May 2023 09:51:43 -0400
Message-ID: <87ttwbawse.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Package: emacs
Version: 29.0.90

In previous versions of emacs, if the DISPLAY/WAYLAND_DISPLAY variable
was not set, it would default to tty mode.  In version 29, it seems to
assume a default value and complains that it can't connect to the
display server unless you run it with -nw.





Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Phillip Susi <phill@HIDDEN>
Subject: bug#63555: Acknowledgement (emacs 29 complains that it can't
 connect to the display)
Message-ID: <handler.63555.B.16843316585760.ack <at> debbugs.gnu.org>
References: <87ttwbawse.fsf@HIDDEN>
X-Gnu-PR-Message: ack 63555
X-Gnu-PR-Package: emacs
Reply-To: 63555 <at> debbugs.gnu.org
Date: Wed, 17 May 2023 13:55:03 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-gnu-emacs@HIDDEN

If you wish to submit further information on this problem, please
send it to 63555 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
63555: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D63555
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#63555: emacs 29 complains that it can't connect to the display
References: <87ttwbawse.fsf@HIDDEN>
In-Reply-To: <87ttwbawse.fsf@HIDDEN>
Resent-From: Phillip Susi <phill@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 17 May 2023 14:14:01 +0000
Resent-Message-ID: <handler.63555.B63555.16843328159393 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 63555
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 63555 <at> debbugs.gnu.org
Received: via spool by 63555-submit <at> debbugs.gnu.org id=B63555.16843328159393
          (code B ref 63555); Wed, 17 May 2023 14:14:01 +0000
Received: (at 63555) by debbugs.gnu.org; 17 May 2023 14:13:35 +0000
Received: from localhost ([127.0.0.1]:50570 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pzHuJ-0002RR-4T
	for submit <at> debbugs.gnu.org; Wed, 17 May 2023 10:13:35 -0400
Received: from vps.thesusis.net ([34.202.238.73]:55654)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <phill@HIDDEN>) id 1pzHuH-0002RC-LN
 for 63555 <at> debbugs.gnu.org; Wed, 17 May 2023 10:13:33 -0400
Received: by vps.thesusis.net (Postfix, from userid 1000)
 id 34DC611FDBC; Wed, 17 May 2023 10:13:28 -0400 (EDT)
User-agent: mu4e 1.7.12; emacs 27.1
From: Phillip Susi <phill@HIDDEN>
Date: Wed, 17 May 2023 10:09:59 -0400
Message-ID: <87bkijavw7.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Here is my build configuration:

In GNU Emacs 29.0.90 (build 1, x86_64-pc-linux-gnu, GTK+ Version
 3.24.37, cairo version 1.17.8) of 2023-05-16 built on localhost
System Description: Gentoo Linux

Configured using:
 'configure --prefix=/usr --build=x86_64-pc-linux-gnu
 --host=x86_64-pc-linux-gnu --mandir=/usr/share/man
 --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
 --localstatedir=/var/lib --datarootdir=/usr/share
 --disable-silent-rules --docdir=/usr/share/doc/emacs-29.0.90
 --htmldir=/usr/share/doc/emacs-29.0.90/html --libdir=/usr/lib64
 --program-suffix=-emacs-29-vcs --includedir=/usr/include/emacs-29-vcs
 --infodir=/usr/share/info/emacs-29-vcs --localstatedir=/var
 --enable-locallisppath=/etc/emacs:/usr/share/emacs/site-lisp
 --without-compress-install --without-hesiod --without-pop
 --with-file-notification=inotify --with-pdumper --enable-acl
 --with-dbus --with-modules --without-gameuser --with-libgmp --with-gpm
 --with-native-compilation=aot --without-json --without-kerberos
 --without-kerberos5 --with-lcms2 --without-xml2 --without-mailutils
 --without-selinux --without-sqlite3 --with-gnutls --with-libsystemd
 --with-threads --with-tree-sitter --without-wide-int --with-sound=alsa
 --with-zlib --with-pgtk --without-x --without-ns
 --with-toolkit-scroll-bars --without-gconf --without-gsettings
 --without-harfbuzz --without-libotf --without-m17n-flt
 --without-xwidgets --with-gif --with-jpeg --with-png --with-rsvg
 --with-tiff --without-webp --without-imagemagick --with-dumping=pdumper
 'CFLAGS=-march=native -O2 -pipe' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed''

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM JPEG LCMS2 LIBSYSTEMD
MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PGTK PNG RSVG SECCOMP SOUND
THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER XIM GTK3 ZLIB

Important settings:
  value of $LANG: C.UTF8
  locale-coding-system: utf-8-unix




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#63555: emacs 29 complains that it can't connect to the display
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 19 May 2023 06:12:01 +0000
Resent-Message-ID: <handler.63555.B63555.168447669522728 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 63555
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Phillip Susi <phill@HIDDEN>, Po Lu <luangruo@HIDDEN>
Cc: 63555 <at> debbugs.gnu.org
Received: via spool by 63555-submit <at> debbugs.gnu.org id=B63555.168447669522728
          (code B ref 63555); Fri, 19 May 2023 06:12:01 +0000
Received: (at 63555) by debbugs.gnu.org; 19 May 2023 06:11:35 +0000
Received: from localhost ([127.0.0.1]:55205 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pztKw-0005uW-NV
	for submit <at> debbugs.gnu.org; Fri, 19 May 2023 02:11:35 -0400
Received: from eggs.gnu.org ([209.51.188.92]:60216)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1pztKu-0005uG-9Q
 for 63555 <at> debbugs.gnu.org; Fri, 19 May 2023 02:11:32 -0400
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 <eliz@HIDDEN>)
 id 1pztKo-0004jz-My; Fri, 19 May 2023 02:11:26 -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=qUTCwbpz4s34hSMsib/h2YTUzjDTO9Vm/iP9qRmcG3E=; b=Xwo59e/D5Xc4
 9c20ZAp6Is+9VS2CwA+8VAqnHece4APJMTxplYMWrTyC+BIsqMjoi+yj7ilJaguaofDOAQ5cx93mu
 KK0xSIOTw2Uh434jCg4WAsAIRKWSulJbnSspyeidEz7fw9i9QatK2tX8dqYa1xQZS5lX1lUaMGA4/
 4L3iHwSaxZnWPKcBAfI89flWHo8r5WFND9LYOWQad6CXbYMLTnb5+P4+onh2dZh+bKCCHh72uoMZO
 PR6ue6lZPRka1H8rP2z+j7cxUvNbL17yvi4laIlyn2KHSS+B2J+7q0ghmGxVKKktUVaVUnjZSrspx
 AlL8OjotoVMBIx5S/IVgWg==;
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 <eliz@HIDDEN>)
 id 1pztKo-0002ML-6A; Fri, 19 May 2023 02:11:26 -0400
Date: Fri, 19 May 2023 09:11:40 +0300
Message-Id: <83v8gou9yb.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <87ttwbawse.fsf@HIDDEN> (message from Phillip Susi on
 Wed, 17 May 2023 09:51:43 -0400)
References: <87ttwbawse.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Phillip Susi <phill@HIDDEN>
> Date: Wed, 17 May 2023 09:51:43 -0400
> 
> Package: emacs
> Version: 29.0.90
> 
> In previous versions of emacs, if the DISPLAY/WAYLAND_DISPLAY variable
> was not set, it would default to tty mode.  In version 29, it seems to
> assume a default value and complains that it can't connect to the
> display server unless you run it with -nw.

Po Lu, was this an intentional change?  If so, did we document the
reasons?  I cannot find anything in NEWS.

Thanks.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#63555: emacs 29 complains that it can't connect to the display
Resent-From: Po Lu <luangruo@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 19 May 2023 07:23:02 +0000
Resent-Message-ID: <handler.63555.B63555.168448096016914 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 63555
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: Phillip Susi <phill@HIDDEN>, 63555 <at> debbugs.gnu.org
Received: via spool by 63555-submit <at> debbugs.gnu.org id=B63555.168448096016914
          (code B ref 63555); Fri, 19 May 2023 07:23:02 +0000
Received: (at 63555) by debbugs.gnu.org; 19 May 2023 07:22:40 +0000
Received: from localhost ([127.0.0.1]:55297 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pzuRj-0004Oj-TI
	for submit <at> debbugs.gnu.org; Fri, 19 May 2023 03:22:40 -0400
Received: from sonic304-20.consmr.mail.ne1.yahoo.com ([66.163.191.146]:33427)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <luangruo@HIDDEN>) id 1pzuRg-0004OT-Ra
 for 63555 <at> debbugs.gnu.org; Fri, 19 May 2023 03:22:37 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1684480951; bh=Sa1BOOhhGjQafMyhELyFc3xfm4HykPD9iaHOBZqH9u8=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To;
 b=qTLsEjQctiD/lHPfEtpYRCdXiD5RG4nYtUrgyh8Hf/V4NH5lmfwfBM1il18BoWeOYYXi5V5Hxv238HH//uxe7jqnLdGCOGRdfSM9+moV3eeev/TEcqe9LWKKOUeONseivkegk+lvcr4n0QjPkwG3wgqqMEMmrxneHR2ANhfExg5Uvr83VLVxJBGHan9YvVoKjIhbYqFeJnGM8qL0YpftC/EG3M8RSuOvG6/P7+IhsqV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LT7eRY8sY3ekobEdXkaDg8veVO1tAMuu.N_iP8cDF
 9b9TJ2RTl.g3zuV7.Bt3Ay1tRShCl85DuLg82saLOTyjetAghVyPZpuchBz6G6g7j_6L9fWQ51At
 NxO_k956FII699VPnZNggPgUEdmewJdIsTz4yI2zzqgVZgralTQ1NIIHS4wFTKPlSubS1.nfGlAL
 qMKSISqIUOrjZk8yUFVvsO.yaCrnH9qdYExcucK0pNhZZlzteyqki6K1erBWyOCwg7ifv6odxrH2
 DqLAThAn_zML9UC3oSBYnD_zPp8BWrG6gFKBqGv3zM3wvfgaA1yIC.iVsSZnN_kv3_0exDB3HAf0
 pONZSspIdgVahEg1JzE52E4B3rWeWuoDGQs_kfMPLWK7kdDcXcKiqPhInwQeGf8AaQtc4_N2p2sB
 PNgpkPtXLCy_kMGNIV8T3kNQVtaJ1J4827o.qAklSXQP1Z0QaHPF0vXbYG.WxLCTtGADdEoodpWg
 u0.w_QPb9b12o_DeiFVCvZ1Wr2qHycRZ8aMAsb6VCwH2Nud9pBE6G1BwIErgQK0OQoKQo59twvZU
 UAqQhHusr3t5VWHX.MJHGHvoXc5AjGC6OBD.Arm7bccEgrnWRYVPd97wzWeZvs_D7Qm45S.NPFZX
 S0S.qcTJFklKIrY22_hpm1y9IcrNQkpYvbImZ9f5qRSi8k6lcCXAepi2nGE41fyKIRQUSgvZnJSm
 U5.FwZVxsqhd2yrWj7U3wfoqnv8gBIQibz4WULkLTQbR0xi5xuctcs.kofcRsBh6yhHH0taPDIle
 M6Tvki.B_o7PLBU_CcZ_UCdhUS4V9jI3lGZdPxdSmNExN6ZxuAL1.gOmtJScTmzu1BVA-
X-Sonic-MF: <luangruo@HIDDEN>
X-Sonic-ID: 10b05d60-c889-47d3-b221-2ac8fe6325e9
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic304.consmr.mail.ne1.yahoo.com with HTTP; Fri, 19 May 2023 07:22:31 +0000
Received: by hermes--production-sg3-748897c457-24pr6 (Yahoo Inc. Hermes SMTP
 Server) with ESMTPA ID 6718948d48dd3915c4298869151e9ff7; 
 Fri, 19 May 2023 07:22:27 +0000 (UTC)
From: Po Lu <luangruo@HIDDEN>
In-Reply-To: <83v8gou9yb.fsf@HIDDEN> (Eli Zaretskii's message of "Fri, 19 May
 2023 09:11:40 +0300")
References: <87ttwbawse.fsf@HIDDEN> <83v8gou9yb.fsf@HIDDEN>
Date: Fri, 19 May 2023 15:22:22 +0800
Message-ID: <87a5y04wgh.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Mailer: WebService/1.1.21471
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
Content-Length: 1100
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Eli Zaretskii <eliz@HIDDEN> writes:

>> From: Phillip Susi <phill@HIDDEN>
>> Date: Wed, 17 May 2023 09:51:43 -0400
>> 
>> Package: emacs
>> Version: 29.0.90
>> 
>> In previous versions of emacs, if the DISPLAY/WAYLAND_DISPLAY variable
>> was not set, it would default to tty mode.  In version 29, it seems to
>> assume a default value and complains that it can't connect to the
>> display server unless you run it with -nw.
>
> Po Lu, was this an intentional change?  If so, did we document the
> reasons?  I cannot find anything in NEWS.

No, I don't think so.  This isn't intentional.
Phillip, please place a breakpoint on `init_display_interactive' in
src/dispnew.c.  Then, step to this piece of code:

  if (! inhibit_window_system && ! display_arg)
    {
      char *display;
      display = getenv ("DISPLAY");
      display_arg = (display != 0 && *display != 0); <----------

      if (display_arg && !x_display_ok (display))
	{
	  fprintf (stderr, "Display %s unavailable, simulating -nw\n",
		   display);
	  inhibit_window_system = 1;
	}
    }

and show:

  (gdb) p display

Thanks.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#63555: emacs 29 complains that it can't connect to the display
Resent-From: Robert Pluim <rpluim@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 19 May 2023 13:27:01 +0000
Resent-Message-ID: <handler.63555.B63555.16845028133104 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 63555
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Po Lu <luangruo@HIDDEN>
Cc: Eli Zaretskii <eliz@HIDDEN>, Phillip Susi <phill@HIDDEN>, 63555 <at> debbugs.gnu.org
Received: via spool by 63555-submit <at> debbugs.gnu.org id=B63555.16845028133104
          (code B ref 63555); Fri, 19 May 2023 13:27:01 +0000
Received: (at 63555) by debbugs.gnu.org; 19 May 2023 13:26:53 +0000
Received: from localhost ([127.0.0.1]:55702 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1q008C-0000o0-MY
	for submit <at> debbugs.gnu.org; Fri, 19 May 2023 09:26:53 -0400
Received: from mail-wr1-f46.google.com ([209.85.221.46]:53611)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rpluim@HIDDEN>) id 1q008A-0000nk-Nj
 for 63555 <at> debbugs.gnu.org; Fri, 19 May 2023 09:26:51 -0400
Received: by mail-wr1-f46.google.com with SMTP id
 ffacd0b85a97d-30959c0dfd6so372172f8f.3
 for <63555 <at> debbugs.gnu.org>; Fri, 19 May 2023 06:26:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20221208; t=1684502804; x=1687094804;
 h=mime-version:message-id:date:references:in-reply-to:subject:cc:to
 :from:from:to:cc:subject:date:message-id:reply-to;
 bh=XliKK61Z5WdGkyRdU/IQrY9S8O74kPJ//uYr4vO3fQw=;
 b=DKKzdsweQTUDjzqXgHEkXoKWvL0l8PwuYaB8lEdKJojjU4s12olRr4qHe08ZwMyjDG
 XFkzGV919DuiaGUYcMPAWqoJkN4IXvrGKyMSOtbsTB3qkFnytPn/0esi8QyMGn3fs4LD
 YfIbwDKH5TG1YmqW/Cb8Bd9UBar58TNsV2ocZGU0lu0m3kebYVNmUMi6hnqhrIBGfotF
 DC/PT2pzmIG90IH37w8PtMmXmHeNoZWsRZ4IcYWQloMl5pF4StYIockz6Siq4n0N3n8g
 mLOIP0OYjcBkfkorDOIQiIcxPHrySeUrMZqjm+hpEvzCC5F39B4ganloSzFcIaaXuuY3
 0okg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20221208; t=1684502804; x=1687094804;
 h=mime-version:message-id:date:references:in-reply-to:subject:cc:to
 :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=XliKK61Z5WdGkyRdU/IQrY9S8O74kPJ//uYr4vO3fQw=;
 b=ArFjQMeUsNTPjhwanmuwSQNBNSw83I/ctSJHPzz4omn/vvTt8QlLirtbezbVgt57Jb
 zd3IxYyMNSAbFBz7G0T5+iVM7/ytZkomgroajR8aqZlzGM39reUZlz5R9SQvka1oQEpJ
 Yo+jI57k4adS41OnRELr5tR/NknU2fUIb3mtEPmhsn76BUTtpsOzgsm2UtJV4tBWYJW0
 4AToTuLhFAmgI11HUSs8JfiWnedlMdx5x736wI4VAAxCIqfmyTNAXOGhH1UJYQL/k0As
 QUzBcM+Rk5QGxQk2D0W+ua8iY+CunWpQGYHWN0pNdPvAMaVMZOd4CWMDS2BnA2SGmcgH
 shNg==
X-Gm-Message-State: AC+VfDwBMAW+CMCVtgJfKTH/KkQFaaTS3Pp2TIledXGIn55yUmjjNp05
 9IndsqQ0gck4b74eqUKmGm9Qg42XKAY=
X-Google-Smtp-Source: ACHHUZ6lyXutg8iGXy5ML7ZOmb7XVugUQOAvHb0yLK3oj++0xazqzEtg871cCdKK0omFBZHg7HBrKQ==
X-Received: by 2002:a5d:4b51:0:b0:306:3319:e432 with SMTP id
 w17-20020a5d4b51000000b003063319e432mr1598043wrs.18.1684502804257; 
 Fri, 19 May 2023 06:26:44 -0700 (PDT)
Received: from rltb ([82.66.8.55]) by smtp.gmail.com with ESMTPSA id
 x15-20020adfec0f000000b002cea9d931e6sm5345563wrn.78.2023.05.19.06.26.43
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Fri, 19 May 2023 06:26:43 -0700 (PDT)
From: Robert Pluim <rpluim@HIDDEN>
In-Reply-To: <87a5y04wgh.fsf@HIDDEN> (Po Lu via's message of "Fri, 19 May
 2023 15:22:22 +0800")
References: <87ttwbawse.fsf@HIDDEN> <83v8gou9yb.fsf@HIDDEN>
 <87a5y04wgh.fsf@HIDDEN>
Date: Fri, 19 May 2023 15:26:42 +0200
Message-ID: <87ednclael.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

>>>>> On Fri, 19 May 2023 15:22:22 +0800, Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN> said:

    Po Lu> Eli Zaretskii <eliz@HIDDEN> writes:
    >>> From: Phillip Susi <phill@HIDDEN>
    >>> Date: Wed, 17 May 2023 09:51:43 -0400
    >>> 
    >>> Package: emacs
    >>> Version: 29.0.90
    >>> 
    >>> In previous versions of emacs, if the DISPLAY/WAYLAND_DISPLAY variable
    >>> was not set, it would default to tty mode.  In version 29, it seems to
    >>> assume a default value and complains that it can't connect to the
    >>> display server unless you run it with -nw.
    >> 
    >> Po Lu, was this an intentional change?  If so, did we document the
    >> reasons?  I cannot find anything in NEWS.

    Po Lu> No, I don't think so.  This isn't intentional.
    Po Lu> Phillip, please place a breakpoint on `init_display_interactive' in
    Po Lu> src/dispnew.c.  Then, step to this piece of code:

    Po Lu>   if (! inhibit_window_system && ! display_arg)
    Po Lu>     {
    Po Lu>       char *display;
    Po Lu>       display = getenv ("DISPLAY");
    Po Lu>       display_arg = (display != 0 && *display != 0); <----------

    Po Lu>       if (display_arg && !x_display_ok (display))
    Po Lu> 	{
    Po Lu> 	  fprintf (stderr, "Display %s unavailable, simulating -nw\n",
    Po Lu> 		   display);
    Po Lu> 	  inhibit_window_system = 1;
    Po Lu> 	}
    Po Lu>     }

    Po Lu> and show:

    Po Lu>   (gdb) p display

HAVE_X_WINDOWS is not defined in a pgtk build, so this code is never
run. And it looks kind of X-specific in any case

Robert
-- 




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#63555: emacs 29 complains that it can't connect to the display
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 19 May 2023 14:53:02 +0000
Resent-Message-ID: <handler.63555.B63555.168450792632543 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 63555
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Robert Pluim <rpluim@HIDDEN>
Cc: luangruo@HIDDEN, phill@HIDDEN, 63555 <at> debbugs.gnu.org
Received: via spool by 63555-submit <at> debbugs.gnu.org id=B63555.168450792632543
          (code B ref 63555); Fri, 19 May 2023 14:53:02 +0000
Received: (at 63555) by debbugs.gnu.org; 19 May 2023 14:52:06 +0000
Received: from localhost ([127.0.0.1]:57101 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1q01Sf-0008Sp-UP
	for submit <at> debbugs.gnu.org; Fri, 19 May 2023 10:52:06 -0400
Received: from eggs.gnu.org ([209.51.188.92]:58348)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1q01Se-0008SM-Cy
 for 63555 <at> debbugs.gnu.org; Fri, 19 May 2023 10:52:05 -0400
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 <eliz@HIDDEN>)
 id 1q01SY-0003hc-Rm; Fri, 19 May 2023 10:51:58 -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=PD0Su7JVOZ0km6oUhQ9RueG9F/UHHU18Fg8EUZJM9qM=; b=P3L/7B5ktQfu
 7BP7qvn7IUV9mntzS2Zqvd6FD/HWPrPthytW9G2QMi8ikd9kATHkwqBx3juptFKAC8TimJWT2VzU7
 ei83qkV6lcoNvBlomAjNbolTlwEn2hrUX8b11uQd5x5B/aAsooIfaq3/tSDiz1bAllsGf91hbPH0f
 toYzZTwFqGJeQgzBaT2yQNWOYgCjv++rZ/ebvUEZd5RnsElzSYO+7jg5wtcbb1d4arl7kby/JFixO
 s+zCUxZYk98esbmUoNWvVm4MMuZk+gaH28vxnqhHb4XOL3+5qDow00xG/WK5d24YtEeTw3BbrO2jk
 OCHmfEm6WiWzYsoQHTqCnQ==;
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 <eliz@HIDDEN>)
 id 1q01ST-0003iy-91; Fri, 19 May 2023 10:51:58 -0400
Date: Fri, 19 May 2023 17:52:06 +0300
Message-Id: <83h6s8tlux.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <87ednclael.fsf@HIDDEN> (message from Robert Pluim on Fri, 19
 May 2023 15:26:42 +0200)
References: <87ttwbawse.fsf@HIDDEN> <83v8gou9yb.fsf@HIDDEN>
 <87a5y04wgh.fsf@HIDDEN> <87ednclael.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Robert Pluim <rpluim@HIDDEN>
> Cc: Eli Zaretskii <eliz@HIDDEN>, Phillip Susi <phill@HIDDEN>,
>  63555 <at> debbugs.gnu.org
> Date: Fri, 19 May 2023 15:26:42 +0200
> 
>     >> Po Lu, was this an intentional change?  If so, did we document the
>     >> reasons?  I cannot find anything in NEWS.
> 
>     Po Lu> No, I don't think so.  This isn't intentional.
>     Po Lu> Phillip, please place a breakpoint on `init_display_interactive' in
>     Po Lu> src/dispnew.c.  Then, step to this piece of code:
> 
>     Po Lu>   if (! inhibit_window_system && ! display_arg)
>     Po Lu>     {
>     Po Lu>       char *display;
>     Po Lu>       display = getenv ("DISPLAY");
>     Po Lu>       display_arg = (display != 0 && *display != 0); <----------
> 
>     Po Lu>       if (display_arg && !x_display_ok (display))
>     Po Lu> 	{
>     Po Lu> 	  fprintf (stderr, "Display %s unavailable, simulating -nw\n",
>     Po Lu> 		   display);
>     Po Lu> 	  inhibit_window_system = 1;
>     Po Lu> 	}
>     Po Lu>     }
> 
>     Po Lu> and show:
> 
>     Po Lu>   (gdb) p display
> 
> HAVE_X_WINDOWS is not defined in a pgtk build, so this code is never
> run. And it looks kind of X-specific in any case

How did this work in Emacs 28, then?  IOW, which change broke this
feature on Wayland?




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#63555: emacs 29 complains that it can't connect to the display
Resent-From: Robert Pluim <rpluim@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 19 May 2023 15:45:01 +0000
Resent-Message-ID: <handler.63555.B63555.16845110985409 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 63555
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: luangruo@HIDDEN, phill@HIDDEN, 63555 <at> debbugs.gnu.org
Received: via spool by 63555-submit <at> debbugs.gnu.org id=B63555.16845110985409
          (code B ref 63555); Fri, 19 May 2023 15:45:01 +0000
Received: (at 63555) by debbugs.gnu.org; 19 May 2023 15:44:58 +0000
Received: from localhost ([127.0.0.1]:57199 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1q02Hp-0001PA-Rj
	for submit <at> debbugs.gnu.org; Fri, 19 May 2023 11:44:58 -0400
Received: from mail-wm1-f41.google.com ([209.85.128.41]:49210)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rpluim@HIDDEN>) id 1q02Ho-0001Oh-2O
 for 63555 <at> debbugs.gnu.org; Fri, 19 May 2023 11:44:56 -0400
Received: by mail-wm1-f41.google.com with SMTP id
 5b1f17b1804b1-3f4c6c4b425so21925015e9.2
 for <63555 <at> debbugs.gnu.org>; Fri, 19 May 2023 08:44:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20221208; t=1684511090; x=1687103090;
 h=content-transfer-encoding:mime-version:message-id:date:references
 :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id
 :reply-to; bh=j2z3zvwq7NMeWnXQ/BWGhSZ5E2Orh83cXItd6MPuqTM=;
 b=b/C1++0pBJlB3eefuJ+c7bigo2YMuj1uufsk++zdzXzDK/25s56uFMckKUqzVHW0Dd
 J5ze655C4WS1aqJD8RA/bOtefr2TKAl8wM5nhTE95zQyFFOcw8Q1SDF8sSO9vqU0is1j
 1Kg3wpdEgz4ZtalQz/EVr3V7wMrgyNU4WQ6K6PaDuYDq3UtoFj7PHc4mO/cIsNNf+WsP
 wHP8brWfP0+z6Iew1JAivzrtfzJeiK3WQdmgRbSjHvVFqUPJBK5CBdqV+WmNgpjBKUqJ
 apclaDXjbkO3SgKpJHhX0whlHPd1SdT/6Fq9p9yq/4Ey14bLocvkij6SdLak/BvpIIzi
 Fvfw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20221208; t=1684511090; x=1687103090;
 h=content-transfer-encoding:mime-version:message-id:date:references
 :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=j2z3zvwq7NMeWnXQ/BWGhSZ5E2Orh83cXItd6MPuqTM=;
 b=QS58H8v5860ZlCXT4as5YRM73gf6Wm0/HVoRgFr/SlaS6g9aziMqDhX0sqwPr28jrt
 DC5mYi+HNW3QKllQWTKPC1DpJxEMpHp46Mr3aG9GFChXqqNWridittzoDjabO6AO+AlD
 B4zBe0eHO8B7SrUNifKPiT/3zsuW1f7n69NkTG4wVwf5iI+3tBWsxlGJ3UDBnuBX/6I3
 NJRtcszldCXDfVIdb0Uo8VfLPbZaNMonUE0JSuvIN1cUdNzi+9xH6YPcperYTJSo8gWE
 V3lgC8zQQA7eq883WTN005d2RraGebKNta58JlrkEOhsglCzFnzZGk0Oa81oti2bOi30
 fhKA==
X-Gm-Message-State: AC+VfDxJfQhW/aKibGYXlBXaSJLFY1mM7kO/AHQfuUEz+ZMkD7GBg1Hd
 ohrbz69M60b340NJ2wZ4Zz35jqQLz0s=
X-Google-Smtp-Source: ACHHUZ4qZVEWePEBWZQcbe+zkfufXkIMg1Um9pBfAXiAnk0wpHtVQU1gwPx+WbH7SLcwGqAS2QgMsg==
X-Received: by 2002:a1c:cc06:0:b0:3f4:2492:a91f with SMTP id
 h6-20020a1ccc06000000b003f42492a91fmr1626633wmb.27.1684511089642; 
 Fri, 19 May 2023 08:44:49 -0700 (PDT)
Received: from rltb ([82.66.8.55]) by smtp.gmail.com with ESMTPSA id
 4-20020a05600c22c400b003f4e47c6504sm2773734wmg.21.2023.05.19.08.44.48
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Fri, 19 May 2023 08:44:49 -0700 (PDT)
From: Robert Pluim <rpluim@HIDDEN>
In-Reply-To: <83h6s8tlux.fsf@HIDDEN> (Eli Zaretskii's message of "Fri, 19 May
 2023 17:52:06 +0300")
References: <87ttwbawse.fsf@HIDDEN> <83v8gou9yb.fsf@HIDDEN>
 <87a5y04wgh.fsf@HIDDEN> <87ednclael.fsf@HIDDEN>
 <83h6s8tlux.fsf@HIDDEN>
Date: Fri, 19 May 2023 17:44:48 +0200
Message-ID: <87a5y0l40f.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

>>>>> On Fri, 19 May 2023 17:52:06 +0300, Eli Zaretskii <eliz@HIDDEN> said:
    >> HAVE_X_WINDOWS is not defined in a pgtk build, so this code is never
    >> run. And it looks kind of X-specific in any case

    Eli> How did this work in Emacs 28, then?  IOW, which change broke this
    Eli> feature on Wayland?

Emacs 28 didn=CA=BCt have pgtk, so GTK <=3D> XWindows, even when running
under (X)Wayland.

Robert
--=20




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#63555: emacs 29 complains that it can't connect to the display
Resent-From: Po Lu <luangruo@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 20 May 2023 01:39:02 +0000
Resent-Message-ID: <handler.63555.B63555.168454674126017 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 63555
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Robert Pluim <rpluim@HIDDEN>
Cc: Eli Zaretskii <eliz@HIDDEN>, Phillip Susi <phill@HIDDEN>, 63555 <at> debbugs.gnu.org
Received: via spool by 63555-submit <at> debbugs.gnu.org id=B63555.168454674126017
          (code B ref 63555); Sat, 20 May 2023 01:39:02 +0000
Received: (at 63555) by debbugs.gnu.org; 20 May 2023 01:39:01 +0000
Received: from localhost ([127.0.0.1]:57653 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1q0BYj-0006lV-Hv
	for submit <at> debbugs.gnu.org; Fri, 19 May 2023 21:39:01 -0400
Received: from sonic305-22.consmr.mail.ne1.yahoo.com ([66.163.185.148]:39133)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <luangruo@HIDDEN>) id 1q0BYi-0006lI-Ds
 for 63555 <at> debbugs.gnu.org; Fri, 19 May 2023 21:39:00 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1684546734; bh=Tkq1/1ZzjOA1rVDRFegbW99T3P3ciZeSBSAquPrvEko=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To;
 b=kPYYphoTtfRf9po6BTUfZg7mWXllyZH5GhVlqYZKCqg7i5OfxBNOWK4jHzRQ7uyN+Q4EM29jg45b3z91iN49H6dYBkb1WhWOpZOPo0FoGn5JxWOoN5Jluy0irpa+Bz8bGQDyEnyciNzrEV8n7iPcZ/RcO7UcEU2zmW6SZBpuppbemSPhMq+TB3ZmFlVSKFbnIhMpQiiDmpZFh1ptgvEbFVjWrNIdNyEu5+4EnRDvF+6VB4P6yYuEUcA7zuCVGnkmU84SvWW07Ev2FcbS/6fnWZtnqhFoKBz2dnTYuLKKDNg5FReVeiwCyKmLKn4yvp4noWJyZ5nhDu2HrkpSsKzndw==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1684546734; bh=ATPtC7x4umX5MyMDdaO0no5vh27aJUr49UVGvFyh345=;
 h=X-Sonic-MF:From:To:Subject:Date:From:Subject;
 b=KhAgqkeTKVYR9TuwUw2gmdFvK99GWMbZgSU5ishfjVE07f98YPjhy96tM07VqcPLTRe2M7hV2xX5YLzUOhp6LwiDid+Jv/9kydHH/DFu+phTgnSxvPtYKjGV2KhWJnn4S9uDwJkEGMWwG96laqkqkF9oyhijYGl0VpP3JltRro3HBBjJe9QZLE6yUD6F4avQO6rgCfx5WhIiBTECY8TRBVxWdsMMaYDXYsu7O36bPTJZ1Yuuvq1tSZXjb8KJQlGZWBajg/I0di07H3wxqAJ8R/2g0nMb1iZGHZplSio38n5bvGdjRe9ivaX5qGiHRL1yrDSDPkxZgptXAeUUdL1AUQ==
X-YMail-OSG: X_iPWqAVM1muJn8LLaTkaUZ4Lar.nok7TSuaBVH_Hp9wd91cgFZbuXVQiEc3kFI
 F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1AOS3nbOsn61D2E_ZZG5koiF6Vhag97GDmv2IMj
 TQH_7Cm8I5rcJ4soySRAYLog9OvWHQH5Alkrh2Oxd5ZasX0OBYIa3IexnmfOtnHlUFSsPZkFeqo.
 LQFwU2s6j14F5U2..9zc4RHHXJYkI87Ui_9kaj.ZCuhLOF3T1QbHFlUpXv0JPWC4-
X-Sonic-MF: <luangruo@HIDDEN>
X-Sonic-ID: 8c8e7d5f-16f4-408c-92e3-12f7ff09c1b6
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic305.consmr.mail.ne1.yahoo.com with HTTP; Sat, 20 May 2023 01:38:54 +0000
Received: by hermes--production-sg3-748897c457-bzlcb (Yahoo Inc. Hermes SMTP
 Server) with ESMTPA ID ab220d463b61f731195f12505f11b7ea; 
 Sat, 20 May 2023 01:38:48 +0000 (UTC)
From: Po Lu <luangruo@HIDDEN>
In-Reply-To: <87ednclael.fsf@HIDDEN> (Robert Pluim's message of "Fri, 19
 May 2023 15:26:42 +0200")
References: <87ttwbawse.fsf@HIDDEN> <83v8gou9yb.fsf@HIDDEN>
 <87a5y04wgh.fsf@HIDDEN> <87ednclael.fsf@HIDDEN>
Date: Sat, 20 May 2023 09:38:43 +0800
Message-ID: <871qjb4w9o.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Mailer: WebService/1.1.21495
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
Content-Length: 226
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Robert Pluim <rpluim@HIDDEN> writes:

> HAVE_X_WINDOWS is not defined in a pgtk build, so this code is never
> run. And it looks kind of X-specific in any case

Phillip is using a PGTK build?  I must've missed that, sorry.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#63555: emacs 29 complains that it can't connect to the display
Resent-From: Po Lu <luangruo@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 20 May 2023 01:41:01 +0000
Resent-Message-ID: <handler.63555.B63555.168454682026161 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 63555
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: Robert Pluim <rpluim@HIDDEN>, phill@HIDDEN, 63555 <at> debbugs.gnu.org
Received: via spool by 63555-submit <at> debbugs.gnu.org id=B63555.168454682026161
          (code B ref 63555); Sat, 20 May 2023 01:41:01 +0000
Received: (at 63555) by debbugs.gnu.org; 20 May 2023 01:40:20 +0000
Received: from localhost ([127.0.0.1]:57658 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1q0BZz-0006nt-V4
	for submit <at> debbugs.gnu.org; Fri, 19 May 2023 21:40:20 -0400
Received: from sonic316-21.consmr.mail.ne1.yahoo.com ([66.163.187.147]:45649)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <luangruo@HIDDEN>) id 1q0BZy-0006ng-V8
 for 63555 <at> debbugs.gnu.org; Fri, 19 May 2023 21:40:19 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1684546813; bh=mmYaMXwqt99gLhY2TXQwW1suFa75kz8bch2DBOwzPkk=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To;
 b=XDAQmu0BUTFNGiQbNt/mGp4ui9P6pSTl12r1b/gcQdd67/Wr6bp9MZoxQQCGAEJv+H7IHsqMh/Aw/LiG6eMBFA7VKtFCBh1BlyPJK3AgXkaXsh1lKpc4kRwBNmh4hMOJWic9gWZw3FXTxYhQvDqW/uTriuVgB+Ja6CcoVG9ZjQHrm124ugVnbMoyLKrVl3byhss+pFE9E/dW7Bju2cFOlrTHeAylOoZCp7CVswgIxDBlTY3PqsLaRTuzaxhNHXW0LuY3rSprFRYRGgaXq1CDtpKHx+fd/96snngkM21niaEd4p/tA+RF3wELIGq7KZYv4VbsBu0RbON4tzKxs5PUUA==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1684546813; bh=lhWcm4gCM5wo+GuvfKf7RPzgaBr+gUldXb7/ekRKkEh=;
 h=X-Sonic-MF:From:To:Subject:Date:From:Subject;
 b=F49pxGmy8M8iYvfRS+wC1yWq1CvYrG6rVIAyW4jhxeguoG2rANm0nl4LymogcmZw7dx2v9cXVgtsBIePKUdPg5uMozKdnRFJJeCeN81boCvCJzCx6KKVVSyceLP4vDnuFGBCujgKdn8g/3j7OVsRYW8V4apYucdGCLRattP+HebXtSNHEs40iQrwrkaBWVV3XzcwXSpjpXwaCrXEwmgyeCGhy6ywr6DrDNP+/poDjw/N+vB/929DQascR2XxBjgi29h4XK8Y+0b2loEm1VWw8qaW7ls93dn2OukCJnQ52/Al5ZN2yRntw3QpYgOwiT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sld0Z3YcnObTuStGRvqZquQWIBhM3QJt5a0rFeNrbXjt3Gr47UTyzT35gbDk
 9A7adXHz35JrthdBAGWMAaimpCPb3JJo6aNCHGOShVMlxxfVAbHSowaf1jMN6phEQJXA4X2C9Kbz
 3viI.NrdESQZnplqIy_6NaGN966wd5yToe2KTIHeYkdrNCo83a26pYFkV7hYkvkDr7WhzFq28xKu
 iXjzz_ZI0co2Qo1mzM_gu6jQiF.8BWy9moq_SlA9fjcEMzudK6bRQqNlraShtlHOm5w--
X-Sonic-MF: <luangruo@HIDDEN>
X-Sonic-ID: 3825095c-6404-48e0-94d7-c7f7286417e9
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic316.consmr.mail.ne1.yahoo.com with HTTP; Sat, 20 May 2023 01:40:13 +0000
Received: by hermes--production-sg3-748897c457-bzlcb (Yahoo Inc. Hermes SMTP
 Server) with ESMTPA ID 3624c076120638d270d3fc95c0db6038; 
 Sat, 20 May 2023 01:40:09 +0000 (UTC)
From: Po Lu <luangruo@HIDDEN>
In-Reply-To: <83h6s8tlux.fsf@HIDDEN> (Eli Zaretskii's message of "Fri, 19 May
 2023 17:52:06 +0300")
References: <87ttwbawse.fsf@HIDDEN> <83v8gou9yb.fsf@HIDDEN>
 <87a5y04wgh.fsf@HIDDEN> <87ednclael.fsf@HIDDEN>
 <83h6s8tlux.fsf@HIDDEN>
Date: Sat, 20 May 2023 09:40:04 +0800
Message-ID: <87wn133hmz.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Mailer: WebService/1.1.21495
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
Content-Length: 419
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Eli Zaretskii <eliz@HIDDEN> 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.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#63555: emacs 29 complains that it can't connect to the display
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 20 May 2023 05:52:01 +0000
Resent-Message-ID: <handler.63555.B63555.168456189922480 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 63555
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Po Lu <luangruo@HIDDEN>
Cc: rpluim@HIDDEN, phill@HIDDEN, 63555 <at> debbugs.gnu.org
Received: via spool by 63555-submit <at> debbugs.gnu.org id=B63555.168456189922480
          (code B ref 63555); Sat, 20 May 2023 05:52:01 +0000
Received: (at 63555) by debbugs.gnu.org; 20 May 2023 05:51:39 +0000
Received: from localhost ([127.0.0.1]:57756 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1q0FVC-0005qW-OG
	for submit <at> debbugs.gnu.org; Sat, 20 May 2023 01:51:39 -0400
Received: from eggs.gnu.org ([209.51.188.92]:42484)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1q0FVA-0005pk-Qy
 for 63555 <at> debbugs.gnu.org; Sat, 20 May 2023 01:51:37 -0400
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 <eliz@HIDDEN>)
 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==;
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 <eliz@HIDDEN>)
 id 1q0FV4-000494-Me; Sat, 20 May 2023 01:51:31 -0400
Date: Sat, 20 May 2023 08:51:47 +0300
Message-Id: <83zg5zsg7g.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <87wn133hmz.fsf@HIDDEN> (message from Po Lu on Sat, 20 May
 2023 09:40:04 +0800)
References: <87ttwbawse.fsf@HIDDEN> <83v8gou9yb.fsf@HIDDEN>
 <87a5y04wgh.fsf@HIDDEN> <87ednclael.fsf@HIDDEN>
 <83h6s8tlux.fsf@HIDDEN> <87wn133hmz.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Po Lu <luangruo@HIDDEN>
> Cc: Robert Pluim <rpluim@HIDDEN>,  phill@HIDDEN,
>   63555 <at> debbugs.gnu.org
> Date: Sat, 20 May 2023 09:40:04 +0800
> 
> Eli Zaretskii <eliz@HIDDEN> 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.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#63555: emacs 29 complains that it can't connect to the display
Resent-From: Po Lu <luangruo@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 20 May 2023 06:34:01 +0000
Resent-Message-ID: <handler.63555.B63555.168456440726671 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 63555
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: rpluim@HIDDEN, phill@HIDDEN, 63555 <at> debbugs.gnu.org
Received: via spool by 63555-submit <at> debbugs.gnu.org id=B63555.168456440726671
          (code B ref 63555); Sat, 20 May 2023 06:34:01 +0000
Received: (at 63555) by debbugs.gnu.org; 20 May 2023 06:33:27 +0000
Received: from localhost ([127.0.0.1]:57763 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1q0G9f-0006w7-Hh
	for submit <at> debbugs.gnu.org; Sat, 20 May 2023 02:33:27 -0400
Received: from sonic316-22.consmr.mail.ne1.yahoo.com ([66.163.187.148]:41886)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <luangruo@HIDDEN>) id 1q0G9d-0006vu-Kf
 for 63555 <at> debbugs.gnu.org; Sat, 20 May 2023 02:33:26 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1684564399; bh=f3kLtcN7fa2NsJiVm19WVehTpNv+Ny2tCIKK9s3QByQ=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To;
 b=IJu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NrBIpw2bzH_eTm3HF56M37lgDfZaxBIhRNSQFzm
X-Sonic-MF: <luangruo@HIDDEN>
X-Sonic-ID: 6e49ae77-a3d6-4e2a-ba72-e4ca4d60b5ba
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic316.consmr.mail.ne1.yahoo.com with HTTP; Sat, 20 May 2023 06:33:19 +0000
Received: by hermes--production-sg3-748897c457-h6mnq (Yahoo Inc. Hermes SMTP
 Server) with ESMTPA ID 54ddc5b0330e7231f3dce91f75d08088; 
 Sat, 20 May 2023 06:33:14 +0000 (UTC)
From: Po Lu <luangruo@HIDDEN>
In-Reply-To: <83zg5zsg7g.fsf@HIDDEN> (Eli Zaretskii's message of "Sat, 20 May
 2023 08:51:47 +0300")
References: <87ttwbawse.fsf@HIDDEN> <83v8gou9yb.fsf@HIDDEN>
 <87a5y04wgh.fsf@HIDDEN> <87ednclael.fsf@HIDDEN>
 <83h6s8tlux.fsf@HIDDEN> <87wn133hmz.fsf@HIDDEN>
 <83zg5zsg7g.fsf@HIDDEN>
Date: Sat, 20 May 2023 14:33:09 +0800
Message-ID: <87fs7r342i.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Mailer: WebService/1.1.21495
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
Content-Length: 318
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Eli Zaretskii <eliz@HIDDEN> writes:

> 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.

That happens very late in the initialization process, in
`normal-top-level'.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#63555: emacs 29 complains that it can't connect to the display
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 20 May 2023 08:17:02 +0000
Resent-Message-ID: <handler.63555.B63555.16845705645478 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 63555
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Po Lu <luangruo@HIDDEN>
Cc: rpluim@HIDDEN, phill@HIDDEN, 63555 <at> debbugs.gnu.org
Received: via spool by 63555-submit <at> debbugs.gnu.org id=B63555.16845705645478
          (code B ref 63555); Sat, 20 May 2023 08:17:02 +0000
Received: (at 63555) by debbugs.gnu.org; 20 May 2023 08:16:04 +0000
Received: from localhost ([127.0.0.1]:57816 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1q0Hky-0001QI-Dj
	for submit <at> debbugs.gnu.org; Sat, 20 May 2023 04:16:04 -0400
Received: from eggs.gnu.org ([209.51.188.92]:41164)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1q0Hkw-0001PY-50
 for 63555 <at> debbugs.gnu.org; Sat, 20 May 2023 04:16:03 -0400
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 <eliz@HIDDEN>)
 id 1q0Hkq-0000o8-H8; Sat, 20 May 2023 04:15:56 -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=r1vaWmBwTHdLaUBRI6zQ4sz5FPQ7ZbmvNZpc4dbJhfY=; b=GKLjx8i5UZeG
 5rwJjpkW4JHec/ikKstUmkcouq+1ao6cx4k+BEEOI0C4rypHuXpfQvfoX5PkRapztkpaj6o0nkwFo
 GX/JYn3kEFppc5UJlV+kKfOk6BRcXIz4jWN245KhYV1wkSPlKGMBUV5wh3ftp0a3MRwHLjksLce9M
 zUm2hU3NNpMcPTnSu4xPqeK6904VGHMn0IT1wPUBifZnCrQAUzznBUQeHSAKx/LjlJ3oZIwnrw2MS
 sVFuOeZMJrvGelz0sfBWifw8JZjd6VK1fd17vbzV7kINMSiv/R+KglwNnzgdvzIfj4r7zFzLT+DpT
 MlV1EVfTfMjfMSzWkj7X8w==;
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 <eliz@HIDDEN>)
 id 1q0Hkp-0006fe-AD; Sat, 20 May 2023 04:15:55 -0400
Date: Sat, 20 May 2023 11:16:11 +0300
Message-Id: <83v8gns9is.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <87fs7r342i.fsf@HIDDEN> (message from Po Lu on Sat, 20 May
 2023 14:33:09 +0800)
References: <87ttwbawse.fsf@HIDDEN> <83v8gou9yb.fsf@HIDDEN>
 <87a5y04wgh.fsf@HIDDEN> <87ednclael.fsf@HIDDEN>
 <83h6s8tlux.fsf@HIDDEN> <87wn133hmz.fsf@HIDDEN>
 <83zg5zsg7g.fsf@HIDDEN> <87fs7r342i.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Po Lu <luangruo@HIDDEN>
> Cc: rpluim@HIDDEN,  phill@HIDDEN,  63555 <at> debbugs.gnu.org
> Date: Sat, 20 May 2023 14:33:09 +0800
> 
> Eli Zaretskii <eliz@HIDDEN> writes:
> 
> > 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.
> 
> That happens very late in the initialization process, in
> `normal-top-level'.

What function(s) is/are used at that point which tells us a GUI
session is impossible?  Can we invoke those same functions earlier
during startup to realize this fact where we still can start as -nw?




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#63555: emacs 29 complains that it can't connect to the display
Resent-From: Po Lu <luangruo@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 20 May 2023 08:29:02 +0000
Resent-Message-ID: <handler.63555.B63555.16845713276627 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 63555
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: rpluim@HIDDEN, phill@HIDDEN, 63555 <at> debbugs.gnu.org
Received: via spool by 63555-submit <at> debbugs.gnu.org id=B63555.16845713276627
          (code B ref 63555); Sat, 20 May 2023 08:29:02 +0000
Received: (at 63555) by debbugs.gnu.org; 20 May 2023 08:28:47 +0000
Received: from localhost ([127.0.0.1]:57833 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1q0HxG-0001io-N2
	for submit <at> debbugs.gnu.org; Sat, 20 May 2023 04:28:46 -0400
Received: from sonic304-20.consmr.mail.ne1.yahoo.com ([66.163.191.146]:35023)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <luangruo@HIDDEN>) id 1q0HxD-0001iY-LG
 for 63555 <at> debbugs.gnu.org; Sat, 20 May 2023 04:28:44 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1684571317; bh=5rNg8jDcD4SvhPGoXsm+nBbctC6hjeL57JAeqRjyI20=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To;
 b=M/bWCtfS7amkuZmjWcF1xm6nXPQrS3FBUtlFNbJHYn1ksv0+EzXTnJ8FEz0g83dTEKHRZs/RgIshweOM8ZuTMSUrPd+rHM/7e5pkSNatKgOkpJAzavUP4tDQWsXUujlMmWlG6wcN9LFGbwKXWUWh89yMi8MKhwXivIvmZIagjj7tMKU8LqpJGxZ/3lGWAsBqxc45OV86N6gJW/a5SOKVTwAwkyoG10KpPhnFcdgF6kmOgoK+3ZGDVAMvh7AwWPxRP89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XBuheRIPD8Wo7nAUUn_NGdAlqhiJlowRvq38S_tkNCMIJPwdZOv4DH3MW4qsVvpsprE80
 3jTaidcfVZ3EeQTStCqzmIiJ0QR36A5l_405OSWXGf7w6BKm6xOZ.UeV7khHAmClFnXr6Y8DIWZx
 ZiK3Qo0RBZHRPSNA.xlIo7ElEuGyrGsbak9PLYAVU16KT1c42r61Rd5iCPdawuJsmU2X0KooeVQS
 rUG0QxpZFhj8Tov8R646Nart4r424a6zadL8Eu_dMoIsvEmtAeiFm5jgyZ9UDzNPrfwonmHpkU69
 sFVqwzUKFkjeilQLkBTRj3.Gaq5HK9_4MS7q3Rp4WDZnFtnu5QYVeI._8By.NcaYpD8VhtfuP1Ci
 hOnGwdMc_3_38A6ad5fCE_3lkXq1O2lilXAmJ21eu8y_J_qCzbi8EXsB8PvzHOJmD3eXE9fHNKx5
 s7c.mQgy96rVjlAtXRd8wy8upah3CLiRC4wpi3723N3Y5_Pj6gdEqQ5ckzh8tT11IfN7QvC1RCcq
 lK1MxeuuFabvdzO9UGWSvdVTXOYDjBg5i.Wly.b2EscGJQiyFTB6ac2d4J8djCBDbHrCqd_1FAnm
 TBoNYgo3mOaEU97x8P1BfiZgVicllxrgChcMDMnHp6rbMy0kZupeYb6_czlWkkHuooV.wUVDHQBj
 pcBsWesvydWhYr9r3YFGIsH8HYIpl5pXkN1pKvqmE91j3ORy76LFPzM2v5pgQ4rSwjcDeecOTZRn
 2IzBSR6Z1Zt9UMR5PTYlf6jdXWyz8Haha6Zq6aNqYHcPFb0lHokRWiz2BRF1YO29SMI0-
X-Sonic-MF: <luangruo@HIDDEN>
X-Sonic-ID: 206c829f-c85d-4b0b-9a37-db0ef545f188
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic304.consmr.mail.ne1.yahoo.com with HTTP; Sat, 20 May 2023 08:28:37 +0000
Received: by hermes--production-sg3-748897c457-24pr6 (Yahoo Inc. Hermes SMTP
 Server) with ESMTPA ID 7208a05fd76570e857ab9ddce40c914b; 
 Sat, 20 May 2023 08:28:35 +0000 (UTC)
From: Po Lu <luangruo@HIDDEN>
In-Reply-To: <83v8gns9is.fsf@HIDDEN> (Eli Zaretskii's message of "Sat, 20 May
 2023 11:16:11 +0300")
References: <87ttwbawse.fsf@HIDDEN> <83v8gou9yb.fsf@HIDDEN>
 <87a5y04wgh.fsf@HIDDEN> <87ednclael.fsf@HIDDEN>
 <83h6s8tlux.fsf@HIDDEN> <87wn133hmz.fsf@HIDDEN>
 <83zg5zsg7g.fsf@HIDDEN> <87fs7r342i.fsf@HIDDEN>
 <83v8gns9is.fsf@HIDDEN>
Date: Sat, 20 May 2023 16:28:30 +0800
Message-ID: <87bkif2yq9.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Mailer: WebService/1.1.21495
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
Content-Length: 369
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Eli Zaretskii <eliz@HIDDEN> writes:

> What function(s) is/are used at that point which tells us a GUI
> session is impossible?

window-system-initialization.

> 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.




Message sent:


MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Eli Zaretskii <eliz@HIDDEN>
Subject: bug#63555: closed (emacs 29 complains that it can't connect to
 the display)
CC: tracker <at> debbugs.gnu.org
Message-ID: <handler.63555.D63555.168458752424255.ackdone <at> debbugs.gnu.org>
References: <83ednbrwfp.fsf@HIDDEN> <87ttwbawse.fsf@HIDDEN>
X-Gnu-PR-Message: closed 63555
X-Gnu-PR-Package: emacs
Date: Sat, 20 May 2023 12:59:02 +0000
Content-Type: multipart/mixed; boundary="----------=_1684587542-24283-0"

This is a multi-part message in MIME format...

------------=_1684587542-24283-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=utf-8

Your message dated Sat, 20 May 2023 15:58:50 +0300
with message-id <83ednbrwfp.fsf@HIDDEN>
and subject line Re: bug#63555: emacs 29 complains that it can't connect to=
 the display
has caused the debbugs.gnu.org bug report #63555,
regarding emacs 29 complains that it can't connect to the display
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@HIDDEN)


--=20
63555: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D63555
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems

------------=_1684587542-24283-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by debbugs.gnu.org; 17 May 2023 13:54:18 +0000
Received: from localhost ([127.0.0.1]:49347 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pzHbd-0001Uq-Oc
	for submit <at> debbugs.gnu.org; Wed, 17 May 2023 09:54:17 -0400
Received: from vps.thesusis.net ([34.202.238.73]:47736)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <phill@HIDDEN>) id 1pzHbb-0001UQ-Do
 for submit <at> debbugs.gnu.org; Wed, 17 May 2023 09:54:15 -0400
Received: by vps.thesusis.net (Postfix, from userid 1000)
 id EDE5011FDA1; Wed, 17 May 2023 09:54:09 -0400 (EDT)
User-agent: mu4e 1.7.12; emacs 27.1
From: Phillip Susi <phill@HIDDEN>
To: submit <at> debbugs.gnu.org
Subject: emacs 29 complains that it can't connect to the display
Date: Wed, 17 May 2023 09:51:43 -0400
Message-ID: <87ttwbawse.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Package: emacs
Version: 29.0.90

In previous versions of emacs, if the DISPLAY/WAYLAND_DISPLAY variable
was not set, it would default to tty mode.  In version 29, it seems to
assume a default value and complains that it can't connect to the
display server unless you run it with -nw.




------------=_1684587542-24283-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 63555-done) by debbugs.gnu.org; 20 May 2023 12:58:44 +0000
Received: from localhost ([127.0.0.1]:58010 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1q0MAW-0006J9-BM
	for submit <at> debbugs.gnu.org; Sat, 20 May 2023 08:58:44 -0400
Received: from eggs.gnu.org ([209.51.188.92]:37622)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1q0MAT-0006Iw-H2
 for 63555-done <at> debbugs.gnu.org; Sat, 20 May 2023 08:58:42 -0400
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 <eliz@HIDDEN>)
 id 1q0MAO-0007my-1h; Sat, 20 May 2023 08:58:36 -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=4nTLpTv2ciR7off0U2JGtlLYn0Zon/WZR/UDFfPi10U=; b=XXJyZ7S07Io9
 oPg+wb5UMBfL8W1VZxuZ3v0WjkFXvaXycUGqtrm2oyp5VaBr30EBSOrhQ4rSgZOU63EwuslDTcgKW
 rDspeKk8OWWVEWrK/iLyYzj/y8AbxefnUcdSMCJMjG8f+tAfg/w3DQ2q3yuzX/1qJCb0oeC8wvMPH
 1T7T5GReg8wXRhpKvmGalSRLOIXMt8QzHQ0MeIwMhnW3Dtln0oFDND2l58yD4X4pr29+20OowsNnx
 hBVn4a7JSDnPYFlB8AY4PVE0PNFl+KopOue9fl8hPvXUmhUDX6XbK7BrOsD+aN1rKFhTQ7Sj9KJII
 lk19COytr8Sla1Nb7WemUQ==;
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 <eliz@HIDDEN>)
 id 1q0MAL-0003aI-Pf; Sat, 20 May 2023 08:58:35 -0400
Date: Sat, 20 May 2023 15:58:50 +0300
Message-Id: <83ednbrwfp.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Po Lu <luangruo@HIDDEN>
In-Reply-To: <87bkif2yq9.fsf@HIDDEN> (message from Po Lu on Sat, 20 May
 2023 16:28:30 +0800)
Subject: Re: bug#63555: emacs 29 complains that it can't connect to the display
References: <87ttwbawse.fsf@HIDDEN> <83v8gou9yb.fsf@HIDDEN>
 <87a5y04wgh.fsf@HIDDEN> <87ednclael.fsf@HIDDEN>
 <83h6s8tlux.fsf@HIDDEN> <87wn133hmz.fsf@HIDDEN>
 <83zg5zsg7g.fsf@HIDDEN> <87fs7r342i.fsf@HIDDEN>
 <83v8gns9is.fsf@HIDDEN> <87bkif2yq9.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 63555-done
Cc: 63555-done <at> debbugs.gnu.org, rpluim@HIDDEN, phill@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Po Lu <luangruo@HIDDEN>
> Cc: rpluim@HIDDEN,  phill@HIDDEN,  63555 <at> debbugs.gnu.org
> Date: Sat, 20 May 2023 16:28:30 +0800
> 
> Eli Zaretskii <eliz@HIDDEN> writes:
> 
> > What function(s) is/are used at that point which tells us a GUI
> > session is impossible?
> 
> window-system-initialization.
> 
> > 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.

Too bad.  I added some verbiage to this effect in NEWS, and I'm
closing this bug.

(With all these disadvantages, I wonder why the PGTK build was
considered such a useful addition to Emacs...)

Btw, the Emacs user manual says WAYLAND_DISPLAY is the variable used
by PGTK, which you seem to say is inaccurate?


------------=_1684587542-24283-0--


Message sent:


MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Phillip Susi <phill@HIDDEN>
Subject: bug#63555: closed (Re: bug#63555: emacs 29 complains that it
 can't connect to the display)
Message-ID: <handler.63555.D63555.168458752424255.notifdone <at> debbugs.gnu.org>
References: <83ednbrwfp.fsf@HIDDEN> <87ttwbawse.fsf@HIDDEN>
X-Gnu-PR-Message: they-closed 63555
X-Gnu-PR-Package: emacs
Reply-To: 63555 <at> debbugs.gnu.org
Date: Sat, 20 May 2023 12:59:02 +0000
Content-Type: multipart/mixed; boundary="----------=_1684587542-24283-1"

This is a multi-part message in MIME format...

------------=_1684587542-24283-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"

Your bug report

#63555: emacs 29 complains that it can't connect to the display

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 63555 <at> debbugs.gnu.org.

--=20
63555: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D63555
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems

------------=_1684587542-24283-1
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 63555-done) by debbugs.gnu.org; 20 May 2023 12:58:44 +0000
Received: from localhost ([127.0.0.1]:58010 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1q0MAW-0006J9-BM
	for submit <at> debbugs.gnu.org; Sat, 20 May 2023 08:58:44 -0400
Received: from eggs.gnu.org ([209.51.188.92]:37622)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1q0MAT-0006Iw-H2
 for 63555-done <at> debbugs.gnu.org; Sat, 20 May 2023 08:58:42 -0400
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 <eliz@HIDDEN>)
 id 1q0MAO-0007my-1h; Sat, 20 May 2023 08:58:36 -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=4nTLpTv2ciR7off0U2JGtlLYn0Zon/WZR/UDFfPi10U=; b=XXJyZ7S07Io9
 oPg+wb5UMBfL8W1VZxuZ3v0WjkFXvaXycUGqtrm2oyp5VaBr30EBSOrhQ4rSgZOU63EwuslDTcgKW
 rDspeKk8OWWVEWrK/iLyYzj/y8AbxefnUcdSMCJMjG8f+tAfg/w3DQ2q3yuzX/1qJCb0oeC8wvMPH
 1T7T5GReg8wXRhpKvmGalSRLOIXMt8QzHQ0MeIwMhnW3Dtln0oFDND2l58yD4X4pr29+20OowsNnx
 hBVn4a7JSDnPYFlB8AY4PVE0PNFl+KopOue9fl8hPvXUmhUDX6XbK7BrOsD+aN1rKFhTQ7Sj9KJII
 lk19COytr8Sla1Nb7WemUQ==;
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 <eliz@HIDDEN>)
 id 1q0MAL-0003aI-Pf; Sat, 20 May 2023 08:58:35 -0400
Date: Sat, 20 May 2023 15:58:50 +0300
Message-Id: <83ednbrwfp.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Po Lu <luangruo@HIDDEN>
In-Reply-To: <87bkif2yq9.fsf@HIDDEN> (message from Po Lu on Sat, 20 May
 2023 16:28:30 +0800)
Subject: Re: bug#63555: emacs 29 complains that it can't connect to the display
References: <87ttwbawse.fsf@HIDDEN> <83v8gou9yb.fsf@HIDDEN>
 <87a5y04wgh.fsf@HIDDEN> <87ednclael.fsf@HIDDEN>
 <83h6s8tlux.fsf@HIDDEN> <87wn133hmz.fsf@HIDDEN>
 <83zg5zsg7g.fsf@HIDDEN> <87fs7r342i.fsf@HIDDEN>
 <83v8gns9is.fsf@HIDDEN> <87bkif2yq9.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 63555-done
Cc: 63555-done <at> debbugs.gnu.org, rpluim@HIDDEN, phill@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Po Lu <luangruo@HIDDEN>
> Cc: rpluim@HIDDEN,  phill@HIDDEN,  63555 <at> debbugs.gnu.org
> Date: Sat, 20 May 2023 16:28:30 +0800
> 
> Eli Zaretskii <eliz@HIDDEN> writes:
> 
> > What function(s) is/are used at that point which tells us a GUI
> > session is impossible?
> 
> window-system-initialization.
> 
> > 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.

Too bad.  I added some verbiage to this effect in NEWS, and I'm
closing this bug.

(With all these disadvantages, I wonder why the PGTK build was
considered such a useful addition to Emacs...)

Btw, the Emacs user manual says WAYLAND_DISPLAY is the variable used
by PGTK, which you seem to say is inaccurate?


------------=_1684587542-24283-1
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by debbugs.gnu.org; 17 May 2023 13:54:18 +0000
Received: from localhost ([127.0.0.1]:49347 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pzHbd-0001Uq-Oc
	for submit <at> debbugs.gnu.org; Wed, 17 May 2023 09:54:17 -0400
Received: from vps.thesusis.net ([34.202.238.73]:47736)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <phill@HIDDEN>) id 1pzHbb-0001UQ-Do
 for submit <at> debbugs.gnu.org; Wed, 17 May 2023 09:54:15 -0400
Received: by vps.thesusis.net (Postfix, from userid 1000)
 id EDE5011FDA1; Wed, 17 May 2023 09:54:09 -0400 (EDT)
User-agent: mu4e 1.7.12; emacs 27.1
From: Phillip Susi <phill@HIDDEN>
To: submit <at> debbugs.gnu.org
Subject: emacs 29 complains that it can't connect to the display
Date: Wed, 17 May 2023 09:51:43 -0400
Message-ID: <87ttwbawse.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Package: emacs
Version: 29.0.90

In previous versions of emacs, if the DISPLAY/WAYLAND_DISPLAY variable
was not set, it would default to tty mode.  In version 29, it seems to
assume a default value and complains that it can't connect to the
display server unless you run it with -nw.




------------=_1684587542-24283-1--


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#63555: closed (Re: bug#63555: emacs 29 complains that it can't connect to the display)
Resent-From: Phillip Susi <phill@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 20 May 2023 17:42:01 +0000
Resent-Message-ID: <handler.63555.B63555.168460450931770 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 63555
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 63555 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, Po Lu <luangruo@HIDDEN>
Received: via spool by 63555-submit <at> debbugs.gnu.org id=B63555.168460450931770
          (code B ref 63555); Sat, 20 May 2023 17:42:01 +0000
Received: (at 63555) by debbugs.gnu.org; 20 May 2023 17:41:49 +0000
Received: from localhost ([127.0.0.1]:59342 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1q0QaS-0008GM-M5
	for submit <at> debbugs.gnu.org; Sat, 20 May 2023 13:41:48 -0400
Received: from vps.thesusis.net ([34.202.238.73]:44374)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <phill@HIDDEN>) id 1q0QaM-0008G3-SB
 for 63555 <at> debbugs.gnu.org; Sat, 20 May 2023 13:41:46 -0400
Received: by vps.thesusis.net (Postfix, from userid 1000)
 id A163812056F; Sat, 20 May 2023 13:41:37 -0400 (EDT)
References: <83ednbrwfp.fsf@HIDDEN> <87ttwbawse.fsf@HIDDEN>
 <handler.63555.D63555.168458752424255.notifdone <at> debbugs.gnu.org>
User-agent: mu4e 1.7.12; emacs 27.1
From: Phillip Susi <phill@HIDDEN>
Date: Sat, 20 May 2023 13:35:56 -0400
In-reply-to: <handler.63555.D63555.168458752424255.notifdone <at> debbugs.gnu.org>
Message-ID: <87a5xyrjce.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


Eli Zaretskii <eliz@HIDDEN> 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 ).





Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#63555: emacs 29 complains that it can't connect to the display
Resent-From: Po Lu <luangruo@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 21 May 2023 00:46:01 +0000
Resent-Message-ID: <handler.63555.D63555.168462992721229 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 63555
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: 63555-done <at> debbugs.gnu.org, rpluim@HIDDEN, phill@HIDDEN
Received: via spool by 63555-done <at> debbugs.gnu.org id=D63555.168462992721229
          (code D ref 63555); Sun, 21 May 2023 00:46:01 +0000
Received: (at 63555-done) by debbugs.gnu.org; 21 May 2023 00:45:27 +0000
Received: from localhost ([127.0.0.1]:59662 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1q0XCR-0005WL-1I
	for submit <at> debbugs.gnu.org; Sat, 20 May 2023 20:45:27 -0400
Received: from sonic314-21.consmr.mail.ne1.yahoo.com ([66.163.189.147]:42493)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <luangruo@HIDDEN>) id 1q0XCP-0005W7-LV
 for 63555-done <at> debbugs.gnu.org; Sat, 20 May 2023 20:45:26 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1684629920; bh=/ED9yr5yfAkYhUCIpSBbc5ANLtPMuX6HWc1QlE2xSHU=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To;
 b=RKN4e/fTjwlWk8GCpejBwbU4ZZg0+c7x0eljTi5E/lw+eM06qPEcFs2/19KRV1QTzaGC5Jf7HX/d+zTkhAQI45JRq87ysSHZ7wUdfl0w5rEbc9UQy3kiw4Bprja5z/GPFKxes4n1F9O+t20g449xnlCbGAao1DWP0iKPLYOAbcIbHUeLNAVyhfAulpT+0uehZM3inrh9Qaee4yeKwuSH7hj3+WqVAbX/7H/4CErrNSmOOpetBqJJ7MNuXg2p/PNWtjMFAugTFxuQTqYjLleO636yiM4Q+dtL9HlnqxA3e0fFjijTXbsDKrixwtQ7cI6ZWk2sZhR2BzV7psmBaTd/lA==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1684629920; bh=AxvlPDoDUz0qmEknLjYtcXXumtZVbalqTBc93mcgxL1=;
 h=X-Sonic-MF:From:To:Subject:Date:From:Subject;
 b=s/SRbVVX5VzSATpiEX5VxKv6WRGtqSUGNmlEG4CT+qYLVNajA3eEfUNsRAjNQwtdJCCxrskfx0zYQ2XiUJV4YOC36A8zclWbsyitOtPEINOknNpe/Nv6RPdCo81x+916q5xw6wlpmcMglom4/1yMBBdAEiXl07YzLksPVOVReJzo+m7gDVHWg5d8FeyZEm+yX+ECugqKiLL957uBzcu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sR1X1X
 I2Zet5BbtvAUmjIEKVnvxkhar16.7nSLd7Y.xUGxkmTFrZzCkP34cdqI4fuXCMdq2qSaKy6zjBVS
 gRlp0J0_T2fmeWghUVLY1kn2pJxWiD9ZGM6DwijB_.ld3ls0eC6JZM7hQwRWF.vo830tzEVxZfUv
 N6TDohiSteTrd8BoDw.8LKL7tg8wk_a3oAjXMmL.rPPyEngyuOynpwcl68HaRA95wDM8aEg7XIN3
 JPTG_HmGfPb_HYtwmdmLtqZfb3LYtQI2p6Ys2SyPP_FyPuOeUkIXCJcUIv1E4.qrOoVJ.wadQDLy
 Wd.GxuTUvaKBK_J8Ocn2PlQzXB5a7nCN0LSBfGesS6aSZIE52o8cm6ScYQxtG7V.go3UuVwI-
X-Sonic-MF: <luangruo@HIDDEN>
X-Sonic-ID: 316788c6-8aa9-440a-bb52-bde84a72a180
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic314.consmr.mail.ne1.yahoo.com with HTTP; Sun, 21 May 2023 00:45:20 +0000
Received: by hermes--production-sg3-748897c457-v5xjh (Yahoo Inc. Hermes SMTP
 Server) with ESMTPA ID 68e1d7acdcbea9f78a062720cfa7d774; 
 Sun, 21 May 2023 00:45:10 +0000 (UTC)
From: Po Lu <luangruo@HIDDEN>
In-Reply-To: <83ednbrwfp.fsf@HIDDEN> (Eli Zaretskii's message of "Sat, 20 May
 2023 15:58:50 +0300")
References: <87ttwbawse.fsf@HIDDEN> <83v8gou9yb.fsf@HIDDEN>
 <87a5y04wgh.fsf@HIDDEN> <87ednclael.fsf@HIDDEN>
 <83h6s8tlux.fsf@HIDDEN> <87wn133hmz.fsf@HIDDEN>
 <83zg5zsg7g.fsf@HIDDEN> <87fs7r342i.fsf@HIDDEN>
 <83v8gns9is.fsf@HIDDEN> <87bkif2yq9.fsf@HIDDEN>
 <83ednbrwfp.fsf@HIDDEN>
Date: Sun, 21 May 2023 08:45:06 +0800
Message-ID: <87ttw61pil.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Mailer: WebService/1.1.21495
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
Content-Length: 672
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Eli Zaretskii <eliz@HIDDEN> writes:

> Too bad.  I added some verbiage to this effect in NEWS, and I'm
> closing this bug.
>
> (With all these disadvantages, I wonder why the PGTK build was
> considered such a useful addition to Emacs...)

To be fair, it solves the problem of running Emacs under Wayland
reasonably well.

> Btw, the Emacs user manual says WAYLAND_DISPLAY is the variable used
> by PGTK, which you seem to say is inaccurate?

WAYLAND_DISPLAY is one of the variables, but there are others too,
depending on which GDK backends are in use (Broadway, Cygwin, Quartz,
etc.)  There may also be new GDK backends in the future.

The user manual should be fixed.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#63555: emacs 29 complains that it can't connect to the display
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 21 May 2023 05:41:01 +0000
Resent-Message-ID: <handler.63555.B63555.168464765222392 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 63555
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Po Lu <luangruo@HIDDEN>
Cc: rpluim@HIDDEN, phill@HIDDEN, 63555 <at> debbugs.gnu.org
Received: via spool by 63555-submit <at> debbugs.gnu.org id=B63555.168464765222392
          (code B ref 63555); Sun, 21 May 2023 05:41:01 +0000
Received: (at 63555) by debbugs.gnu.org; 21 May 2023 05:40:52 +0000
Received: from localhost ([127.0.0.1]:59860 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1q0boK-0005p6-8I
	for submit <at> debbugs.gnu.org; Sun, 21 May 2023 01:40:52 -0400
Received: from eggs.gnu.org ([209.51.188.92]:37266)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1q0boI-0005or-0N
 for 63555 <at> debbugs.gnu.org; Sun, 21 May 2023 01:40:51 -0400
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 <eliz@HIDDEN>)
 id 1q0boB-0002pO-Ut; Sun, 21 May 2023 01:40:44 -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=iJtENGXsCHjEMG0vlWIBVXocf0NOk8MuocXqtGJFkSo=; b=fSxwB3ujL9ge
 lae2rg3FWpXeT5vr3MELXLr8i+8SjOGzslmWm0uOqdiXt+po1rr+IfVKMyda0x12XdROrve40NwfV
 LLahYG6h9xLwnncKD5r9zlNg3cCONu6TzQya71//r9dUw88eGMEAel2Fyav78qDDxXm0BQbESVhcK
 OfX4ypXvFQ3RhRm3bK8e7l1fA29XOYfAAu7zyL66dWOttwUcfhKsMEXc5Z58VgajRzVmvhwitWaRm
 EpQtSXUhsVnDpkL4ub1pdj3rsEFSqO6xWegjclKoZgdvtzbL1OSlrek9TU9TS/WBhdDZ8Nrtgponq
 I85iEn8ynGtqN9PEiSW9Uw==;
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 <eliz@HIDDEN>)
 id 1q0boB-0000YG-D8; Sun, 21 May 2023 01:40:43 -0400
Date: Sun, 21 May 2023 08:41:01 +0300
Message-Id: <835y8ms0lu.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <87ttw61pil.fsf@HIDDEN> (message from Po Lu on Sun, 21 May
 2023 08:45:06 +0800)
References: <87ttwbawse.fsf@HIDDEN> <83v8gou9yb.fsf@HIDDEN>
 <87a5y04wgh.fsf@HIDDEN> <87ednclael.fsf@HIDDEN>
 <83h6s8tlux.fsf@HIDDEN> <87wn133hmz.fsf@HIDDEN>
 <83zg5zsg7g.fsf@HIDDEN> <87fs7r342i.fsf@HIDDEN>
 <83v8gns9is.fsf@HIDDEN> <87bkif2yq9.fsf@HIDDEN>
 <83ednbrwfp.fsf@HIDDEN> <87ttw61pil.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Po Lu <luangruo@HIDDEN>
> Cc: rpluim@HIDDEN,  phill@HIDDEN,  63555-done <at> debbugs.gnu.org
> Date: Sun, 21 May 2023 08:45:06 +0800
> 
> Eli Zaretskii <eliz@HIDDEN> writes:
> 
> > Too bad.  I added some verbiage to this effect in NEWS, and I'm
> > closing this bug.
> >
> > (With all these disadvantages, I wonder why the PGTK build was
> > considered such a useful addition to Emacs...)
> 
> To be fair, it solves the problem of running Emacs under Wayland
> reasonably well.

For some value of "reasonably well".  It's the only configuration for
which we explicitly warn users that very bad things could happen
unless they do so-and-so.

> > Btw, the Emacs user manual says WAYLAND_DISPLAY is the variable used
> > by PGTK, which you seem to say is inaccurate?
> 
> WAYLAND_DISPLAY is one of the variables, but there are others too,
> depending on which GDK backends are in use (Broadway, Cygwin, Quartz,
> etc.)  There may also be new GDK backends in the future.
> 
> The user manual should be fixed.

Please do this ASAP.  Or tell me what should be written there, and
then I will do it.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#63555: emacs 29 complains that it can't connect to the display
Resent-From: Po Lu <luangruo@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 21 May 2023 06:34:02 +0000
Resent-Message-ID: <handler.63555.B63555.168465078329302 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 63555
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: rpluim@HIDDEN, phill@HIDDEN, 63555 <at> debbugs.gnu.org
Received: via spool by 63555-submit <at> debbugs.gnu.org id=B63555.168465078329302
          (code B ref 63555); Sun, 21 May 2023 06:34:02 +0000
Received: (at 63555) by debbugs.gnu.org; 21 May 2023 06:33:03 +0000
Received: from localhost ([127.0.0.1]:59924 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1q0cco-0007cY-Ol
	for submit <at> debbugs.gnu.org; Sun, 21 May 2023 02:33:03 -0400
Received: from sonic316-22.consmr.mail.ne1.yahoo.com ([66.163.187.148]:41836)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <luangruo@HIDDEN>) id 1q0ccl-0007c2-GT
 for 63555 <at> debbugs.gnu.org; Sun, 21 May 2023 02:33:01 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1684650774; bh=DPFRi7zldUrMNB5fOcYa/b3G4uYx7jWFk+p0OfUOq8M=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To;
 b=ZndmUyo0LH1/QU0moQeJ67/nI2OuwGWtwquvtjtAYuXuq0xeYRIYhF+Rzlry0zYkqQYgAt+27tueqfihiaI+5reszsqoYOpK39VVZ/5UFhlRm+cJF7owlHVtJWZtEsqms/FYnp3a3zdS8dovkwOE8TMw1ziRhD3rXvHF6oCu5B8ODXe7JEnxots7Nvc3uyR7c6jspjGzUxp/H2hngTwi3SvYNbBugdpRihJN6vddbzno2Nzmz8YefHXeE6U9/BuJRJim7vtbY5r1+sKjRMPq835zr55VSqdGZoDQH5DUrnC40kJ1gZ074BfzSo/OYc61k24nQ47A8n8LE15rWeODFQ==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1684650774; bh=0VU6FXz05T9QHcMxrg9Ma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MbZ4lSVCE4YPqU713suwUajhEwfJCId3089jPtmb_
 QW438NII.BWOxHWkyMW8iC4LjYM0kjr1JpViLYlJbH5wyjyF7p3G9Y0PLqGZwH5Gx41Bjag8uvHx
 BDJGe66CEzDPGewQBKnZ76ofePVBqYYj4sFFelmLdGOeE6QYMq8R3iI4fdavze.miWoknFNGrw3b
 8bfUvMNPask0e0q0DdYm9yHJp9R1hYy.9DciwmFmcmdxLtkWr_4fpmhAMQgqc28s3J1BlWdoUZgQ
 4Y0kX_T6Fgs02_9KxrpxQf110YwL2MMH79ThfJlP3VqYW4yX1kObpaVIBHdKc.5kC7UjVnA21_4L
 XsMgqT..S.Wy.tHGMTHpVrUgcSnqQMKE1Bki7rHJ7hQkFja0IWFPYzFAXYZDk8LisFklXioOw2Jo
 JpDv11CBPQ_0m4dmT7_fG_gzWXzMeJYDezBa1Ki8zP5HWr.E7htYMpL6rrc8LNV9HX_xVI_qFD3p
 d1f0pIKawMK0RA1GCEwK1ENCBVWieeWLQQU0s45sXUU8JqAFTl5tVmQncvvG83abNGFXBmgHGtBT
 mqNHd_wr.GijFqRs99ZCfqZToMx6d47kMSvXYoETtoN83RBTkeMTrLGlaycm4N2UM_w--
X-Sonic-MF: <luangruo@HIDDEN>
X-Sonic-ID: d4efb871-8de3-4278-b951-52006ebb630b
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic316.consmr.mail.ne1.yahoo.com with HTTP; Sun, 21 May 2023 06:32:54 +0000
Received: by hermes--production-sg3-748897c457-njldh (Yahoo Inc. Hermes SMTP
 Server) with ESMTPA ID a2ad57f44fea79dfbf8904dddd21eb38; 
 Sun, 21 May 2023 06:32:51 +0000 (UTC)
From: Po Lu <luangruo@HIDDEN>
In-Reply-To: <835y8ms0lu.fsf@HIDDEN> (Eli Zaretskii's message of "Sun, 21 May
 2023 08:41:01 +0300")
References: <87ttwbawse.fsf@HIDDEN> <83v8gou9yb.fsf@HIDDEN>
 <87a5y04wgh.fsf@HIDDEN> <87ednclael.fsf@HIDDEN>
 <83h6s8tlux.fsf@HIDDEN> <87wn133hmz.fsf@HIDDEN>
 <83zg5zsg7g.fsf@HIDDEN> <87fs7r342i.fsf@HIDDEN>
 <83v8gns9is.fsf@HIDDEN> <87bkif2yq9.fsf@HIDDEN>
 <83ednbrwfp.fsf@HIDDEN> <87ttw61pil.fsf@HIDDEN>
 <835y8ms0lu.fsf@HIDDEN>
Date: Sun, 21 May 2023 14:32:46 +0800
Message-ID: <87a5xy19f5.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Mailer: WebService/1.1.21495
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
Content-Length: 982
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Eli Zaretskii <eliz@HIDDEN> writes:

> Please do this ASAP.  Or tell me what should be written there, and
> then I will do it.

How about this:

diff --git a/doc/emacs/cmdargs.texi b/doc/emacs/cmdargs.texi
index 9514e3414e1..0abd1ec589c 100644
--- a/doc/emacs/cmdargs.texi
+++ b/doc/emacs/cmdargs.texi
@@ -777,8 +777,13 @@ Misc Variables
 time it is required.
 
 @item WAYLAND_DISPLAY
-Pgtk Emacs (built with @option{--with-pgtk}) can run on Wayland natively.
-@env{WAYLAND_DISPLAY} specifies the connection to the compositor.
+@item BROADWAY_DISPLAY
+When Emacs is built with the @option{--with-pgtk}, it can natively run
+on Wayland, if GTK was built with its Wayland backend enabled.
+@env{WAYLAND_DISPLAY} specifies the name of the Wayland display.
+
+Other backends may use other environment variables to specify the
+display name: Broadway, for example, uses @env{BROADWAY_DISPLAY}.
 
 @item emacs_dir
 On MS-Windows, @env{emacs_dir} is a special environment variable, which




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#63555: emacs 29 complains that it can't connect to the display
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 21 May 2023 11:17:01 +0000
Resent-Message-ID: <handler.63555.B63555.168466781428232 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 63555
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Po Lu <luangruo@HIDDEN>
Cc: rpluim@HIDDEN, phill@HIDDEN, 63555 <at> debbugs.gnu.org
Received: via spool by 63555-submit <at> debbugs.gnu.org id=B63555.168466781428232
          (code B ref 63555); Sun, 21 May 2023 11:17:01 +0000
Received: (at 63555) by debbugs.gnu.org; 21 May 2023 11:16:54 +0000
Received: from localhost ([127.0.0.1]:60115 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1q0h3W-0007LH-3u
	for submit <at> debbugs.gnu.org; Sun, 21 May 2023 07:16:54 -0400
Received: from eggs.gnu.org ([209.51.188.92]:51650)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1q0h3T-0007IY-Tq
 for 63555 <at> debbugs.gnu.org; Sun, 21 May 2023 07:16:53 -0400
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 <eliz@HIDDEN>)
 id 1q0h3M-0004u4-FY; Sun, 21 May 2023 07:16:44 -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=VT1+4XedUFS90h0pxpBBZlEh75ohgnbFTD5NgVHbdtg=; b=ASaUG4u60AGd
 zwMPAXBLO5yj5ZH+U+g89UDFCAY0h452CLzwJAJv4Oalx8AFP1ap0U0rkPDv2tP2OSZhauKrsmpOC
 RsUoJ4EmngmXzcC+6ePyJw357SeQUoiM+s2lktG1DpigVd/jx540XBeQz1pMbhulVjDl2manjI7KT
 NYSoptsdC4qufCTVoqN1gxxeoR5NDSb70DWN5DrrS0zmxg2/vSCnZcB9H+UqrqmNYgV/chR6J1U1W
 dStFuApZwyKAXTdTL+Eksu0X5+llvKeWj5Pam5cWAK8EJ7sspbJYTWWK9s6HfYgRgmAmEWhcRRItN
 xrQ/sPngNHpKoGO/xqtW/g==;
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 <eliz@HIDDEN>)
 id 1q0h3H-0007fy-VC; Sun, 21 May 2023 07:16:40 -0400
Date: Sun, 21 May 2023 14:16:58 +0300
Message-Id: <83r0raq6hh.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <87a5xy19f5.fsf@HIDDEN> (message from Po Lu on Sun, 21 May
 2023 14:32:46 +0800)
References: <87ttwbawse.fsf@HIDDEN> <83v8gou9yb.fsf@HIDDEN>
 <87a5y04wgh.fsf@HIDDEN> <87ednclael.fsf@HIDDEN>
 <83h6s8tlux.fsf@HIDDEN> <87wn133hmz.fsf@HIDDEN>
 <83zg5zsg7g.fsf@HIDDEN> <87fs7r342i.fsf@HIDDEN>
 <83v8gns9is.fsf@HIDDEN> <87bkif2yq9.fsf@HIDDEN>
 <83ednbrwfp.fsf@HIDDEN> <87ttw61pil.fsf@HIDDEN>
 <835y8ms0lu.fsf@HIDDEN> <87a5xy19f5.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Po Lu <luangruo@HIDDEN>
> Cc: rpluim@HIDDEN,  phill@HIDDEN,  63555 <at> debbugs.gnu.org
> Date: Sun, 21 May 2023 14:32:46 +0800
> 
> Eli Zaretskii <eliz@HIDDEN> writes:
> 
> > Please do this ASAP.  Or tell me what should be written there, and
> > then I will do it.
> 
> How about this:
> 
> diff --git a/doc/emacs/cmdargs.texi b/doc/emacs/cmdargs.texi
> index 9514e3414e1..0abd1ec589c 100644
> --- a/doc/emacs/cmdargs.texi
> +++ b/doc/emacs/cmdargs.texi
> @@ -777,8 +777,13 @@ Misc Variables
>  time it is required.
>  
>  @item WAYLAND_DISPLAY
> -Pgtk Emacs (built with @option{--with-pgtk}) can run on Wayland natively.
> -@env{WAYLAND_DISPLAY} specifies the connection to the compositor.
> +@item BROADWAY_DISPLAY
   ^^^^^
"@itemx"

> +When Emacs is built with the @option{--with-pgtk}, it can natively run
                            ^^^
This "the" should be deleted.

> +on Wayland, if GTK was built with its Wayland backend enabled.
> +@env{WAYLAND_DISPLAY} specifies the name of the Wayland display.
> +
> +Other backends may use other environment variables to specify the
> +display name: Broadway, for example, uses @env{BROADWAY_DISPLAY}.

Can we document other variables as well?

Also, I don't think I understand: is Broadway one of the backends for
Wayland?  And Wayland is another backend?  The text says "can run on
Wayland", but then uses "Wayland" as the name of one backend of many.
So it's a bit confusing: is "Wayland" the name of a backend, the
generic name of the GTK backends, or something else?

Thanks.





Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#63555: closed (Re: bug#63555: emacs 29 complains that it can't connect to the display)
Resent-From: Robert Pluim <rpluim@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 22 May 2023 07:30:02 +0000
Resent-Message-ID: <handler.63555.B63555.168474055929222 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 63555
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Phillip Susi <phill@HIDDEN>
Cc: Po Lu <luangruo@HIDDEN>, Eli Zaretskii <eliz@HIDDEN>, 63555 <at> debbugs.gnu.org
Received: via spool by 63555-submit <at> debbugs.gnu.org id=B63555.168474055929222
          (code B ref 63555); Mon, 22 May 2023 07:30:02 +0000
Received: (at 63555) by debbugs.gnu.org; 22 May 2023 07:29:19 +0000
Received: from localhost ([127.0.0.1]:33416 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1q0zyo-0007bF-Vj
	for submit <at> debbugs.gnu.org; Mon, 22 May 2023 03:29:19 -0400
Received: from mail-wr1-f41.google.com ([209.85.221.41]:60803)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rpluim@HIDDEN>) id 1q0zyn-0007b4-P1
 for 63555 <at> debbugs.gnu.org; Mon, 22 May 2023 03:29:18 -0400
Received: by mail-wr1-f41.google.com with SMTP id
 ffacd0b85a97d-3093a6311dcso5571728f8f.1
 for <63555 <at> debbugs.gnu.org>; Mon, 22 May 2023 00:29:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20221208; t=1684740552; x=1687332552;
 h=content-transfer-encoding:mime-version:message-id:date:references
 :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id
 :reply-to; bh=HhJKUEQ3emkVcB1rrvMV+tk6kcONeWmZl/3mCSevPwc=;
 b=SJuw6g3yOy485lGP0gj5Zyymny7jjtsKJ6Z7UdScPVP0RpE2cV7H9TiHpybBenGMao
 Uaclkd+oEritkvR7ntBn9gSBtcSQm3wYWVd1wQ2AoR6w8Oue3UJ68TdhJ1kSGeigfOK9
 sRTRELeGLglKA/zUFQFDrSie9Rgs1TsNag1lQlDQUyDd5CDLgAB2ALMUc0cTxdDh3YM6
 AFXKMmhF61odEc2unzolM16gTSXeLFqN38jcINfD4dtz+Rj/Oe/L/o6p2kRCfFAXv6Cm
 +b/2lTFWmh7kkYcu7HG5elNwDOH0ty3JVRbcoLup1foM6KzzxanqTfS6cNGWR8QY8JJ1
 ycDQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20221208; t=1684740552; x=1687332552;
 h=content-transfer-encoding:mime-version:message-id:date:references
 :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=HhJKUEQ3emkVcB1rrvMV+tk6kcONeWmZl/3mCSevPwc=;
 b=UMSJb0U6R/gN1SGwCVDFpmW3qLZnTBXmPCK4bALgFpVVjN0lTUh6A8jx+f843tcttD
 h/JCTNpUtejyzZ5MAfj2vB7gUnphXCQmRKfZz7DYU9ATFdz3sprFG2fzx+5F5LPRrX+w
 BKOJ790LdwK7zRWmxOw3OrrvIhwuqKPOk1EBB0bGf5EirQm0htLZW2/KoFGwHo40zrtU
 MeWnr4CyAxbonOQd0zp3A1Nc3MTmDA68/IpU5CtyflPp7LqSbsZhCXSu3TwUu/orcur4
 KKiHvUSlbZ3XOH/ptB5JcnHq3CkjXZUUYBpP+ooy/Tyce4CUeWJJVy9p71Uqm1d/qc3B
 Fntw==
X-Gm-Message-State: AC+VfDzDcLZvp+C/MdMOHAUG2jiSDCMQNCkoGdc2oiDWKohuMI8CpHhy
 hnprP2zRSU7xy+zpKLFGTi6rMoZfmBA=
X-Google-Smtp-Source: ACHHUZ4lfdJUMk0kzqyrNnHbySZEVKqiU55ygpRkeR++1plm8PBSnlrLDkmRMe3WuEvpucv3v3jhBQ==
X-Received: by 2002:adf:e912:0:b0:307:7e64:4b52 with SMTP id
 f18-20020adfe912000000b003077e644b52mr7746656wrm.36.1684740551768; 
 Mon, 22 May 2023 00:29:11 -0700 (PDT)
Received: from rltb ([82.66.8.55]) by smtp.gmail.com with ESMTPSA id
 j18-20020adff012000000b00304adbeeabbsm6718111wro.99.2023.05.22.00.29.10
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Mon, 22 May 2023 00:29:11 -0700 (PDT)
From: Robert Pluim <rpluim@HIDDEN>
In-Reply-To: <87a5xyrjce.fsf@HIDDEN> (Phillip Susi's message of
 "Sat, 20 May 2023 13:35:56 -0400")
References: <83ednbrwfp.fsf@HIDDEN> <87ttwbawse.fsf@HIDDEN>
 <handler.63555.D63555.168458752424255.notifdone <at> debbugs.gnu.org>
 <87a5xyrjce.fsf@HIDDEN>
Date: Mon, 22 May 2023 09:29:10 +0200
Message-ID: <875y8klt89.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

>>>>> On Sat, 20 May 2023 13:35:56 -0400, Phillip Susi <phill@HIDDEN>=
 said:

    Phillip> Eli Zaretskii <eliz@HIDDEN> writes:

    >> > Can we invoke those same functions earlier during startup to reali=
ze
    >> > this fact where we still can start as -nw?
    >>=20
    >> Unfortunately not.  At least, not enough to make a change suitable f=
or
    >> the release branch.

    Phillip> Why not?  How hard can it be to set -nw if neither DISPLAY nor
    Phillip> WAYLAND_DISPLAY is set, as emacs always has, prior to
    Phillip> window-system-initialization?

Not too hard. Very much for master, though (and I=CA=BCd need to check if
gtk_init_check has any GTK version dependencies).

diff --git a/src/dispnew.c b/src/dispnew.c
index a928a5d1b14..9a23fb5a182 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -6518,7 +6518,28 @@ init_display_interactive (void)
      try to use X, and if that fails output a line to stderr
      reporting that -nw will be simulated.  */
=20
-#ifdef HAVE_X_WINDOWS
+#ifdef HAVE_PGTK
+  if (! inhibit_window_system)
+    {
+     if (! gtk_init_check (0, 0))
+	{
+	  fprintf (stderr, "PGTK display unavailable, simulating -nw\nCheck your =
$DISPLAY, $WAYLAND_DISPLAY, or $BROADWAY_DISPLAY\n");
+	  inhibit_window_system =3D 1;
+	}
+    }
+
+  if (!inhibit_window_system)
+    {
+      Vinitial_window_system =3D Qpgtk;
+#ifdef USE_NCURSES
+      /* In some versions of ncurses,
+	 tputs crashes if we have not called tgetent.
+	 So call tgetent.  */
+      { char b[2044]; tgetent (b, "xterm");}
+#endif
+      return;
+    }
+#elif defined (HAVE_X_WINDOWS)
   if (! inhibit_window_system && ! display_arg)
     {
       char *display;


Robert
--=20




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#63555: closed (Re: bug#63555: emacs 29 complains that it can't connect to the display)
Resent-From: Po Lu <luangruo@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 22 May 2023 09:27:02 +0000
Resent-Message-ID: <handler.63555.B63555.168474760429392 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 63555
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Robert Pluim <rpluim@HIDDEN>
Cc: Eli Zaretskii <eliz@HIDDEN>, Phillip Susi <phill@HIDDEN>, 63555 <at> debbugs.gnu.org
Received: via spool by 63555-submit <at> debbugs.gnu.org id=B63555.168474760429392
          (code B ref 63555); Mon, 22 May 2023 09:27:02 +0000
Received: (at 63555) by debbugs.gnu.org; 22 May 2023 09:26:44 +0000
Received: from localhost ([127.0.0.1]:33568 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1q11oS-0007e0-7S
	for submit <at> debbugs.gnu.org; Mon, 22 May 2023 05:26:44 -0400
Received: from sonic301-31.consmr.mail.ne1.yahoo.com ([66.163.184.200]:40481)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <luangruo@HIDDEN>) id 1q11oQ-0007dn-DP
 for 63555 <at> debbugs.gnu.org; Mon, 22 May 2023 05:26:42 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1684747597; bh=iA41MBk63mR13q7hKAs6uVHpS4+VbcPmyxm/RSTffoM=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To;
 b=pBboVb/aw02JIhntQTuUBKZC4b8tuRrvSvZ9ac3Ug/Op60XQ5Y+93VWeGQPngvFl/8FjMOCgATKg9OeQTmEzt8+DYBVbxS42x9oJ4fND9x8XpUoFnEDLMjefyIQnF3QjAJlFGZhozZDf/5r4SHRXivfxnSWk0oIHySX5bqI9FI9oM0j2Lx1GYyj4soMWSCqFVeE44hX6psmc6W2gI/6W+JIRYzv4eQUs0BmX8K9rrsZ09a1DSJPs4O/L1yrxIjeEt8x6jh0PluwfZ4jd0i4cQg1/lo5hXtkLQcOmjnKyPo1CLwHy9uC+JmuwGaYA5D0eo4ekh0EbODg8yxgH4WWOgw==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1684747597; bh=lyvFeMCwK8eEQ0Al9LaoYXkFVM2oznTwe1M3Gl5+4kq=;
 h=X-Sonic-MF:From:To:Subject:Date:From:Subject;
 b=ExOgznkr8pmr4yZAzyr+qzH55eKwFTaOpM+k4+6/vSaGlbvT0k9nG98PnCYd/NCSFcSBaJFOAjnWMaXiNQYs79md9yOXvcRvWWrH7MxhSXjWXWFhCo3kFK9uzYjoRHo0ORd28jqJfDZFNXX1nqXavxCtK2NY6SRQpGm8xmp6Api/ZklYqdm9nQhTG31r9WxMLRw3F5iBKVkZHRJserVyaZ3sGFK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Un
 JjRx12aJVYBxaeeZoZnuc0l8Zhcek7AcrKIgwpzWxCJq6cnoBC8sNeg1MxBa29ShD1Gop29k_w5p
 rn.Rx8GoafP38R8m.IG4uDiYDohT8N__.9C446PSacb9D5T2GLg6ADvVZ53lSjewEQP.92gQInEm
 IEeMLJAEiaQqWDI3lkdMZLi4MT8t4QXdYxqX5Q9r3ba7TpBdWPYaeEG25hHXlvD3R9nUofzqcDvI
 Avoqpx6lwrLvWlB969tD.05bP2iX1Mr1nANeLCTqjC6Nxdhhhd3M5mb.K920RVeXCfkzY4vFK6S6
 nBVYg7wDhU._aHLOtQhSkHHYifOeqhMiKIJZ3rd3KZMQyvVyEQ7d62KbLZsMUIW4W3fp1
X-Sonic-MF: <luangruo@HIDDEN>
X-Sonic-ID: e163ee4f-8eaf-4e49-aaf7-4acd952e0ae2
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic301.consmr.mail.ne1.yahoo.com with HTTP; Mon, 22 May 2023 09:26:37 +0000
Received: by hermes--production-sg3-748897c457-vf9wl (Yahoo Inc. Hermes SMTP
 Server) with ESMTPA ID efadfdec7cc4f19ae30dc2f8d10db514; 
 Mon, 22 May 2023 09:26:32 +0000 (UTC)
From: Po Lu <luangruo@HIDDEN>
In-Reply-To: <875y8klt89.fsf@HIDDEN> (Robert Pluim's message of "Mon, 22
 May 2023 09:29:10 +0200")
References: <83ednbrwfp.fsf@HIDDEN> <87ttwbawse.fsf@HIDDEN>
 <handler.63555.D63555.168458752424255.notifdone <at> debbugs.gnu.org>
 <87a5xyrjce.fsf@HIDDEN> <875y8klt89.fsf@HIDDEN>
Date: Mon, 22 May 2023 17:26:27 +0800
Message-ID: <877ct0zph8.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Mailer: WebService/1.1.21495
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
Content-Length: 1023
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Robert Pluim <rpluim@HIDDEN> writes:

> Not too hard. Very much for master, though (and I=CA=BCd need to check if
> gtk_init_check has any GTK version dependencies).
>
> diff --git a/src/dispnew.c b/src/dispnew.c
> index a928a5d1b14..9a23fb5a182 100644
> --- a/src/dispnew.c
> +++ b/src/dispnew.c
> @@ -6518,7 +6518,28 @@ init_display_interactive (void)
>       try to use X, and if that fails output a line to stderr
>       reporting that -nw will be simulated.  */
>=20=20
> -#ifdef HAVE_X_WINDOWS
> +#ifdef HAVE_PGTK
> +  if (! inhibit_window_system)
> +    {
> +     if (! gtk_init_check (0, 0))
> +	{
> +	  fprintf (stderr, "PGTK display unavailable, simulating -nw\nCheck you=
r $DISPLAY, $WAYLAND_DISPLAY, or $BROADWAY_DISPLAY\n");
> +	  inhibit_window_system =3D 1;
> +	}
> +    }

The problem with this approach is that gtk_init_check initializes the
window system upon success, so once pgtk_term_init is called in
pgtkterm.c, the window system is set up a second time, leaving two
display connections open...




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#63555: closed (Re: bug#63555: emacs 29 complains that it can't connect to the display)
Resent-From: Robert Pluim <rpluim@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 22 May 2023 10:06:02 +0000
Resent-Message-ID: <handler.63555.B63555.16847499521719 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 63555
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Po Lu <luangruo@HIDDEN>
Cc: Eli Zaretskii <eliz@HIDDEN>, Phillip Susi <phill@HIDDEN>, 63555 <at> debbugs.gnu.org
Received: via spool by 63555-submit <at> debbugs.gnu.org id=B63555.16847499521719
          (code B ref 63555); Mon, 22 May 2023 10:06:02 +0000
Received: (at 63555) by debbugs.gnu.org; 22 May 2023 10:05:52 +0000
Received: from localhost ([127.0.0.1]:33626 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1q12QK-0000Rf-EE
	for submit <at> debbugs.gnu.org; Mon, 22 May 2023 06:05:52 -0400
Received: from mail-wm1-f41.google.com ([209.85.128.41]:51273)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rpluim@HIDDEN>) id 1q12QI-0000RS-HW
 for 63555 <at> debbugs.gnu.org; Mon, 22 May 2023 06:05:51 -0400
Received: by mail-wm1-f41.google.com with SMTP id
 5b1f17b1804b1-3f607e60902so1955105e9.2
 for <63555 <at> debbugs.gnu.org>; Mon, 22 May 2023 03:05:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20221208; t=1684749945; x=1687341945;
 h=mime-version:message-id:date:references:in-reply-to:subject:cc:to
 :from:from:to:cc:subject:date:message-id:reply-to;
 bh=HA/8pZ+qJpjieoUbdA6yfWaKdAXdRj1XD0PdkjdP1xE=;
 b=geqchAgpp8rImZeJljLgxBOScgzYmtCLMujWCshK+BboVeuIJoqdT7aVtjwgbdpr3+
 v4lJFm04lTMRgEb2fkyx5+AL+zhq9ZzcO187nb0xIM9CJxRo+kBB6Rnoconca7SFFW35
 gatH+vxh3+AxCmjEW4F9wtHPZpDQTQkZZVDS+vEQPR10M+ofG60bjWZWSTiBKWY6UfiK
 KEv8j+cu41Qnys9Ew1M/pC2+mCe720MbER/XIsVG+pC1Mmix9TKKQ/tydTbho3N50KRk
 sUGiyNvUwZKwkFg8CILdprwRm2ik5+3hUIGBTOxZmXG47o8kyUTtaFGN8AECaEHnt09r
 YIWA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20221208; t=1684749945; x=1687341945;
 h=mime-version:message-id:date:references:in-reply-to:subject:cc:to
 :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=HA/8pZ+qJpjieoUbdA6yfWaKdAXdRj1XD0PdkjdP1xE=;
 b=KNJKbxg75imkFybikUBaqMe7sYvMXi6t33A/wmShxA9Tbbb0N//KEkUdfoKpdIqAS8
 KA6Tou5c7NliRszHmvnSAUtxQQw6tGj1MTmaBsS3IGl+j+BXRECAfGI+2CUVFkNpNyR4
 eoFfwKPrmMcHqW0u7dMBP1jnk6RJQZ4f29MTukKHD+gaPb7fjBJGHN4OFuHh0jonrIGa
 AXm22nLKXCVziarQkwBvdZInZ3IWotqcun555iThhrgCjodJJrVAT8rZPinY+FKfBvvQ
 LmNuB3oJJsQp8hcny+4jtLaJV01pqvmDl+09BvV6x2Ddnd9/pbYcQSlrG/ftWd5SJyMK
 s9aA==
X-Gm-Message-State: AC+VfDy+sJ3oQ9haEFVcQZlLTqc5poxg86R1Yr1Ev6gIv6pXo44+OslW
 HiN52JF6UiNUkL5idS6D13U=
X-Google-Smtp-Source: ACHHUZ5o+YaESrqVszXn/+Eo1m1CIDv8c9Q2wlOqjFq78w6nQe/GRm5TthyO0J8G0IzAaGlX4AP+vQ==
X-Received: by 2002:a7b:ce89:0:b0:3f6:795:6d1a with SMTP id
 q9-20020a7bce89000000b003f607956d1amr728882wmj.22.1684749944466; 
 Mon, 22 May 2023 03:05:44 -0700 (PDT)
Received: from rltb ([82.66.8.55]) by smtp.gmail.com with ESMTPSA id
 z14-20020a7bc7ce000000b003f4b6bcbd8bsm7814001wmk.31.2023.05.22.03.05.43
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Mon, 22 May 2023 03:05:43 -0700 (PDT)
From: Robert Pluim <rpluim@HIDDEN>
In-Reply-To: <877ct0zph8.fsf@HIDDEN> (Po Lu's message of "Mon, 22 May 2023
 17:26:27 +0800")
References: <83ednbrwfp.fsf@HIDDEN> <87ttwbawse.fsf@HIDDEN>
 <handler.63555.D63555.168458752424255.notifdone <at> debbugs.gnu.org>
 <87a5xyrjce.fsf@HIDDEN> <875y8klt89.fsf@HIDDEN>
 <877ct0zph8.fsf@HIDDEN>
Date: Mon, 22 May 2023 12:05:43 +0200
Message-ID: <87wn10k7ew.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

>>>>> On Mon, 22 May 2023 17:26:27 +0800, Po Lu <luangruo@HIDDEN> said:

    Po> The problem with this approach is that gtk_init_check initializes the
    Po> window system upon success, so once pgtk_term_init is called in
    Po> pgtkterm.c, the window system is set up a second time, leaving two
    Po> display connections open...

Is there anything stopping us from removing that call to gtk_init?

Robert
-- 




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#63555: closed (Re: bug#63555: emacs 29 complains that it can't connect to the display)
Resent-From: Po Lu <luangruo@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 22 May 2023 11:16:01 +0000
Resent-Message-ID: <handler.63555.B63555.168475415910081 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 63555
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Robert Pluim <rpluim@HIDDEN>
Cc: Eli Zaretskii <eliz@HIDDEN>, Phillip Susi <phill@HIDDEN>, 63555 <at> debbugs.gnu.org
Received: via spool by 63555-submit <at> debbugs.gnu.org id=B63555.168475415910081
          (code B ref 63555); Mon, 22 May 2023 11:16:01 +0000
Received: (at 63555) by debbugs.gnu.org; 22 May 2023 11:15:59 +0000
Received: from localhost ([127.0.0.1]:33685 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1q13WB-0002cW-EQ
	for submit <at> debbugs.gnu.org; Mon, 22 May 2023 07:15:59 -0400
Received: from sonic307-56.consmr.mail.ne1.yahoo.com ([66.163.190.31]:44872)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <luangruo@HIDDEN>) id 1q13W9-0002cH-8q
 for 63555 <at> debbugs.gnu.org; Mon, 22 May 2023 07:15:58 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1684754151; bh=lmeeXbe6/ofHwv41sGgjbzuueX3DAhCudi1RNdvn5+U=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To;
 b=ruPLvAXGCAbOPtyhbxF8qfXvB7EDPTpxFR5yi93wy1o+v/uQZWu4Jm4eMSpMHdyCOdScM6SLPCVR9g5rbgLb8XAF+CZTlJ4Kv6cW2SO6aq1cF1sdNuJ1wldzVdhwqj/01eOl3B1A7cfAxvMZxeow8zdGj3jcvxUXceG7y6wyTOgUjpfm2TnMLJfbIXydVTlGlIDH+mflcUdl3lRcmB//W8NFprCG7avufKzytRtKO5JN7qhRuF16WmLyxHg8tonzjgxx29Zx0yxiwusNlk8hvTeqIgZ68WHU8+MdZqQOi0X6FIkS/O9SAeFJT5mVDMk4kqidruKfq5wTSPJpAKzV+Q==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1684754151; bh=0g5jLrKcye6FPqzXfhlbgSZPgZ5mujxthBPjaSS0lRB=;
 h=X-Sonic-MF:From:To:Subject:Date:From:Subject;
 b=uEZ5UukVCFsopXZ3knDQhevfz6T0EbOtiILSpl8BfU3PlXpafS20D+XCK5HB48KnobUoxKMEaKD3rE+F7FitLwOhmqCkKKn0yYehp3dK9HSBC5aHgEJcijAqTmlDS9YqlgpLPld08nQGWPy0o2WPNd6vw52neVVIchPRQdU1w2vQ84kDSBilhI3SYTsR5a+deQmEvyT7jfw3LS7/Zj+rXSIiA0YhJnoqfymYbJBv/AF3OX38WPkcHhSZBLvcp/tF5IQaoQdHBofq/QfZWvMLUFxweDEt84GAYsauq4yptCSiV333J0RsGE3QNuEsG//1XdF4yM5sCuDoXGNJ7ZkQTQ==
X-YMail-OSG: 7_l7WgwVM1moNJ_sWlssmDA1C162YWnp7zqu3ZqgijpvKZ.2imZ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OAQNOr8n5_YqX3Cy0Ny5K5O5ITAdCU9fJGg6C07ysy_FMpDkMlZsEy0u
 .Nae.YkDjdKOc4.i0IGstXkeITHWxPU7afFOimHHUH9w0gNPhpvorS6AKcZQ_IqH6_AcahlqS9Kb
 MvIjFgoLmWmqv44S7CNC8sNDgPP0_rfvdCUHHzOCrJlq_AftSJzd0OI3DzUC5m7x7
X-Sonic-MF: <luangruo@HIDDEN>
X-Sonic-ID: d92d6727-4a7c-4c3d-912a-d2046a43b772
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic307.consmr.mail.ne1.yahoo.com with HTTP; Mon, 22 May 2023 11:15:51 +0000
Received: by hermes--production-sg3-748897c457-w4b4d (Yahoo Inc. Hermes SMTP
 Server) with ESMTPA ID 56ea090d2477c2a2ab9e25b2d764cbd3; 
 Mon, 22 May 2023 11:15:45 +0000 (UTC)
From: Po Lu <luangruo@HIDDEN>
In-Reply-To: <87wn10k7ew.fsf@HIDDEN> (Robert Pluim's message of "Mon, 22
 May 2023 12:05:43 +0200")
References: <83ednbrwfp.fsf@HIDDEN> <87ttwbawse.fsf@HIDDEN>
 <handler.63555.D63555.168458752424255.notifdone <at> debbugs.gnu.org>
 <87a5xyrjce.fsf@HIDDEN> <875y8klt89.fsf@HIDDEN>
 <877ct0zph8.fsf@HIDDEN> <87wn10k7ew.fsf@HIDDEN>
Date: Mon, 22 May 2023 19:15:40 +0800
Message-ID: <87ttw4y5ur.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Mailer: WebService/1.1.21495
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
Content-Length: 810
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Robert Pluim <rpluim@HIDDEN> writes:

>>>>>> On Mon, 22 May 2023 17:26:27 +0800, Po Lu <luangruo@HIDDEN> said:
>
>     Po> The problem with this approach is that gtk_init_check initializes the
>     Po> window system upon success, so once pgtk_term_init is called in
>     Po> pgtkterm.c, the window system is set up a second time, leaving two
>     Po> display connections open...
>
> Is there anything stopping us from removing that call to gtk_init?

Yes, since the PGTK build is supposed to support multiple displays.

BTW, the other problem with calling `gtk_init_check' is that when it
returns FALSE, calling any other GTK function results in undefined
behavior.  Thus, if `gtk_init_check' is used at startup, opening a
display later becomes unsafe, even if a display connection is then
available.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#63555: closed (Re: bug#63555: emacs 29 complains that it can't connect to the display)
Resent-From: Robert Pluim <rpluim@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 22 May 2023 11:29:01 +0000
Resent-Message-ID: <handler.63555.B63555.168475490111334 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 63555
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Po Lu <luangruo@HIDDEN>
Cc: Eli Zaretskii <eliz@HIDDEN>, Phillip Susi <phill@HIDDEN>, 63555 <at> debbugs.gnu.org
Received: via spool by 63555-submit <at> debbugs.gnu.org id=B63555.168475490111334
          (code B ref 63555); Mon, 22 May 2023 11:29:01 +0000
Received: (at 63555) by debbugs.gnu.org; 22 May 2023 11:28:21 +0000
Received: from localhost ([127.0.0.1]:33709 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1q13i9-0002wj-35
	for submit <at> debbugs.gnu.org; Mon, 22 May 2023 07:28:21 -0400
Received: from mail-wr1-f53.google.com ([209.85.221.53]:53502)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rpluim@HIDDEN>) id 1q13i4-0002wS-VC
 for 63555 <at> debbugs.gnu.org; Mon, 22 May 2023 07:28:19 -0400
Received: by mail-wr1-f53.google.com with SMTP id
 ffacd0b85a97d-309550263e0so3401303f8f.2
 for <63555 <at> debbugs.gnu.org>; Mon, 22 May 2023 04:28:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20221208; t=1684754891; x=1687346891;
 h=content-transfer-encoding:mime-version:message-id:date:references
 :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id
 :reply-to; bh=Oyeu81gWUJ/3plgDtzhiTBiNGVHa+ZvgoxaJzglxXr0=;
 b=E/fbnOa1YQUIipi9+k378S0Yo0ZbRp6vLI1vh+CA9/RKrgCyqVBblNDzpXNx325SUr
 09+wt2tYRaFzATXHa242YYxreVpeRLA1EeI7iI68uBP5PRQNe5VLc2my9FY+fqsOM5hG
 sdTRhjVm26ZYJ+6W9SZ4LsqloOaQPuGwBJTAeTuAklRR0bx0QV2U7gyE5tHmxoOzQLNm
 TtqF9hm8rtlYCvgjtOF8PhIIglZIeUyXD3LtFNTzoSp/0RiIsJVODpmUMV2IoidOOEoH
 rG8UsPlQ+LjqHzrCWfn6skvlhyGr7Dw8EJDsppU4H3ChLgi9jLbuF2zxLoR9nSV+7lVY
 vqvA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20221208; t=1684754891; x=1687346891;
 h=content-transfer-encoding:mime-version:message-id:date:references
 :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=Oyeu81gWUJ/3plgDtzhiTBiNGVHa+ZvgoxaJzglxXr0=;
 b=LChzP0qi3zB8j0cyyh/xQ42ggLQ0aEghE+bhaeQbdIO5C9zdVui9ypMhWoW5Ghq1Ii
 zDQcCgLrD/w/Np8HmgCazO2sh1Ts4I4pJ1xx82esQL/6t40AoqExMKYEhKzXgUdypLZa
 W7zbiYQ9H9bEyWeax4W/uiFYcj35Ja4jhA5Iw0dbPceK3Qf5/qXQE4FyS+yx4RVNEz/I
 CAONaGPIPW3QAllWLCPGrQ1jC9F2SLncujZvUoR3KXTAtIP94AnG7+FpqSiDJeGn3xnE
 hKaH9py7B5pqFL8AnOUiX9J9W6HVCyreIHNV2TuXmWb8zi2c4TBJKVwT6dg75vXzG54f
 ue4A==
X-Gm-Message-State: AC+VfDzlQ5whrTy9jn6twidkY83Ic2atO0vSMkqXrXQqKynh22IIrUGn
 8/jQMDXyh6BYI/tyecqo5lg=
X-Google-Smtp-Source: ACHHUZ52YBjS7xXrY8Vt5c+YzSG1DLk2a/asEgg/y/tbQrN7XBsbQc4mJnbR+dhJ0PrZ3NaVxF9IkA==
X-Received: by 2002:adf:ee05:0:b0:309:3c19:a127 with SMTP id
 y5-20020adfee05000000b003093c19a127mr7069333wrn.36.1684754890670; 
 Mon, 22 May 2023 04:28:10 -0700 (PDT)
Received: from rltb ([82.66.8.55]) by smtp.gmail.com with ESMTPSA id
 o10-20020a056000010a00b002c70ce264bfsm7387735wrx.76.2023.05.22.04.28.09
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Mon, 22 May 2023 04:28:10 -0700 (PDT)
From: Robert Pluim <rpluim@HIDDEN>
In-Reply-To: <87ttw4y5ur.fsf@HIDDEN> (Po Lu's message of "Mon, 22 May 2023
 19:15:40 +0800")
References: <83ednbrwfp.fsf@HIDDEN> <87ttwbawse.fsf@HIDDEN>
 <handler.63555.D63555.168458752424255.notifdone <at> debbugs.gnu.org>
 <87a5xyrjce.fsf@HIDDEN> <875y8klt89.fsf@HIDDEN>
 <877ct0zph8.fsf@HIDDEN> <87wn10k7ew.fsf@HIDDEN>
 <87ttw4y5ur.fsf@HIDDEN>
Date: Mon, 22 May 2023 13:28:09 +0200
Message-ID: <87sfbok3li.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

>>>>> On Mon, 22 May 2023 19:15:40 +0800, Po Lu <luangruo@HIDDEN> said:

    Po Lu> Robert Pluim <rpluim@HIDDEN> writes:
    >>>>>>> On Mon, 22 May 2023 17:26:27 +0800, Po Lu <luangruo@HIDDEN> =
said:
    >>=20
    Po> The problem with this approach is that gtk_init_check initializes t=
he
    Po> window system upon success, so once pgtk_term_init is called in
    Po> pgtkterm.c, the window system is set up a second time, leaving two
    Po> display connections open...
    >>=20
    >> Is there anything stopping us from removing that call to gtk_init?

    Po Lu> Yes, since the PGTK build is supposed to support multiple displa=
ys.

Ha! And has anyone actually tested that? :-)

    Po Lu> BTW, the other problem with calling `gtk_init_check' is that whe=
n it
    Po Lu> returns FALSE, calling any other GTK function results in undefin=
ed
    Po Lu> behavior.  Thus, if `gtk_init_check' is used at startup, opening=
 a
    Po Lu> display later becomes unsafe, even if a display connection is th=
en
    Po Lu> available.

Do the gtk folks deliberately set out to make their users=CA=BC lives
difficult, or is it accidental?

Looks like Eli=CA=BCs NEWS entry is it, then.

Robert
--=20




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#63555: closed (Re: bug#63555: emacs 29 complains that it can't connect to the display)
Resent-From: Po Lu <luangruo@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 22 May 2023 12:52:01 +0000
Resent-Message-ID: <handler.63555.B63555.168475987230444 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 63555
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Robert Pluim <rpluim@HIDDEN>
Cc: Eli Zaretskii <eliz@HIDDEN>, Phillip Susi <phill@HIDDEN>, 63555 <at> debbugs.gnu.org
Received: via spool by 63555-submit <at> debbugs.gnu.org id=B63555.168475987230444
          (code B ref 63555); Mon, 22 May 2023 12:52:01 +0000
Received: (at 63555) by debbugs.gnu.org; 22 May 2023 12:51:12 +0000
Received: from localhost ([127.0.0.1]:33898 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1q150J-0007uw-H6
	for submit <at> debbugs.gnu.org; Mon, 22 May 2023 08:51:11 -0400
Received: from sonic303-21.consmr.mail.ne1.yahoo.com ([66.163.188.147]:40024)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <luangruo@HIDDEN>) id 1q150G-0007tu-RY
 for 63555 <at> debbugs.gnu.org; Mon, 22 May 2023 08:51:10 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1684759862; bh=0dMEbJqTj+syZPImujQKEeE7GQgv+q/BCScGvd9m+Co=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To;
 b=l5TOJVYuVLgA4xmgadfCtrmzD+5PVk2b5ADSrtuxkzz+kD7npLmhqphFxXlIvZn/NvelPVqijkJLDgVMg/d6S+t9TStOjGio93E76sFzvLKiaYrkGTSny5I84/z1aWsEsAMnz4YT3Tp0jx54h8C0yqwERqH3XrVKOAaz0MOUBxPaz+mqksBGLugOBUWozQfnId0CKt8MFETamW+GcdipS7NVNRIEMw94bHdhMXxNSyJIengCEzETAT1NdISfRk3BpzCjj4Qp99ZtYRyLs9xWC9AV1IX6XdyG0lapsVyMQv8LgArVn4g8NxuZa/6Xm8FwmH3gzzSGVCGCEf+EVBSLfA==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1684759862; bh=nVWs5HrXyItRmSrEg+TkjyhnsC1b+kcp5NAUs0aYK9S=;
 h=X-Sonic-MF:From:To:Subject:Date:From:Subject;
 b=eonbAIfcAAjxNUgkLW/wsA9LrNNCd/gz8j+DU2QkpSwkmWUR6wJkJEYmcTOQGLWm1rXbCfvLQHkO+royKdJdZSfi+ljVyOrCf3vfdUPfb3vV0yjKnLXOGl63VG+h5yWklVIrz4z7iniFMbT7I97EaRxXhgH5hWPeMdv/U9BN93EQ7+xWWeEeU8yMGL9w6ZVS7iImHYkevAQcAuTvXF1gaRp/y9av/NvjNG5rVZRKZzRAiJR6dOkfOCHzu8y1L/bx1/bB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7cpyy6MOCYKLjvJDNJnxRoFhED0_K
 RzSgZrYnyRg1BKb60wfhemZNYd4UFEa4aohM8y1MSLb2wvDtf2Hqu2AOIpmClZrQm0Q1x3grP2eH
 ud9ou8if2dRWnSNJc8cgtSfKUH1.PUKMjeRzEptWuofS3taki1DuRIUi3f2ejM2q0.ZP6k4mInUO
 MnjHnG_p_tVMYfrxHDcguJBCgtYZ0p0xQfZMnMxbvNmEOL.oic8T6WbKYQ_9RgHBGBFj0duFPxsJ
 lQVcAXXhLw6ndEyfKDe1xQbTGak3m5yRHq8GtIz2ZDGS2MMl_tgtC7HZYyr.NiYnjsNuAjQ--
X-Sonic-MF: <luangruo@HIDDEN>
X-Sonic-ID: 86507f45-d1a1-48b8-aa18-2f202ae8e62f
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic303.consmr.mail.ne1.yahoo.com with HTTP; Mon, 22 May 2023 12:51:02 +0000
Received: by hermes--production-sg3-748897c457-ppt9c (Yahoo Inc. Hermes SMTP
 Server) with ESMTPA ID ea6aec5a858e93934dd5d3a5bfa4baae; 
 Mon, 22 May 2023 12:50:59 +0000 (UTC)
From: Po Lu <luangruo@HIDDEN>
In-Reply-To: <87sfbok3li.fsf@HIDDEN> (Robert Pluim's message of "Mon, 22
 May 2023 13:28:09 +0200")
References: <83ednbrwfp.fsf@HIDDEN> <87ttwbawse.fsf@HIDDEN>
 <handler.63555.D63555.168458752424255.notifdone <at> debbugs.gnu.org>
 <87a5xyrjce.fsf@HIDDEN> <875y8klt89.fsf@HIDDEN>
 <877ct0zph8.fsf@HIDDEN> <87wn10k7ew.fsf@HIDDEN>
 <87ttw4y5ur.fsf@HIDDEN> <87sfbok3li.fsf@HIDDEN>
Date: Mon, 22 May 2023 20:50:54 +0800
Message-ID: <87lehgy1g1.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Mailer: WebService/1.1.21495
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
Content-Length: 365
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Robert Pluim <rpluim@HIDDEN> writes:

> Ha! And has anyone actually tested that? :-)

I did.  It works, but as expected, loses if a display connection is then
closed by any means other than being destroyed immediately after being
set up.

> Do the gtk folks deliberately set out to make their users=CA=BC lives
> difficult, or is it accidental?

I have no idea.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#63555: closed (Re: bug#63555: emacs 29 complains that it can't connect to the display)
Resent-From: Phillip Susi <phill@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 22 May 2023 13:45:01 +0000
Resent-Message-ID: <handler.63555.B63555.16847630673778 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 63555
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Po Lu <luangruo@HIDDEN>
Cc: Robert Pluim <rpluim@HIDDEN>, Eli Zaretskii <eliz@HIDDEN>, 63555 <at> debbugs.gnu.org
Received: via spool by 63555-submit <at> debbugs.gnu.org id=B63555.16847630673778
          (code B ref 63555); Mon, 22 May 2023 13:45:01 +0000
Received: (at 63555) by debbugs.gnu.org; 22 May 2023 13:44:27 +0000
Received: from localhost ([127.0.0.1]:34160 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1q15pq-0000ys-VD
	for submit <at> debbugs.gnu.org; Mon, 22 May 2023 09:44:27 -0400
Received: from vps.thesusis.net ([34.202.238.73]:46180)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <phill@HIDDEN>) id 1q15po-0000xl-6f
 for 63555 <at> debbugs.gnu.org; Mon, 22 May 2023 09:44:25 -0400
Received: by vps.thesusis.net (Postfix, from userid 1000)
 id D538C12090C; Mon, 22 May 2023 09:44:17 -0400 (EDT)
References: <83ednbrwfp.fsf@HIDDEN> <87ttwbawse.fsf@HIDDEN>
 <handler.63555.D63555.168458752424255.notifdone <at> debbugs.gnu.org>
 <87a5xyrjce.fsf@HIDDEN> <875y8klt89.fsf@HIDDEN>
 <877ct0zph8.fsf@HIDDEN> <87wn10k7ew.fsf@HIDDEN>
 <87ttw4y5ur.fsf@HIDDEN>
User-agent: mu4e 1.7.12; emacs 27.1
From: Phillip Susi <phill@HIDDEN>
Date: Mon, 22 May 2023 09:37:30 -0400
In-reply-to: <87ttw4y5ur.fsf@HIDDEN>
Message-ID: <87pm6smqfi.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


Po Lu <luangruo@HIDDEN> writes:

>> Is there anything stopping us from removing that call to gtk_init?
>
> Yes, since the PGTK build is supposed to support multiple displays.

What does multiple displays have to do with it?  If gtk_init_check()
tries to connect to the display sever, then itsn't it that call that
should be skipped if none of those 3 environment variables are set?





Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#63555: closed (Re: bug#63555: emacs 29 complains that it can't connect to the display)
Resent-From: Phillip Susi <phill@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 22 May 2023 16:48:02 +0000
Resent-Message-ID: <handler.63555.B63555.16847740304349 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 63555
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Robert Pluim <rpluim@HIDDEN>
Cc: Po Lu <luangruo@HIDDEN>, Eli Zaretskii <eliz@HIDDEN>, 63555 <at> debbugs.gnu.org
Received: via spool by 63555-submit <at> debbugs.gnu.org id=B63555.16847740304349
          (code B ref 63555); Mon, 22 May 2023 16:48:02 +0000
Received: (at 63555) by debbugs.gnu.org; 22 May 2023 16:47:10 +0000
Received: from localhost ([127.0.0.1]:36108 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1q18gg-000184-5G
	for submit <at> debbugs.gnu.org; Mon, 22 May 2023 12:47:10 -0400
Received: from vps.thesusis.net ([34.202.238.73]:59236)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <phill@HIDDEN>) id 1q18gc-00017U-9B
 for 63555 <at> debbugs.gnu.org; Mon, 22 May 2023 12:47:08 -0400
Received: by vps.thesusis.net (Postfix, from userid 1000)
 id 821A91209B4; Mon, 22 May 2023 12:47:00 -0400 (EDT)
References: <83ednbrwfp.fsf@HIDDEN> <87ttwbawse.fsf@HIDDEN>
 <handler.63555.D63555.168458752424255.notifdone <at> debbugs.gnu.org>
 <87a5xyrjce.fsf@HIDDEN> <875y8klt89.fsf@HIDDEN>
User-agent: mu4e 1.7.12; emacs 27.1
From: Phillip Susi <phill@HIDDEN>
Date: Mon, 22 May 2023 12:44:40 -0400
In-reply-to: <875y8klt89.fsf@HIDDEN>
Message-ID: <87ttw4fh4r.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--=-=-=
Content-Type: text/plain


This patch works for me.


--=-=-=
Content-Type: text/x-diff
Content-Disposition: inline; filename=auto-nw-mode.patch

Index: b/src/dispnew.c
===================================================================
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -6559,8 +6558,20 @@ init_display_interactive (void)
 #ifdef HAVE_PGTK
   if (!inhibit_window_system && !will_dump_p ())
     {
-      Vinitial_window_system = Qpgtk;
-      return;
+      char *display, *wayland_display;
+      display = getenv ("DISPLAY");
+      wayland_display = getenv ("WAYLAND_DISPLAY");
+
+      if (display == NULL && wayland_display == NULL)
+	{
+	  fprintf (stderr, "Neither DISPLAY nor WAYLAND_DISPLAY are set, simulating -nw\n");
+	  inhibit_window_system = 1;
+	}
+      else
+	{
+	  Vinitial_window_system = Qpgtk;
+	  return;
+	}
     }
 #endif
 

--=-=-=--




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#63555: closed (Re: bug#63555: emacs 29 complains that it can't connect to the display)
Resent-From: Robert Pluim <rpluim@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 22 May 2023 17:07:01 +0000
Resent-Message-ID: <handler.63555.B63555.16847751677186 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 63555
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Phillip Susi <phill@HIDDEN>
Cc: Po Lu <luangruo@HIDDEN>, Eli Zaretskii <eliz@HIDDEN>, 63555 <at> debbugs.gnu.org
Received: via spool by 63555-submit <at> debbugs.gnu.org id=B63555.16847751677186
          (code B ref 63555); Mon, 22 May 2023 17:07:01 +0000
Received: (at 63555) by debbugs.gnu.org; 22 May 2023 17:06:07 +0000
Received: from localhost ([127.0.0.1]:36154 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1q18z0-0001rq-Ly
	for submit <at> debbugs.gnu.org; Mon, 22 May 2023 13:06:06 -0400
Received: from mail-wr1-f50.google.com ([209.85.221.50]:42390)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rpluim@HIDDEN>) id 1q18yy-0001rL-Mn
 for 63555 <at> debbugs.gnu.org; Mon, 22 May 2023 13:06:05 -0400
Received: by mail-wr1-f50.google.com with SMTP id
 ffacd0b85a97d-30a8c4afa46so1308952f8f.1
 for <63555 <at> debbugs.gnu.org>; Mon, 22 May 2023 10:06:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20221208; t=1684775158; x=1687367158;
 h=mime-version:message-id:date:references:in-reply-to:subject:cc:to
 :from:from:to:cc:subject:date:message-id:reply-to;
 bh=epbzgFv6u51WZM10AbfynrNxOlABfydT3Ov/q+sTpD8=;
 b=ra4vJ7jOubBuked1kgkWD2yebWOSCpbWSc+6KyvSADomhx2mhuZWpUVUDx9qkY71+W
 hnYfHmgN60Ym31L/NZC+O1xe9QTbobHsGL4CQj1rEE6p3SYyoUUYnkI1v+jSPjzB1Ywl
 vTPo6mTm5WF6TEyG8Ss79SGywDsNzoMlWar7d6EsAUWf9H3bfCpfZ5S/xd7te8AM9omh
 hh9Hh0UplV/VyLtjoU0LafCerR8GnayQnyBJZIIMeK142Zl7w+5ZdJjfM+i227b9hMag
 VUuFc+ezn0z+sO8zyLO4s3DyL4r4pWnF2c3FIjPBcj6668+IPyc3F+U6tfmKUrvQGw71
 CXYQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20221208; t=1684775158; x=1687367158;
 h=mime-version:message-id:date:references:in-reply-to:subject:cc:to
 :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=epbzgFv6u51WZM10AbfynrNxOlABfydT3Ov/q+sTpD8=;
 b=fm3O7pcAbAMQ18eeKHKQR0m5/xEiwKZRlF3apYo9Xdm2S2u7YNVQmxcGvYkiyIx6Z5
 utHT9PTccH1URjZPj+wkjlSkQOF6sijjd3P/nQFfFnqJSQDUiettwKOj8b4FvcQhbqLQ
 LL6CfZMrsWAUhCQrSTTDqmsi2+oslKsNnDnxDzOO06xSMZT+xTlICJpfC34y++Sue78l
 tD4vVEaPq7CHT6sta8v0eoiupfHFhKDr1qj0ZMLatqBnarVjT/2PdYkZqCBtKy0tQhkH
 MGKnzz+Wdj1P4I+QXAkzk9aPBSrmULXcuJQichc3789T5XGmaEf5nDM6uUmAuhlCQjL1
 aGKA==
X-Gm-Message-State: AC+VfDwZT1KargGJQBoCTt1uwIvqnXBjCceESjQNS0uCQgCoMjtB79R3
 NxquKSP9JKTSX2hfCAV6P8TAOpRFt2o=
X-Google-Smtp-Source: ACHHUZ7IwPskOrFIrVaJXaKGZqyxLV3BXqamRJXfvocEVgbyUS0jRLbKs/f0lps+ZCB1cEfgTFieNg==
X-Received: by 2002:a05:6000:1002:b0:307:c0c4:1094 with SMTP id
 a2-20020a056000100200b00307c0c41094mr8065260wrx.34.1684775158422; 
 Mon, 22 May 2023 10:05:58 -0700 (PDT)
Received: from rltb ([82.66.8.55]) by smtp.gmail.com with ESMTPSA id
 a2-20020a056000100200b0030903d44dbcsm8312405wrx.33.2023.05.22.10.05.57
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Mon, 22 May 2023 10:05:57 -0700 (PDT)
From: Robert Pluim <rpluim@HIDDEN>
In-Reply-To: <87ttw4fh4r.fsf@HIDDEN> (Phillip Susi's message of
 "Mon, 22 May 2023 12:44:40 -0400")
References: <83ednbrwfp.fsf@HIDDEN> <87ttwbawse.fsf@HIDDEN>
 <handler.63555.D63555.168458752424255.notifdone <at> debbugs.gnu.org>
 <87a5xyrjce.fsf@HIDDEN> <875y8klt89.fsf@HIDDEN>
 <87ttw4fh4r.fsf@HIDDEN>
Date: Mon, 22 May 2023 19:05:57 +0200
Message-ID: <87y1lgi9e2.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

>>>>> On Mon, 22 May 2023 12:44:40 -0400, Phillip Susi <phill@HIDDEN> said:

    Phillip> This patch works for me.

    Phillip> Index: b/src/dispnew.c
    Phillip> ===================================================================
    Phillip> --- a/src/dispnew.c
    Phillip> +++ b/src/dispnew.c
    Phillip> @@ -6559,8 +6558,20 @@ init_display_interactive (void)
    Phillip>  #ifdef HAVE_PGTK
    Phillip>    if (!inhibit_window_system && !will_dump_p ())
    Phillip>      {
    Phillip> -      Vinitial_window_system = Qpgtk;
    Phillip> -      return;
    Phillip> +      char *display, *wayland_display;
    Phillip> +      display = getenv ("DISPLAY");
    Phillip> +      wayland_display = getenv ("WAYLAND_DISPLAY");
    Phillip> +
    Phillip> +      if (display == NULL && wayland_display == NULL)
    Phillip> +	{
    Phillip> +	  fprintf (stderr, "Neither DISPLAY nor WAYLAND_DISPLAY are set, simulating -nw\n");
    Phillip> +	  inhibit_window_system = 1;
    Phillip> +	}
    Phillip> +      else
    Phillip> +	{
    Phillip> +	  Vinitial_window_system = Qpgtk;
    Phillip> +	  return;
    Phillip> +	}
    Phillip>      }
    Phillip>  #endif
 
I think you need to check for them being non-empty as well

Robert
-- 




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#63555: closed (Re: bug#63555: emacs 29 complains that it can't connect to the display)
Resent-From: Po Lu <luangruo@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 23 May 2023 00:32:01 +0000
Resent-Message-ID: <handler.63555.B63555.168480190727536 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 63555
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Phillip Susi <phill@HIDDEN>
Cc: Robert Pluim <rpluim@HIDDEN>, Eli Zaretskii <eliz@HIDDEN>, 63555 <at> debbugs.gnu.org
Received: via spool by 63555-submit <at> debbugs.gnu.org id=B63555.168480190727536
          (code B ref 63555); Tue, 23 May 2023 00:32:01 +0000
Received: (at 63555) by debbugs.gnu.org; 23 May 2023 00:31:47 +0000
Received: from localhost ([127.0.0.1]:37327 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1q1FwI-0007A3-Vm
	for submit <at> debbugs.gnu.org; Mon, 22 May 2023 20:31:47 -0400
Received: from sonic303-22.consmr.mail.ne1.yahoo.com ([66.163.188.148]:46697)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <luangruo@HIDDEN>) id 1q1FwG-00079q-CB
 for 63555 <at> debbugs.gnu.org; Mon, 22 May 2023 20:31:45 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1684801898; bh=4yxSHt+MP0bGcN1Bh7PhPfXt6iN0chYVjXNlQRg/ijE=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To;
 b=FUzpZsNC3xuS9mw2z3SkU4+EBRsFOLQ0Asr/kFYq5hlLunKtCfLULD5ZbN/k71+duhlD7SVxB/VmjflMUght5n1eIV3+D+zwOXOW9YgYtYQ9bAMJA3R87Onhb1nStSwOvMTWLM9mX3j8jk4BI/8x3YS9FZsRKDoQXgVnf2B7IYTnkRORLYUMDLKx9hDxtSYnGbFRKkfnfqm+7lmh4czfXW94a1C653IPWu9oWbyC8gnJNGD5d8hI9kZIspwOy7CVilWkGAwYHLlD79bLBVXL7RR6mR1qrWGHRyOi/iCZbPux+gq+fdfRhVOGLmGpnfyFTRcNBiEWEkG/sePf8xwvAw==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1684801898; bh=wBqasRZ0CGOMob6QyLFhDxwv9NuMCh9bB9LwIHsE4M0=;
 h=X-Sonic-MF:From:To:Subject:Date:From:Subject;
 b=PFgVF/I7nDlPhZIy/5v+L8V7Z7iKZ8OJ7YC6tS8/pi+M9W19UfqVZFXo5YLbpqwItHaACIvj4HfBZBn4sTXx4XaegG7qR079P1B3iJHP6XAWu0aaciNucQbrmaPnEFSfXWXJkRD0E3FCfHcivHzWrL94/qlJ8oYsOp5XA5n/4YNumfjq7aE5t9AiJDNoUmmgwwDtAK1KRDvkmjfifkHGxQyyRvjvusWm5wb0LjjMeLEMdxOUvSwozEbIXFJA6DSwYjXyxryjmmaezMcCZFu/dh0UqVBp5YMqtcSBKqSa8yzyVq7Q/OCTOmdmODfs7ZFpHwitCGYh/cbm7U+k3Dys0g==
X-YMail-OSG: oobKd4MVM1k_Se2yURBmiNV1jEdkM8PcUjO2top0iPWxXDUXhoh3jTK2dquXA1A
 eUfMCehVp2vuLwWVBSphTF5.uuUF7bglpYXI2kK6KNbQ8IA1RLYLh.C6CBvE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_TMXPwj9V_.8Mo55YH196HY6H9WLK
 2Oao1_S.96wR0BcKPZlmDULzgHTnMDpDmvysbOAmCg6zTbFWA.TBKosZEqg.s9E7o434-
X-Sonic-MF: <luangruo@HIDDEN>
X-Sonic-ID: 054d11e1-30cd-4412-8540-1cd3bca60d72
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic303.consmr.mail.ne1.yahoo.com with HTTP; Tue, 23 May 2023 00:31:38 +0000
Received: by hermes--production-sg3-748897c457-vf9wl (Yahoo Inc. Hermes SMTP
 Server) with ESMTPA ID 36a8f83feca800a83d1b7ae452293fba; 
 Tue, 23 May 2023 00:31:34 +0000 (UTC)
From: Po Lu <luangruo@HIDDEN>
In-Reply-To: <87pm6smqfi.fsf@HIDDEN> (Phillip Susi's message of
 "Mon, 22 May 2023 09:37:30 -0400")
References: <83ednbrwfp.fsf@HIDDEN> <87ttwbawse.fsf@HIDDEN>
 <handler.63555.D63555.168458752424255.notifdone <at> debbugs.gnu.org>
 <87a5xyrjce.fsf@HIDDEN> <875y8klt89.fsf@HIDDEN>
 <877ct0zph8.fsf@HIDDEN> <87wn10k7ew.fsf@HIDDEN>
 <87ttw4y5ur.fsf@HIDDEN> <87pm6smqfi.fsf@HIDDEN>
Date: Tue, 23 May 2023 08:31:28 +0800
Message-ID: <87wn0zx50f.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Mailer: WebService/1.1.21495
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
Content-Length: 338
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Phillip Susi <phill@HIDDEN> writes:

> What does multiple displays have to do with it?  If gtk_init_check()
> tries to connect to the display sever, then itsn't it that call that
> should be skipped if none of those 3 environment variables are set?

Future GDK backends might use different environment variables -- or none
at all.





Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#63555: closed (Re: bug#63555: emacs 29 complains that it can't connect to the display)
Resent-From: Phillip Susi <phill@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 23 May 2023 15:00:02 +0000
Resent-Message-ID: <handler.63555.B63555.168485395225101 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 63555
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Robert Pluim <rpluim@HIDDEN>
Cc: Po Lu <luangruo@HIDDEN>, Eli Zaretskii <eliz@HIDDEN>, 63555 <at> debbugs.gnu.org
Received: via spool by 63555-submit <at> debbugs.gnu.org id=B63555.168485395225101
          (code B ref 63555); Tue, 23 May 2023 15:00:02 +0000
Received: (at 63555) by debbugs.gnu.org; 23 May 2023 14:59:12 +0000
Received: from localhost ([127.0.0.1]:40127 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1q1TTk-0006Wn-Fq
	for submit <at> debbugs.gnu.org; Tue, 23 May 2023 10:59:12 -0400
Received: from vps.thesusis.net ([34.202.238.73]:34524)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <phill@HIDDEN>) id 1q1TTh-0006WY-TD
 for 63555 <at> debbugs.gnu.org; Tue, 23 May 2023 10:59:10 -0400
Received: by vps.thesusis.net (Postfix, from userid 1000)
 id E53C3120CEA; Tue, 23 May 2023 10:59:03 -0400 (EDT)
References: <83ednbrwfp.fsf@HIDDEN> <87ttwbawse.fsf@HIDDEN>
 <handler.63555.D63555.168458752424255.notifdone <at> debbugs.gnu.org>
 <87a5xyrjce.fsf@HIDDEN> <875y8klt89.fsf@HIDDEN>
 <87ttw4fh4r.fsf@HIDDEN> <87y1lgi9e2.fsf@HIDDEN>
User-agent: mu4e 1.7.12; emacs 27.1
From: Phillip Susi <phill@HIDDEN>
Date: Tue, 23 May 2023 10:58:48 -0400
In-reply-to: <87y1lgi9e2.fsf@HIDDEN>
Message-ID: <877cszw0ug.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


Robert Pluim <rpluim@HIDDEN> writes:

> I think you need to check for them being non-empty as well

Good point.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#63555: closed (Re: bug#63555: emacs 29 complains that it can't connect to the display)
Resent-From: Phillip Susi <phill@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 23 May 2023 15:01:02 +0000
Resent-Message-ID: <handler.63555.B63555.168485405025365 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 63555
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Po Lu <luangruo@HIDDEN>
Cc: Robert Pluim <rpluim@HIDDEN>, Eli Zaretskii <eliz@HIDDEN>, 63555 <at> debbugs.gnu.org
Received: via spool by 63555-submit <at> debbugs.gnu.org id=B63555.168485405025365
          (code B ref 63555); Tue, 23 May 2023 15:01:02 +0000
Received: (at 63555) by debbugs.gnu.org; 23 May 2023 15:00:50 +0000
Received: from localhost ([127.0.0.1]:40131 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1q1TVJ-0006b2-SI
	for submit <at> debbugs.gnu.org; Tue, 23 May 2023 11:00:50 -0400
Received: from vps.thesusis.net ([34.202.238.73]:45856)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <phill@HIDDEN>) id 1q1TV5-0006aa-2b
 for 63555 <at> debbugs.gnu.org; Tue, 23 May 2023 11:00:49 -0400
Received: by vps.thesusis.net (Postfix, from userid 1000)
 id F3926120CF7; Tue, 23 May 2023 11:00:29 -0400 (EDT)
References: <83ednbrwfp.fsf@HIDDEN> <87ttwbawse.fsf@HIDDEN>
 <handler.63555.D63555.168458752424255.notifdone <at> debbugs.gnu.org>
 <87a5xyrjce.fsf@HIDDEN> <875y8klt89.fsf@HIDDEN>
 <877ct0zph8.fsf@HIDDEN> <87wn10k7ew.fsf@HIDDEN>
 <87ttw4y5ur.fsf@HIDDEN> <87pm6smqfi.fsf@HIDDEN>
 <87wn0zx50f.fsf@HIDDEN>
User-agent: mu4e 1.7.12; emacs 27.1
From: Phillip Susi <phill@HIDDEN>
Date: Tue, 23 May 2023 10:59:07 -0400
In-reply-to: <87wn0zx50f.fsf@HIDDEN>
Message-ID: <87353nw0s2.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


Po Lu <luangruo@HIDDEN> writes:

> Future GDK backends might use different environment variables -- or none
> at all.

So?  Worry about the potential future when it comes.





Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#63555: closed (Re: bug#63555: emacs 29 complains that it can't connect to the display)
Resent-From: Po Lu <luangruo@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 24 May 2023 00:21:02 +0000
Resent-Message-ID: <handler.63555.B63555.168488762430955 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 63555
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Phillip Susi <phill@HIDDEN>
Cc: Robert Pluim <rpluim@HIDDEN>, Eli Zaretskii <eliz@HIDDEN>, 63555 <at> debbugs.gnu.org
Received: via spool by 63555-submit <at> debbugs.gnu.org id=B63555.168488762430955
          (code B ref 63555); Wed, 24 May 2023 00:21:02 +0000
Received: (at 63555) by debbugs.gnu.org; 24 May 2023 00:20:24 +0000
Received: from localhost ([127.0.0.1]:40635 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1q1cEq-00083C-3e
	for submit <at> debbugs.gnu.org; Tue, 23 May 2023 20:20:24 -0400
Received: from sonic312-25.consmr.mail.ne1.yahoo.com ([66.163.191.206]:44432)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <luangruo@HIDDEN>) id 1q1cEo-00082y-G6
 for 63555 <at> debbugs.gnu.org; Tue, 23 May 2023 20:20:23 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1684887617; bh=1dDUQHy5Ip5g0tVqfHzEtOcTOSQ0Fg8TXa8Wl/0U1Qw=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To;
 b=jjUB8WCGuUrT94nCzqruNi+PIMz5y+CwF1mwSSdnGGSA7vnOoK1SDumUN85iTH+TNv6Hys/J3pxeBg5WV4ifvCu9hyHY0wqVmI5C42C3nrUULgW4nDVclkbrGXRrh8HgLiZ/mA91pkwamaLiM+liXlhbaZA9r8zFvD9FJOW813qhcuMyy9jod8wHVSZ1nJLYils/oN8WSyu1ObR3Ptgh63uC3Q+/rHgw2WIbLZAwWAM/oQZAL0JpRvc5fnt2NvdUomUVGAklvpeicnLlUbopWYCkZ6PBVv/P/SkKrTRCHqnHuUiRgWr4R9h+e/uJ4VwD6pIz15zwnOb+IOka4t6yyw==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1684887617; bh=y51JmwJ9kYRxW0ycIUhuGZykRts79uF8GF6IupO50Qc=;
 h=X-Sonic-MF:From:To:Subject:Date:From:Subject;
 b=s5aCaGC6jNKKXGeX1FmOf0NWL65mGfygWaXE5osR2tVCEwrOmxXQsNi9GcLTznXDZ+Ktgmp7LnaOfB+MEfcgVme8IpWq+Q2MpPYCb/egtrZYafiEiSjDPcS+91FCxcvHTLFWRC1goulSlj6x1/4KulI6P/tH/bZg+Q4O00BMKopLuJOzAJL47vNei5FazrIA2uN/kV4/7mJj7LSMvgc5HeEVqDL88giKaQAIhJzo9UK2XBtgLJLgSo0jljS9s7R9mDbAuilmMa2FcWXpQOJbnNY5ea7T23Hv97i3jR7hXUnlEnqlBzomsdyRJ3cyyAcWnOaSdV6VElm+eAOSoGqbFg==
X-YMail-OSG: uRg99MUVM1kb3ESMUerrfU4C7lDOulmvw.VgYxSVsXTTkK5H4z7IkS3o87bB_55
 eDEzGHNSZtm4qsKztWMaboBZZ7YNfPev8Jdp_l6zei_gTfbx_B9KKEkc1sH0PMdK3W2D8j.41axJ
 XblccvOMJxb1z50IidZiyAlosk_t4SJEFq2LkS6ZaGjqDQm2teoBw39WOJ__Hcth2TOHeBEz8DvA
 l3.E0PmOC_mfGtb.G08qZZKEoTPEkGXbU9CNKC3VQX012Y72D4qloc73kg3KvM2_VxWlg0mAZsaB
 vB3TTT_WxKSVsa5JwbYJW1a3iMUC.qxrVo1r.odQwh13p596fAjpvKDMbkMHRGu566Me0Xgjq.54
 1R2SxeNG_efppkEdnu1tUNpNTmObRq99uWgO2a8X8sNGHuVLVTm01qD4bb68EK9BuR7NpqOw_ZDp
 uNpGDX6vHN2ZzSzxtdplSzwrs2Psbdl7b1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ezm.NWegOrdCJGtXiEoQCk0oYaHl0p4d07dAlSUXr.gGuo2xP6mp5aJps0RhZo
 GjoczT.QZ9hCVnIhwTH6t9eps920U9PcTf6W2YgXVucX.naTe_wcJ_BTlzJkdcDfqDs8Z9sKYmXN
 BPNjRrHkI_gGiJAu2M8v4muxjP6ugeVJy7nUkGlgm3EkGMYokXQ0EqFVGtk9z5w0Vn2fcUbwHi8X
 Gi6VZvVH1rFevTs8oWKLHSp7AYkXfQMBlivFHf4hE0o77OWasTCpkoPN6UkzvNyjxS3XJqUG3A8Q
 6uVbfqjmZnVMw.91dWZ12r7OP4XJpSIf1G1wP_eykhxvX6SE.KF2t5N.DFqacXczImd9Hd9KVELf
 IwlucGTfWVLCSAN6mIzlQiZFn8RraMLtp6LDOQxqqg_jd0RJ1rZ91aetuaqBiVDovBTvinSJU.TJ
 eU.rXSUafbhN6b9prZvYC1B_EIBBpGB8JGXUeTcGA.CojkDlh0QqWLtRlNpYzYBugmqlhaBDHIEG
 sBiVRqBgBxl2gPuKweL.dN2PWk0vj0Dq5h5I85Lcew4yXL8jZMIzLBUvVKmNFtYgJj7LkIgoyZDf
 BPI4uOTgB947awUQikHFLyNFmW5NgYeVJI_lDpN7eQLIdxuP3PJPUN6fy2XPTq2uHADLhpj7Vj2X
 bW5LTgWpIHw8xvPLsWjzgNFD3pTy4KBup9E9roTD5Xg5A6dR_o_Sq6D4R_KjEFZlxfKnXIsdqnH9
 8VZKbyHq9dDMRQw.qDrvHZdaWeehnqt1Vis2PDcHMd1Y5T.mUmTFZ_A0YzmrGU2iuHDg-
X-Sonic-MF: <luangruo@HIDDEN>
X-Sonic-ID: f0f959bb-fddf-4ead-bce2-1e4b06d0430a
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic312.consmr.mail.ne1.yahoo.com with HTTP; Wed, 24 May 2023 00:20:17 +0000
Received: by hermes--production-sg3-748897c457-xs9vv (Yahoo Inc. Hermes SMTP
 Server) with ESMTPA ID 24648515f71384400f976f10b8b510a4; 
 Wed, 24 May 2023 00:20:14 +0000 (UTC)
From: Po Lu <luangruo@HIDDEN>
In-Reply-To: <87353nw0s2.fsf@HIDDEN> (Phillip Susi's message of
 "Tue, 23 May 2023 10:59:07 -0400")
References: <83ednbrwfp.fsf@HIDDEN> <87ttwbawse.fsf@HIDDEN>
 <handler.63555.D63555.168458752424255.notifdone <at> debbugs.gnu.org>
 <87a5xyrjce.fsf@HIDDEN> <875y8klt89.fsf@HIDDEN>
 <877ct0zph8.fsf@HIDDEN> <87wn10k7ew.fsf@HIDDEN>
 <87ttw4y5ur.fsf@HIDDEN> <87pm6smqfi.fsf@HIDDEN>
 <87wn0zx50f.fsf@HIDDEN> <87353nw0s2.fsf@HIDDEN>
Date: Wed, 24 May 2023 08:20:09 +0800
Message-ID: <87pm6qvava.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Mailer: WebService/1.1.21495
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
Content-Length: 425
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Phillip Susi <phill@HIDDEN> writes:

> Po Lu <luangruo@HIDDEN> writes:
>
>> Future GDK backends might use different environment variables -- or none
>> at all.
>
> So?  Worry about the potential future when it comes.

The PGTK code aims to work with all possible GDK configurations which
are not positively broken (which means, not the X11 backend.)

Anyway, see what I said about `gtk_init_check': it doesn't work.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#63555: closed (Re: bug#63555: emacs 29 complains that it can't connect to the display)
Resent-From: Phillip Susi <phill@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 25 May 2023 15:39:02 +0000
Resent-Message-ID: <handler.63555.B63555.16850291303942 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 63555
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Po Lu <luangruo@HIDDEN>
Cc: Robert Pluim <rpluim@HIDDEN>, Eli Zaretskii <eliz@HIDDEN>, 63555 <at> debbugs.gnu.org
Received: via spool by 63555-submit <at> debbugs.gnu.org id=B63555.16850291303942
          (code B ref 63555); Thu, 25 May 2023 15:39:02 +0000
Received: (at 63555) by debbugs.gnu.org; 25 May 2023 15:38:50 +0000
Received: from localhost ([127.0.0.1]:47867 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1q2D3C-00011W-BK
	for submit <at> debbugs.gnu.org; Thu, 25 May 2023 11:38:50 -0400
Received: from vps.thesusis.net ([34.202.238.73]:46980)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <phill@HIDDEN>) id 1q2D39-00011B-Iu
 for 63555 <at> debbugs.gnu.org; Thu, 25 May 2023 11:38:48 -0400
Received: by vps.thesusis.net (Postfix, from userid 1000)
 id 57AD412129D; Thu, 25 May 2023 11:38:41 -0400 (EDT)
References: <83ednbrwfp.fsf@HIDDEN> <87ttwbawse.fsf@HIDDEN>
 <handler.63555.D63555.168458752424255.notifdone <at> debbugs.gnu.org>
 <87a5xyrjce.fsf@HIDDEN> <875y8klt89.fsf@HIDDEN>
 <877ct0zph8.fsf@HIDDEN> <87wn10k7ew.fsf@HIDDEN>
 <87ttw4y5ur.fsf@HIDDEN> <87pm6smqfi.fsf@HIDDEN>
 <87wn0zx50f.fsf@HIDDEN> <87353nw0s2.fsf@HIDDEN>
 <87pm6qvava.fsf@HIDDEN>
User-agent: mu4e 1.7.12; emacs 27.1
From: Phillip Susi <phill@HIDDEN>
Date: Thu, 25 May 2023 11:38:01 -0400
In-reply-to: <87pm6qvava.fsf@HIDDEN>
Message-ID: <87ilcgbev2.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


Po Lu <luangruo@HIDDEN> writes:

> The PGTK code aims to work with all possible GDK configurations which
> are not positively broken (which means, not the X11 backend.)
>
> Anyway, see what I said about `gtk_init_check': it doesn't work.

That's why I suggested just checking the enironment instead, like is
done for the X11 build.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#63555: closed (Re: bug#63555: emacs 29 complains that it can't connect to the display)
Resent-From: Po Lu <luangruo@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 26 May 2023 01:02:02 +0000
Resent-Message-ID: <handler.63555.B63555.168506287720678 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 63555
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Phillip Susi <phill@HIDDEN>
Cc: Robert Pluim <rpluim@HIDDEN>, Eli Zaretskii <eliz@HIDDEN>, 63555 <at> debbugs.gnu.org
Received: via spool by 63555-submit <at> debbugs.gnu.org id=B63555.168506287720678
          (code B ref 63555); Fri, 26 May 2023 01:02:02 +0000
Received: (at 63555) by debbugs.gnu.org; 26 May 2023 01:01:17 +0000
Received: from localhost ([127.0.0.1]:48449 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1q2LpU-0005NS-RQ
	for submit <at> debbugs.gnu.org; Thu, 25 May 2023 21:01:17 -0400
Received: from sonic312-25.consmr.mail.ne1.yahoo.com ([66.163.191.206]:38846)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <luangruo@HIDDEN>) id 1q2LpS-0005NC-Ui
 for 63555 <at> debbugs.gnu.org; Thu, 25 May 2023 21:01:15 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1685062869; bh=H9/aUJ3hZ/pn0zxqPKy4y6oYcGdhKXc8xfMJWjlhgdE=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To;
 b=QJHfbFWT0xd2JM2GlWobrFV6jJnq0Bka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-Sonic-MF: <luangruo@HIDDEN>
X-Sonic-ID: 0261078c-af63-41b9-88c7-beb7d3df839c
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic312.consmr.mail.ne1.yahoo.com with HTTP; Fri, 26 May 2023 01:01:09 +0000
Received: by hermes--production-sg3-748897c457-fqxqz (Yahoo Inc. Hermes SMTP
 Server) with ESMTPA ID 09c77fed0b1d1f9241afd7dbea1d349b; 
 Fri, 26 May 2023 01:01:03 +0000 (UTC)
From: Po Lu <luangruo@HIDDEN>
In-Reply-To: <87ilcgbev2.fsf@HIDDEN> (Phillip Susi's message of
 "Thu, 25 May 2023 11:38:01 -0400")
References: <83ednbrwfp.fsf@HIDDEN> <87ttwbawse.fsf@HIDDEN>
 <handler.63555.D63555.168458752424255.notifdone <at> debbugs.gnu.org>
 <87a5xyrjce.fsf@HIDDEN> <875y8klt89.fsf@HIDDEN>
 <877ct0zph8.fsf@HIDDEN> <87wn10k7ew.fsf@HIDDEN>
 <87ttw4y5ur.fsf@HIDDEN> <87pm6smqfi.fsf@HIDDEN>
 <87wn0zx50f.fsf@HIDDEN> <87353nw0s2.fsf@HIDDEN>
 <87pm6qvava.fsf@HIDDEN> <87ilcgbev2.fsf@HIDDEN>
Date: Fri, 26 May 2023 09:00:57 +0800
Message-ID: <87edn3rjna.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Mailer: WebService/1.1.21495
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
Content-Length: 268
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Phillip Susi <phill@HIDDEN> writes:

> That's why I suggested just checking the enironment instead, like is
> done for the X11 build.

Xlib uses only ``DISPLAY'', and that is documented.  The environment
variables used by GDK are not, and are subject to change.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#63555: closed (Re: bug#63555: emacs 29 complains that it can't connect to the display)
Resent-From: Robert Pluim <rpluim@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 26 May 2023 08:39:01 +0000
Resent-Message-ID: <handler.63555.B63555.16850902948779 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 63555
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Po Lu <luangruo@HIDDEN>
Cc: Eli Zaretskii <eliz@HIDDEN>, Phillip Susi <phill@HIDDEN>, 63555 <at> debbugs.gnu.org
Received: via spool by 63555-submit <at> debbugs.gnu.org id=B63555.16850902948779
          (code B ref 63555); Fri, 26 May 2023 08:39:01 +0000
Received: (at 63555) by debbugs.gnu.org; 26 May 2023 08:38:14 +0000
Received: from localhost ([127.0.0.1]:48781 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1q2Sxi-0002HV-IF
	for submit <at> debbugs.gnu.org; Fri, 26 May 2023 04:38:14 -0400
Received: from mail-wm1-f49.google.com ([209.85.128.49]:49643)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rpluim@HIDDEN>) id 1q2Sxg-0002HH-J6
 for 63555 <at> debbugs.gnu.org; Fri, 26 May 2023 04:38:13 -0400
Received: by mail-wm1-f49.google.com with SMTP id
 5b1f17b1804b1-3f6ef9a928fso603535e9.3
 for <63555 <at> debbugs.gnu.org>; Fri, 26 May 2023 01:38:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20221208; t=1685090287; x=1687682287;
 h=content-transfer-encoding:mime-version:message-id:date:references
 :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id
 :reply-to; bh=UGlz44R/+bWHQXm6KO2XmUvXnZ6OuMBD0JBPhyv+4Z8=;
 b=G74J1KORXEYygZAho1U65mwEQ+1bsjnn8VuOUThY9krG0fDmpI8DihmoKAwQ/AWZ58
 gjf319kheEobMbCzFBdufhXOzjHRYkR0y1hNsGafFxeu2IJ/4U1MEgLqUTIrHpGe8mMb
 rt+SGbEMCMcZl1FSDoLi/Pe7SZDvbUlJf45ZnhrYGU8lzNoRLSIrRQj5tALOW7d0/s7F
 HIVildXTCWgLAPpDqrbBHJn+Ke396oJU6RDMgbhHWty5+5SuM8463qxd/N3aMiaFsOs9
 tru4wWJW8uRtK2PoonRV20MPMweZyGU7qULYgWZUEcfx0APRJ2NeeWt/CSe8RoewUzNq
 cs0g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20221208; t=1685090287; x=1687682287;
 h=content-transfer-encoding:mime-version:message-id:date:references
 :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=UGlz44R/+bWHQXm6KO2XmUvXnZ6OuMBD0JBPhyv+4Z8=;
 b=ioAoEbQr7DCMou+XQ9r0uWQS3tPAD/OSSIBI/5RdipGbZhMeAz7pRVeUIJjf46Tg9p
 fsL3yE4ygb7rQC7g2PdQmuC/6VdgsTg+FW+WxJde2kwJ5HO9LTuyPw7OqDX7Gw43TgOj
 nwajdK9FvRNCjKOSYl38EkRuluH53HkoORnyYecf0PMlLPoOaIFcUmzXugepMqr5I338
 0Qk382hP4XGtDfKAIAPVzOOVrEQmhpGlGniK6D67swl2u9HGY3u6L5jQGY55s2hcjrfG
 1DJlaoG3Xnfadk+QkPoyw760COELFzN+CY2p62PXlizTGxSDUkt+R7U2XOWPUkH9fmBi
 psBQ==
X-Gm-Message-State: AC+VfDzFJJlqFSqwAQXzHhikCnnb0rqRbJKEyEsLDKYGEVehgBxLFYUr
 eqce68A2HbPaE+HDGELlPGw=
X-Google-Smtp-Source: ACHHUZ4WAmqNzHt4/dV8ROtCx8s10LRArp6I3NxSYLZbmJWsvko3alidHK8eTojELKUq7sTfKDPmDA==
X-Received: by 2002:a05:6000:4ec:b0:306:26d7:3805 with SMTP id
 cr12-20020a05600004ec00b0030626d73805mr766427wrb.63.1685090286607; 
 Fri, 26 May 2023 01:38:06 -0700 (PDT)
Received: from rltb ([82.66.8.55]) by smtp.gmail.com with ESMTPSA id
 x4-20020a5d54c4000000b002c70ce264bfsm4318153wrv.76.2023.05.26.01.38.05
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Fri, 26 May 2023 01:38:06 -0700 (PDT)
From: Robert Pluim <rpluim@HIDDEN>
In-Reply-To: <87edn3rjna.fsf@HIDDEN> (Po Lu's message of "Fri, 26 May 2023
 09:00:57 +0800")
References: <83ednbrwfp.fsf@HIDDEN> <87ttwbawse.fsf@HIDDEN>
 <handler.63555.D63555.168458752424255.notifdone <at> debbugs.gnu.org>
 <87a5xyrjce.fsf@HIDDEN> <875y8klt89.fsf@HIDDEN>
 <877ct0zph8.fsf@HIDDEN> <87wn10k7ew.fsf@HIDDEN>
 <87ttw4y5ur.fsf@HIDDEN> <87pm6smqfi.fsf@HIDDEN>
 <87wn0zx50f.fsf@HIDDEN> <87353nw0s2.fsf@HIDDEN>
 <87pm6qvava.fsf@HIDDEN> <87ilcgbev2.fsf@HIDDEN>
 <87edn3rjna.fsf@HIDDEN>
Date: Fri, 26 May 2023 10:38:05 +0200
Message-ID: <87r0r3mqs2.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

>>>>> On Fri, 26 May 2023 09:00:57 +0800, Po Lu <luangruo@HIDDEN> said:

    Po Lu> Phillip Susi <phill@HIDDEN> writes:
    >> That's why I suggested just checking the enironment instead, like is
    >> done for the X11 build.

    Po Lu> Xlib uses only ``DISPLAY'', and that is documented.  The environ=
ment
    Po Lu> variables used by GDK are not, and are subject to change.

I see no reason to let the perfect be the enemy of the good. If we
later have to amend the list that=CA=BCs not a big issue.

Robert
--=20




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#63555: closed (Re: bug#63555: emacs 29 complains that it can't connect to the display)
Resent-From: Phillip Susi <phill@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 26 May 2023 15:56:01 +0000
Resent-Message-ID: <handler.63555.B63555.168511653631761 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 63555
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Robert Pluim <rpluim@HIDDEN>
Cc: Po Lu <luangruo@HIDDEN>, Eli Zaretskii <eliz@HIDDEN>, 63555 <at> debbugs.gnu.org
Received: via spool by 63555-submit <at> debbugs.gnu.org id=B63555.168511653631761
          (code B ref 63555); Fri, 26 May 2023 15:56:01 +0000
Received: (at 63555) by debbugs.gnu.org; 26 May 2023 15:55:36 +0000
Received: from localhost ([127.0.0.1]:50620 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1q2Zmy-0008GB-3t
	for submit <at> debbugs.gnu.org; Fri, 26 May 2023 11:55:36 -0400
Received: from vps.thesusis.net ([34.202.238.73]:43988)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <phill@HIDDEN>) id 1q2Zmw-0008FD-Bh
 for 63555 <at> debbugs.gnu.org; Fri, 26 May 2023 11:55:34 -0400
Received: by vps.thesusis.net (Postfix, from userid 1000)
 id 7003F121570; Fri, 26 May 2023 11:55:28 -0400 (EDT)
References: <83ednbrwfp.fsf@HIDDEN> <87ttwbawse.fsf@HIDDEN>
 <handler.63555.D63555.168458752424255.notifdone <at> debbugs.gnu.org>
 <87a5xyrjce.fsf@HIDDEN> <875y8klt89.fsf@HIDDEN>
 <877ct0zph8.fsf@HIDDEN> <87wn10k7ew.fsf@HIDDEN>
 <87ttw4y5ur.fsf@HIDDEN> <87pm6smqfi.fsf@HIDDEN>
 <87wn0zx50f.fsf@HIDDEN> <87353nw0s2.fsf@HIDDEN>
 <87pm6qvava.fsf@HIDDEN> <87ilcgbev2.fsf@HIDDEN>
 <87edn3rjna.fsf@HIDDEN> <87r0r3mqs2.fsf@HIDDEN>
User-agent: mu4e 1.7.12; emacs 27.1
From: Phillip Susi <phill@HIDDEN>
Date: Fri, 26 May 2023 11:54:42 -0400
In-reply-to: <87r0r3mqs2.fsf@HIDDEN>
Message-ID: <871qj3ytn3.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


Robert Pluim <rpluim@HIDDEN> writes:

> I see no reason to let the perfect be the enemy of the good. If we
> later have to amend the list that=CA=BCs not a big issue.

Exactly.





Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#63555: closed (Re: bug#63555: emacs 29 complains that it can't connect to the display)
Resent-From: Po Lu <luangruo@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 27 May 2023 00:50:02 +0000
Resent-Message-ID: <handler.63555.B63555.168514855613947 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 63555
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Phillip Susi <phill@HIDDEN>
Cc: Robert Pluim <rpluim@HIDDEN>, Eli Zaretskii <eliz@HIDDEN>, 63555 <at> debbugs.gnu.org
Received: via spool by 63555-submit <at> debbugs.gnu.org id=B63555.168514855613947
          (code B ref 63555); Sat, 27 May 2023 00:50:02 +0000
Received: (at 63555) by debbugs.gnu.org; 27 May 2023 00:49:16 +0000
Received: from localhost ([127.0.0.1]:51066 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1q2i7Q-0003ct-Fy
	for submit <at> debbugs.gnu.org; Fri, 26 May 2023 20:49:16 -0400
Received: from sonic305-22.consmr.mail.ne1.yahoo.com ([66.163.185.148]:44057)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <luangruo@HIDDEN>) id 1q2i7L-0003cZ-4b
 for 63555 <at> debbugs.gnu.org; Fri, 26 May 2023 20:49:15 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1685148545; bh=7lp7zIgGVgNEjg2ajkG/frwav8ruHECoKyWWqmrBC7Q=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To;
 b=m5QtUQgVrV/yaPsaX5GSEP0ugHIQ0ppFDCps1oghzIgAMnwpCIy2mibORNLI2/8KcmG/nXZGb74rKnlYpAKgD1v7UdmGVHYDCt5rn948lDhAk1u/x3mLquFAYzxR8bOqgy9qzU4t7MZDFgsJl+FQugNFGRWF5c3iiANTfVEm0FRLCQZKwf9C2hKq4tc9STE7OyHHPl+7bi7qTK8rc/T4UASKACvEDgnGGFYglHwPY8R4/HSmLY62LH2ZdweTShJrvHd0qpafyRPKUrbHULJWd3rif4RJ+bRe4XUsVkAFwtu9SW+Ne6jRRP7FuSzTZPbk+xiX6ccIZj6QrDL2RUDBvA==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1685148545; bh=2p6EuFanPUzk0XfO7SgjTyaiy301DLiG8NppJoBSJb5=;
 h=X-Sonic-MF:From:To:Subject:Date:From:Subject;
 b=A9OZfIQa/pSVceYa1wqYDCze+MIi6OvY1Qi+eIKqWC3P30TXqzNqdEh2dzljKXINSglBEVGLczwQGv18vPqX7POH67AfykzgK0tsJDoWZ4WNL68gxWJvOf/avVjGPpecmFeg/YucYDIXjI73p1kg82QlGVwg9FsroryuaFM/dpcH0qPl01kISW6KGmhr/Pu2FJstGyVcw8Ap8nt7z6z7arwZxOQNdpIBYufZIRvOMCGwbp+xL2owz1S24ZzLyPioZuMNRxwXfcNgvQ3efeGIQ4AcQnURB4XGBKa7ojFPKIuTXTYe/USsQ0cJVJOtqYPTHH6Hj9zIZUA/fzFGddK4iQ==
X-YMail-OSG: UDg_NPMVM1npiyg_evQkAS2B.wJxwnPOHKGLHTkusTu_gR0tK8BBvv3DEA_ZF9V
 wcmc8Byq8Y3KcxqHLKWRGNrmm8HHsvvUcu3rklcW9xnN2Qriix8fyrtPldo9CMFVCb_ZVRtEtvGJ
 V2aUQtZoLEkuBYKG1ZEKwLlocTzlIGrOEh4hdbyXpP4o3G5950jx83cC.DLPMKERbQ2L_VEa28Jx
 E5O_l9zyG8BHHSLH2s4xpmJkPvE6MztToQyv6LumcNHuyRyleCvkW8U3_ITutyd9CHr5hT54b.no
 6ccM8j8TmWk430uiFZWy55uaCrgId0M_urVncqAED2yKFnNqDGuh9CvT89aZcc33hZuwAmiHISLW
 LWXdTs3atjuMSNn._1rsoUKKLd2G4Y3.cOEHVK14k6jxoF2AizpqkKEztKLFyZQ03zFuLU3Myygd
 tSTInMJ5wfFHelOdHyn9x1_7Y4HM6nnYhhiYWHepreAM9OeNe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v1QlujLZtsvS_631gJLQjW4hXg2qibI2FQ3ZXWCqmwqs
 259NS2AzR8x5IfdD0KLOdLhj6wEGsjMwdhJJLtSg5yWZyZviU9LI1cF_JgKqG4Hj.04tO3C2KY6i
 UBg1Uxk9FO83f3ynPrlNU6O.1J5fagZnKDTu_gfSHHLs.UI8IY5w61vygs0bKfbzIzfeKZ5UrTiQ
 _aSc1iPKs5m1vOqguRQb_faLwkMdTm.n2Q10quJ_NXyOC6loe5iF8ReoGd1yVceFInWpHd.NjOMT
 glklaHUbojzNnTrrmZMSlE.H8HXmPiOfubC3BggxSh71nm2C29g9PTHYbK1MNuCo9BUahvvXmcsM
 h.5ZWKm8DcqUtlNWw.xiicQlzM6gNlKTTJ33bFqBTzZdyO1o_POFeoUxRmJXsZE_bKYYed0CV50G
 nMpW8tLp_w4ie_dkcBsE0MzHhpTyPD_jygleylO29gLCHmtV7UsY2QavlOMyaLXZ2wQHQ2XBpybF
 8KuY0FrvPagBxCjpDHaBSxbUz.ulI_f8lfQaMqo6bFfjBBR74aSfbF_oKejMPlPO8K.vAWVa_Okz
 pFDMJFJEntppvp0OT49SwKBu9pYhv7Jzvz0RdHo4oHcWYGppajkXUoxZlEp3_9EfEhg2knm0Rcs9
 bNqGZiQzu4zgBscfsaLIIPcd1tmTX2Nn8wX_x.4_oTIwCOhkdK8kO6cvs0NOcuPF1QQIA9nWNgaF
 rwK7vfo_akvAXMzquR1pXdQd8iwmTOuclrOquADQ9dgcmqXYjsNuuWRoVBXtaC8ek
X-Sonic-MF: <luangruo@HIDDEN>
X-Sonic-ID: a85505e9-0d67-410b-a23e-85c2a7bbc4c6
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic305.consmr.mail.ne1.yahoo.com with HTTP; Sat, 27 May 2023 00:49:05 +0000
Received: by hermes--production-sg3-748897c457-f8pch (Yahoo Inc. Hermes SMTP
 Server) with ESMTPA ID cbfb6a86b0ab99fd2c031d14a76a8ce8; 
 Sat, 27 May 2023 00:49:00 +0000 (UTC)
From: Po Lu <luangruo@HIDDEN>
In-Reply-To: <871qj3ytn3.fsf@HIDDEN> (Phillip Susi's message of
 "Fri, 26 May 2023 11:54:42 -0400")
References: <83ednbrwfp.fsf@HIDDEN> <87ttwbawse.fsf@HIDDEN>
 <handler.63555.D63555.168458752424255.notifdone <at> debbugs.gnu.org>
 <87a5xyrjce.fsf@HIDDEN> <875y8klt89.fsf@HIDDEN>
 <877ct0zph8.fsf@HIDDEN> <87wn10k7ew.fsf@HIDDEN>
 <87ttw4y5ur.fsf@HIDDEN> <87pm6smqfi.fsf@HIDDEN>
 <87wn0zx50f.fsf@HIDDEN> <87353nw0s2.fsf@HIDDEN>
 <87pm6qvava.fsf@HIDDEN> <87ilcgbev2.fsf@HIDDEN>
 <87edn3rjna.fsf@HIDDEN> <87r0r3mqs2.fsf@HIDDEN>
 <871qj3ytn3.fsf@HIDDEN>
Date: Sat, 27 May 2023 08:48:54 +0800
Message-ID: <87r0r2ppjd.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Mailer: WebService/1.1.21495
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
Content-Length: 354
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Phillip Susi <phill@HIDDEN> writes:

> Robert Pluim <rpluim@HIDDEN> writes:
>
>> I see no reason to let the perfect be the enemy of the good. If we
>> later have to amend the list that=CA=BCs not a big issue.
>
> Exactly.

And what about the GDK backends which use no environment variable at
all?  For example, Cygwin w32, Quartz, and simplefb?




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#63555: closed (Re: bug#63555: emacs 29 complains that it can't connect to the display)
Resent-From: Phillip Susi <phill@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 30 May 2023 17:35:02 +0000
Resent-Message-ID: <handler.63555.B63555.168546804620460 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 63555
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Po Lu <luangruo@HIDDEN>
Cc: Robert Pluim <rpluim@HIDDEN>, Eli Zaretskii <eliz@HIDDEN>, 63555 <at> debbugs.gnu.org
Received: via spool by 63555-submit <at> debbugs.gnu.org id=B63555.168546804620460
          (code B ref 63555); Tue, 30 May 2023 17:35:02 +0000
Received: (at 63555) by debbugs.gnu.org; 30 May 2023 17:34:06 +0000
Received: from localhost ([127.0.0.1]:34075 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1q43EU-0005Jw-Dm
	for submit <at> debbugs.gnu.org; Tue, 30 May 2023 13:34:06 -0400
Received: from vps.thesusis.net ([34.202.238.73]:38134)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <phill@HIDDEN>) id 1q43ES-0005JK-3U
 for 63555 <at> debbugs.gnu.org; Tue, 30 May 2023 13:34:04 -0400
Received: by vps.thesusis.net (Postfix, from userid 1000)
 id C4D94121E1F; Tue, 30 May 2023 13:33:56 -0400 (EDT)
References: <83ednbrwfp.fsf@HIDDEN> <87ttwbawse.fsf@HIDDEN>
 <handler.63555.D63555.168458752424255.notifdone <at> debbugs.gnu.org>
 <87a5xyrjce.fsf@HIDDEN> <875y8klt89.fsf@HIDDEN>
 <877ct0zph8.fsf@HIDDEN> <87wn10k7ew.fsf@HIDDEN>
 <87ttw4y5ur.fsf@HIDDEN> <87pm6smqfi.fsf@HIDDEN>
 <87wn0zx50f.fsf@HIDDEN> <87353nw0s2.fsf@HIDDEN>
 <87pm6qvava.fsf@HIDDEN> <87ilcgbev2.fsf@HIDDEN>
 <87edn3rjna.fsf@HIDDEN> <87r0r3mqs2.fsf@HIDDEN>
 <871qj3ytn3.fsf@HIDDEN> <87r0r2ppjd.fsf@HIDDEN>
User-agent: mu4e 1.7.12; emacs 27.1
From: Phillip Susi <phill@HIDDEN>
Date: Tue, 30 May 2023 13:31:30 -0400
In-reply-to: <87r0r2ppjd.fsf@HIDDEN>
Message-ID: <87mt1lvi4b.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


Po Lu <luangruo@HIDDEN> writes:

> And what about the GDK backends which use no environment variable at
> all?  For example, Cygwin w32, Quartz, and simplefb?

Hrm... maybe something in .emacs could be used to disable the check?
Or maybe it could be disabled by default and have a setting to enable
it?





Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#63555: closed (Re: bug#63555: emacs 29 complains that it can't connect to the display)
Resent-From: Po Lu <luangruo@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 31 May 2023 01:20:01 +0000
Resent-Message-ID: <handler.63555.B63555.168549598513186 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 63555
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Phillip Susi <phill@HIDDEN>
Cc: Robert Pluim <rpluim@HIDDEN>, Eli Zaretskii <eliz@HIDDEN>, 63555 <at> debbugs.gnu.org
Received: via spool by 63555-submit <at> debbugs.gnu.org id=B63555.168549598513186
          (code B ref 63555); Wed, 31 May 2023 01:20:01 +0000
Received: (at 63555) by debbugs.gnu.org; 31 May 2023 01:19:45 +0000
Received: from localhost ([127.0.0.1]:34492 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1q4AV7-0003Qb-38
	for submit <at> debbugs.gnu.org; Tue, 30 May 2023 21:19:45 -0400
Received: from sonic316-21.consmr.mail.ne1.yahoo.com ([66.163.187.147]:45691)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <luangruo@HIDDEN>) id 1q4AV4-0003QM-11
 for 63555 <at> debbugs.gnu.org; Tue, 30 May 2023 21:19:43 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1685495976; bh=1hUBU2OCuT3gjo6VgBgZZf1HV9z0o5xQW57t8hJtiEA=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To;
 b=YcODNr5mYDxhsM58pKzfQed/TGlg8Ufg6uXuozdEzIieEWanHwlI5gKJVRF6S7ZfWd6dHzvKBpTaspGIA5VOQi0M6m6mSSL4iqfLJaRM2dOAvYvrjEFp3OFOLZhul1M3OWHfs9OkNMwRIqUk7zZiMDuYHcZkWcsAb5SUDQIxWyBddbzyMSpiBRVFw+wK1dqetct1+iBBdJWX2x9kF4HAtXxEYaCb6eLp1M30mY/e2VAVjMQvKR0tggpVQN3/4Pk44h4xxCJ8t0aOOS01c9SNPo+dRI7gbW0VoDzF6R8IJrDbw44lOgrQb0RYcnImgJv4hUqFb39IlQwSJjS3wSrs6Q==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1685495976; bh=/+o9N9cJwHwf9gTR/rUQRcrSuAk06hhz6YtayiZy/n6=;
 h=X-Sonic-MF:From:To:Subject:Date:From:Subject;
 b=F4zN8ocP8RV0hmbb0rSgtVXqVmN3aAzQ255CNp1Vm17AS3UA52OX4h6kzFvS0Szfp07FnrwSOZNGXz8yZ9b8SGfkPtgZ3N7K478fll6RFkOga8CtB5mE34Tq9HOB2dU8JsmbAS+iqGu0RFkXNTzw5FF6bcw4fkdLmJm9bU8EVsL6Zh3JXqAIaD56bWVTq1c8XbU5IgODd0ZXOkv0ajr62KP81rH/aSOpHOdRuxkELJn9D1qQ7NJbEwelqEOH9xkkseL26+cD7x2hG9W+xFlS5jKFpEwm6mRbDuEM2UjLEe22BbOOxpgksJr/tqklRMKDtBEoBu1dcevRTowUVPa53Q==
X-YMail-OSG: I1whalAVM1m5cCShQg98Z2wkkg7F6AUStCU50q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5KhbLgkjw2ykosKZiiir2VPEVsCb4M6yUVMmey19wFFGks5ZlcTIWl808u_MOKLXZS9VA0J.X2
 p0kC8qa1WGY9B4UkNNeyLAi5kh_Alce_5oTGqMMeJBSabYjmdLprcEcQdo_lcQVMTXmsdGcYuZPH
 jfUgx9KwQI48L9_dnlV6fQ6YgpShLg_MTWHfyDyZ73sD9kDh533ZEZZvSpUehc7s8
X-Sonic-MF: <luangruo@HIDDEN>
X-Sonic-ID: d4c7c3e2-54c2-4fac-8410-cfbc6951527f
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic316.consmr.mail.ne1.yahoo.com with HTTP; Wed, 31 May 2023 01:19:36 +0000
Received: by hermes--production-sg3-748897c457-q47mh (Yahoo Inc. Hermes SMTP
 Server) with ESMTPA ID db9f6f4930f8847c40c7c21140d1ec65; 
 Wed, 31 May 2023 01:19:33 +0000 (UTC)
From: Po Lu <luangruo@HIDDEN>
In-Reply-To: <87mt1lvi4b.fsf@HIDDEN> (Phillip Susi's message of
 "Tue, 30 May 2023 13:31:30 -0400")
References: <83ednbrwfp.fsf@HIDDEN> <87ttwbawse.fsf@HIDDEN>
 <handler.63555.D63555.168458752424255.notifdone <at> debbugs.gnu.org>
 <87a5xyrjce.fsf@HIDDEN> <875y8klt89.fsf@HIDDEN>
 <877ct0zph8.fsf@HIDDEN> <87wn10k7ew.fsf@HIDDEN>
 <87ttw4y5ur.fsf@HIDDEN> <87pm6smqfi.fsf@HIDDEN>
 <87wn0zx50f.fsf@HIDDEN> <87353nw0s2.fsf@HIDDEN>
 <87pm6qvava.fsf@HIDDEN> <87ilcgbev2.fsf@HIDDEN>
 <87edn3rjna.fsf@HIDDEN> <87r0r3mqs2.fsf@HIDDEN>
 <871qj3ytn3.fsf@HIDDEN> <87r0r2ppjd.fsf@HIDDEN>
 <87mt1lvi4b.fsf@HIDDEN>
Date: Wed, 31 May 2023 09:19:27 +0800
Message-ID: <87jzwpnvq8.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Mailer: WebService/1.1.21495
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
Content-Length: 444
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Phillip Susi <phill@HIDDEN> writes:

> Hrm... maybe something in .emacs could be used to disable the check?
> Or maybe it could be disabled by default and have a setting to enable
> it?

The point is, this is overengineering for a check that 99% of people are
not going to need.  We have no such checks on the NS port or the MS
Windows, and it is at least possible to log in to a Mac OS system from a
terminal with no display connection.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#63555: closed (Re: bug#63555: emacs 29 complains that it can't connect to the display)
References: <87ttwbawse.fsf@HIDDEN>
In-Reply-To: <87ttwbawse.fsf@HIDDEN>
Resent-From: Daan Ro <daanturo@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 08 Jun 2023 06:03:02 +0000
Resent-Message-ID: <handler.63555.B63555.16862041477623 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 63555
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: "phill@HIDDEN" <phill@HIDDEN>
Cc: "63555 <at> debbugs.gnu.org" <63555 <at> debbugs.gnu.org>
Received: via spool by 63555-submit <at> debbugs.gnu.org id=B63555.16862041477623
          (code B ref 63555); Thu, 08 Jun 2023 06:03:02 +0000
Received: (at 63555) by debbugs.gnu.org; 8 Jun 2023 06:02:27 +0000
Received: from localhost ([127.0.0.1]:55487 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1q78j5-0001yt-2J
	for submit <at> debbugs.gnu.org; Thu, 08 Jun 2023 02:02:27 -0400
Received: from mail-pl1-f173.google.com ([209.85.214.173]:49344)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <daanturo@HIDDEN>) id 1q78j3-0001ye-EM
 for 63555 <at> debbugs.gnu.org; Thu, 08 Jun 2023 02:02:26 -0400
Received: by mail-pl1-f173.google.com with SMTP id
 d9443c01a7336-1b246dd3390so1181545ad.2
 for <63555 <at> debbugs.gnu.org>; Wed, 07 Jun 2023 23:02:25 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20221208; t=1686204139; x=1688796139;
 h=mime-version:subject:message-id:cc:to:from:date:from:to:cc:subject
 :date:message-id:reply-to;
 bh=0xav+30kZinPZJfq3cFdmx2qepY2mjnqWhzW6lGH28k=;
 b=i0ZAB3n+C2ORPY5qNCQ0S7WRAhCkrcgQUWb89LfmmLflzt4SyKmwVukcrDgI8LI72U
 RSV1aLjHJj7bHQKonTYRdT4C8ckt8lpLPFP6PryJ4UZCcKnkIsIUvY2odzNP7QGVdTfi
 USr4Q4qwcf/amy2upLgFWMemBJUeFJJFPOdELDg0UQG/1pb9rbNsvdvfwv5stGazPKwh
 Fu7TFH3+wRDlITqX/0ZsBhEN2ibMIOpLeRS1x6ogj3Z0jXGgZ7lEzXByIvBj+3wZArBX
 oTL4xpYWyqq6pbWm1wwsrsJx4NJIonf+1tWmX+U75ONXDUFsquE/7E5rt1fGMjhcW9SN
 M5pQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20221208; t=1686204139; x=1688796139;
 h=mime-version:subject:message-id:cc:to:from:date:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=0xav+30kZinPZJfq3cFdmx2qepY2mjnqWhzW6lGH28k=;
 b=Y1wvKjghi/fRQGjYFc9fGCHo1k092mLQzNIc8ilLKACQ/VNsWevuUvPkJrkj6mUKoP
 eIZRC5fGBImzKCx5uWDy1F8VHCYsKRe0xQEss+g1EXLwjads8BmzETzCiSvBLIX1/oi+
 q7gNG9CsuHCuTDdD5E24zRoHXdanqvDqpcsupY4omZSZFjPblLB0iPvX641KkUHWqnxN
 2+KA/iGfhqDTbSJMXd4bnyzMcuLat5bF18p0w5bGttwbEkgNmSv3PUSRdDgKAav8TrQ4
 LQaf9PSP4ACO1odW1i9HeqGfRz5TIr+aQjly5SlK7vSiYkrR7LOkSnT1KV5s7gbGbR7U
 G/AA==
X-Gm-Message-State: AC+VfDy8KTOgdYEHfexRHcivnKglg8ZuW0H53bvLAr3TgT9iafMn8qKx
 mCa7fTp4EthQbnnCilVsB++zUj4X/Cs=
X-Google-Smtp-Source: ACHHUZ5kaTYMhloQkbSkgIhprwNMml1u26eI0oXUaiZRncplKnUugxFFjY6FDthPCFYDZrNIpVbfNw==
X-Received: by 2002:a17:902:8d82:b0:1af:f660:1689 with SMTP id
 v2-20020a1709028d8200b001aff6601689mr6274141plo.31.1686204138653; 
 Wed, 07 Jun 2023 23:02:18 -0700 (PDT)
Received: from dan-laptop ([42.119.229.199]) by smtp.gmail.com with ESMTPSA id
 6-20020a170902c10600b001ac55a5e5eesm528166pli.121.2023.06.07.23.02.17
 for <63555 <at> debbugs.gnu.org>
 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256);
 Wed, 07 Jun 2023 23:02:18 -0700 (PDT)
Date: Thu, 8 Jun 2023 13:02:14 +0700
From: Daan Ro <daanturo@HIDDEN>
Message-ID: <2AECC4EA-E3E5-45A5-ACC6-6E6EB69D3ECD@HIDDEN>
X-Mailer: Mailspring
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="64816ee6_3400a29a_908"
X-Spam-Score: 1.6 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview: > I think you need to check for them being non-empty as well
 Good point. If you have done that, may you share the patch? Daanturo 
 Content analysis details:   (1.6 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (daanturo[at]gmail.com)
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 0.0 RCVD_IN_MSPIKE_H3      RBL: Good reputation (+3)
 [209.85.214.173 listed in wl.mailspike.net]
 -0.0 SPF_PASS               SPF: sender matches SPF record
 0.0 HTML_IMAGE_RATIO_04    BODY: HTML has a low ratio of text to image
 area
 1.6 HTML_IMAGE_ONLY_12     BODY: HTML: images with 800-1200 bytes of
 words 0.0 HTML_MESSAGE           BODY: HTML included in message
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
 no trust [209.85.214.173 listed in list.dnswl.org]
 0.0 RCVD_IN_MSPIKE_WL      Mailspike good senders
 0.0 T_REMOTE_IMAGE         Message contains an external image
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.6 (/)

--64816ee6_3400a29a_908
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

> I think you need to check for them being non-empty as well

Good point.
If you have done that, may you share the patch?

Daanturo


--64816ee6_3400a29a_908
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

<code><pre style=3D=22background-color:rgba(0,0,0,0.05);padding:0.2em 1em=
=22>&gt; I think you need to check for them being non-empty as well<br><b=
r>Good point.</pre></code><div>If you have done that, may you share the p=
atch=3F</div><br><div><signature id=3D=22local-5a488b9c-f75f=22><table ce=
llpadding=3D=220=22 cellspacing=3D=220=22><tbody><tr><td style=3D=22verti=
cal-align:top=22></td><td><div>Daanturo</div><div style=3D=22font-size:0.=
9em;border-top:1px solid gray;min-width:250px;max-width:300px;margin-top:=
4px;padding-top:4px=22><div><div></div><div></div></div></div></td></tr><=
/tbody></table></signature></div><img class=3D=22mailspring-open=22 alt=3D=
=22Sent from Mailspring=22 width=3D=220=22 height=3D=220=22 style=3D=22bo=
rder:0; width:0; height:0;=22 src=3D=22https://link.getmailspring.com/ope=
n/2AECC4EA-E3E5-45A5-ACC6-6E6EB69D3ECD=40getmailspring.com=3Fme=3D2e84f98=
3&amp;recipient=3DNjM1NTVAZGViYnVncy5nbnUub3Jn=22>
--64816ee6_3400a29a_908--





Message received at fakecontrol@fakecontrolmessage:


Received: (at fakecontrol) by fakecontrolmessage;
To: internal_control <at> debbugs.gnu.org
From: Debbugs Internal Request <help-debbugs@HIDDEN>
Subject: Internal Control
Message-Id: bug archived.
Date: Thu, 06 Jul 2023 11:24:07 +0000
User-Agent: Fakemail v42.6.9

# This is a fake control message.
#
# The action:
# bug archived.
thanks
# This fakemail brought to you by your local debbugs
# administrator


Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 14 Jul 2024 19:54:47 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jul 14 15:54:47 2024
Received: from localhost ([127.0.0.1]:58613 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sT5J1-000843-G3
	for submit <at> debbugs.gnu.org; Sun, 14 Jul 2024 15:54:47 -0400
Received: from mail-wr1-f45.google.com ([209.85.221.45]:46441)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <p.d.oliver@HIDDEN>) id 1sT5Iz-00083v-AG
 for control <at> debbugs.gnu.org; Sun, 14 Jul 2024 15:54:46 -0400
Received: by mail-wr1-f45.google.com with SMTP id
 ffacd0b85a97d-367a081d1cdso1945425f8f.1
 for <control <at> debbugs.gnu.org>; Sun, 14 Jul 2024 12:54:43 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=mavit.org.uk; s=google; t=1720986822; x=1721591622; darn=debbugs.gnu.org;
 h=mime-version:message-id:to:from:date:from:to:cc:subject:date
 :message-id:reply-to;
 bh=giwiYiuEsOaPr197idmAbXMFG4fpHNE69FzNQr8yZ1E=;
 b=U+yTjFs8zEFDBqspDQVBD5ZLTvDwAieU/y756uzbZXItozEDmvIAp7Dami1ZV1N4xi
 0L+zW2HBkACgucpXA25PESJw+WvERukHoXij/FztUhHgIaQ14IEgPT0vyOi0aQft8AUp
 VyCu18egZMttjLUo8yTog/4mSGMK3wmsRrh0w=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1720986822; x=1721591622;
 h=mime-version:message-id:to:from:date:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=giwiYiuEsOaPr197idmAbXMFG4fpHNE69FzNQr8yZ1E=;
 b=OPT2+QfzsrLDUZLXeK8r5LfHvPOWe3aVR1HhgCFwKnbNjb4N25o37UFLcw3a3jDJnQ
 AxLxV2Ev4V8SwRC1vJ0pDLBoq2tcQgLx8CWcloCHHHKWAK2St94lXpKBk6/OqsWJox75
 OFdfhRXxbyix/LcO1J5DrGe5Rv8Gnyn+RGuwzY4pnXG9SUYS7vp/NisMmlWAsn1q1jVw
 2HKrE0OzdysxtsRo/Qv66dqYZlSaq1dBneM2EOC6aI0+ai3VLLkFK2Qty19Uf1uggVtB
 YtXw7hh5YmMjNRlketkfiFgTD4v7W7ld9V4rhCAhkLQL0GTkw8HuoRSq9DCphOy86B8E
 DL2g==
X-Gm-Message-State: AOJu0YxAn6TnQ/H+mm5YIP0OO06gMwGBJQ7PHIqA6kR3KC7GHYHZ4LhG
 DYoWzkv5KW52Q3D1nBsODhxqfl5PB8UCWtPOtqXgcsi4g4lP3OySzPU0UQN1osJoK1zz2MIfFZs
 =
X-Google-Smtp-Source: AGHT+IG3nJLx1hPizwCyXYWkF0RXjuxzxpYSG4ft59DTB3MC6S3KjLpFy5pvYsFlLpZJyztWPKehOQ==
X-Received: by 2002:a5d:6487:0:b0:368:64e:a7dd with SMTP id
 ffacd0b85a97d-368064ea946mr5413297f8f.53.1720986822445; 
 Sun, 14 Jul 2024 12:53:42 -0700 (PDT)
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
 ffacd0b85a97d-3680dab3b2bsm4507263f8f.20.2024.07.14.12.53.41
 for <control <at> debbugs.gnu.org>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sun, 14 Jul 2024 12:53:41 -0700 (PDT)
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 46EJreF8087430
 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT)
 for <control <at> debbugs.gnu.org>; Sun, 14 Jul 2024 20:53:41 +0100
Received: from localhost (mavit@localhost)
 by froglet.home.mavit.org.uk (8.18.1/8.18.1/Submit) with ESMTP id
 46EJreRI087427
 for <control <at> debbugs.gnu.org>; Sun, 14 Jul 2024 20:53:40 +0100
X-Authentication-Warning: froglet.home.mavit.org.uk: mavit owned process doing
 -bs
Date: Sun, 14 Jul 2024 20:53:40 +0100 (BST)
From: Peter Oliver <p.d.oliver@HIDDEN>
To: control <at> debbugs.gnu.org
Message-ID: <10f2c0c0-5189-41a9-7138-f9f6b9722c16@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; format=flowed; charset=US-ASCII
X-Spam-Score: 2.0 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview:  unarchive 63555 
 Content analysis details:   (2.0 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
 no trust [209.85.221.45 listed in list.dnswl.org]
 -0.0 RCVD_IN_MSPIKE_H2      RBL: Average reputation (+2)
 [209.85.221.45 listed in wl.mailspike.net]
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 -0.0 SPF_PASS               SPF: sender matches SPF record
 1.8 MISSING_SUBJECT        Missing Subject: header
 0.2 NO_SUBJECT             Extra score for no subject
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.0 (+)

unarchive 63555





Last modified: Sun, 14 Jul 2024 20:00:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.