all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Peter Oliver <lists.gnu.org@mavit.org.uk>
Cc: 70590@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	[thread overview]
Message-ID: <86cyqcz8gi.fsf@gnu.org> (raw)
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))

> Date: Fri, 26 Apr 2024 11:25:40 +0100 (BST)
> From: Peter Oliver <lists.gnu.org@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.





  reply	other threads:[~2024-04-26 11:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-26 10:25 bug#70590: 29.3; PGTK emacs doesn't automatically run on the terminal when it has no graphical display Peter Oliver
2024-04-26 11:09 ` Eli Zaretskii [this message]
2024-05-09  7:20   ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86cyqcz8gi.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=70590@debbugs.gnu.org \
    --cc=lists.gnu.org@mavit.org.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.