From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#63555: emacs 29 complains that it can't connect to the display Date: Sun, 21 May 2023 14:16:58 +0300 Message-ID: <83r0raq6hh.fsf@gnu.org> References: <87ttwbawse.fsf@vps.thesusis.net> <83v8gou9yb.fsf@gnu.org> <87a5y04wgh.fsf@yahoo.com> <87ednclael.fsf@gmail.com> <83h6s8tlux.fsf@gnu.org> <87wn133hmz.fsf@yahoo.com> <83zg5zsg7g.fsf@gnu.org> <87fs7r342i.fsf@yahoo.com> <83v8gns9is.fsf@gnu.org> <87bkif2yq9.fsf@yahoo.com> <83ednbrwfp.fsf@gnu.org> <87ttw61pil.fsf@yahoo.com> <835y8ms0lu.fsf@gnu.org> <87a5xy19f5.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15447"; mail-complaints-to="usenet@ciao.gmane.io" Cc: rpluim@gmail.com, phill@thesusis.net, 63555@debbugs.gnu.org To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun May 21 13:17:22 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1q0h3x-0003st-VA for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 21 May 2023 13:17:22 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q0h3i-0004yZ-6x; Sun, 21 May 2023 07:17:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q0h3e-0004rN-Bl for bug-gnu-emacs@gnu.org; Sun, 21 May 2023 07:17:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q0h3e-0004yn-38 for bug-gnu-emacs@gnu.org; Sun, 21 May 2023 07:17:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q0h3d-0007Li-Ux for bug-gnu-emacs@gnu.org; Sun, 21 May 2023 07:17:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 21 May 2023 11:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63555 X-GNU-PR-Package: emacs Original-Received: via spool by 63555-submit@debbugs.gnu.org id=B63555.168466781428232 (code B ref 63555); Sun, 21 May 2023 11:17:01 +0000 Original-Received: (at 63555) by debbugs.gnu.org; 21 May 2023 11:16:54 +0000 Original-Received: from localhost ([127.0.0.1]:60115 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q0h3W-0007LH-3u for submit@debbugs.gnu.org; Sun, 21 May 2023 07:16:54 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:51650) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q0h3T-0007IY-Tq for 63555@debbugs.gnu.org; Sun, 21 May 2023 07:16:53 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 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==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q0h3H-0007fy-VC; Sun, 21 May 2023 07:16:40 -0400 In-Reply-To: <87a5xy19f5.fsf@yahoo.com> (message from Po Lu on Sun, 21 May 2023 14:32:46 +0800) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:262100 Archived-At: > From: Po Lu > Cc: rpluim@gmail.com, phill@thesusis.net, 63555@debbugs.gnu.org > Date: Sun, 21 May 2023 14:32:46 +0800 > > Eli Zaretskii 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.