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#70590: 29.3; PGTK emacs doesn't automatically run on the terminal when it has no graphical display Date: Fri, 26 Apr 2024 14:09:33 +0300 Message-ID: <86cyqcz8gi.fsf@gnu.org> References: <35f08044-3e01-bdb3-02c1-4ecd6f91e225@mavit.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23068"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 70590@debbugs.gnu.org To: Peter Oliver Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Apr 26 13:11:03 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1s0JTq-0005nL-Pf for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 26 Apr 2024 13:11:02 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s0JTd-0002Q2-8O; Fri, 26 Apr 2024 07:10:49 -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 1s0JTa-0002PP-EK for bug-gnu-emacs@gnu.org; Fri, 26 Apr 2024 07:10:47 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s0JTa-0003KC-5e for bug-gnu-emacs@gnu.org; Fri, 26 Apr 2024 07:10:46 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s0JTs-0007Lp-4c for bug-gnu-emacs@gnu.org; Fri, 26 Apr 2024 07:11:04 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 26 Apr 2024 11:11:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70590 X-GNU-PR-Package: emacs Original-Received: via spool by 70590-submit@debbugs.gnu.org id=B70590.171412980927586 (code B ref 70590); Fri, 26 Apr 2024 11:11:03 +0000 Original-Received: (at 70590) by debbugs.gnu.org; 26 Apr 2024 11:10:09 +0000 Original-Received: from localhost ([127.0.0.1]:34076 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s0JSv-00079z-1n for submit@debbugs.gnu.org; Fri, 26 Apr 2024 07:10:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59874) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s0JSq-00077x-ST for 70590@debbugs.gnu.org; Fri, 26 Apr 2024 07:10:02 -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 1s0JSS-0002vb-Jq; Fri, 26 Apr 2024 07:09:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=iBrzyWLTbUZZo5NUp9pqWowGbbLGqP2ky+7lWXOyCXc=; b=IiDm3OpU2zVomWUtUYGu zuLsskal+jycu1CLl7nyqiT2ABHbJOM9PntLl2ntnUpgjo8eIVfwgDXZ2SstkxmwKIdoKgE6sZ04M gHEVZkhQDuBXlRHQE+rwB85I7rAZEXsQfff2pFI2zTcYQQEzN0cthoKRrOba3VP/+R0DkAObCw2hJ JzDEfHi5MjdYYiGfGPGgMagYudCuluBa7DduH1BHLf5tzdhMzZYVkslrPYdrgEih9t+3EWdlk0L97 NRqrcVQPrbyunmunwh84Ofh2DgJlE/4NalEdiz4sWk66FlyRQOdnw9goeGROPePk4tbWassFM3orb qoguysRrDRHSbQ==; In-Reply-To: <35f08044-3e01-bdb3-02c1-4ecd6f91e225@mavit.org.uk> (message from Peter Oliver on Fri, 26 Apr 2024 11:25:40 +0100 (BST)) 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:283981 Archived-At: > Date: Fri, 26 Apr 2024 11:25:40 +0100 (BST) > From: Peter Oliver > > Traditionally, if you ran Emacs from a terminal, with no graphical display available, it used that terminal for its display. With the pure GTK build of Emacs, this only works if you explicitly specify the –-no-window-system option. Otherwise: > > - - - - - - - > $ env DISPLAY= WAYLAND_DISPLAY= emacs -Q > > (emacs:13745): Gtk-WARNING **: 11:12:58.299: cannot open display: > $ echo $? > 1 > - - - - - - - See bug#63555. We've decided not to fix this, given the royal mess that GTK developers left behind, as described in the discussion of that bug. The NEWS file in the Emacs 29 distribution says, inter alia, about the PGTK build: Note that, unlike the X build of Emacs, the PGTK build cannot automatically switch to text-mode interface (thus emulating '-nw') if it cannot determine the default display; it will instead complain and ask you to invoke it with the explicit '-nw' option. Sorry.