GNU bug report logs - #70590
29.3; PGTK emacs doesn't automatically run on the terminal when it has no graphical display

Previous Next

Package: emacs;

Reported by: Peter Oliver <lists.gnu.org <at> mavit.org.uk>

Date: Fri, 26 Apr 2024 10:27:03 UTC

Severity: normal

Tags: wontfix

Found in version 29.3

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Peter Oliver <lists.gnu.org <at> mavit.org.uk>
Cc: 70590 <at> debbugs.gnu.org
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
> Date: Fri, 26 Apr 2024 11:25:40 +0100 (BST)
> From: Peter Oliver <lists.gnu.org <at> mavit.org.uk>
> 
> 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.




This bug report was last modified 1 year and 11 days ago.

Previous Next


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