From: Gunnar Wolf <gwolf@gwolf.org>
To: 72303@debbugs.gnu.org
Subject: bug#72303: When emacs-pgtk fails to find a Wayland display available, it fails to run instead of opening in -nw mode
Date: Thu, 25 Jul 2024 20:37:40 -0600 [thread overview]
Message-ID: <ZqML9CfjLb4f8BkN@iiec.unam.mx> (raw)
Package: emacs
I have Emacs installed in all of my systems. Paricularly, I have
emacs-pgtk all systems where I often use a graphical environment (and
emacs-nox in those where I don't).
Back when I used X11, if I started Emacs and had no $DISPLAY set, it
would open in a terminal. With emacs-pgtk, the behavior is not the
same:
$ emacs foobar
(emacs:3988): Gtk-WARNING **: 19:19:10.887: cannot open display:
$
This impacted me because I neede to use a remote machine to do work
via scripts (i.e. dch, debcommit) that call /usr/bin/editor and I
found impossible to hand-specify emacs to use -nw; I ended up
installing emacs-nox, but I don't find it to be an acceptable,
transparent-enough solution.
I think emacs-pgtk should behave just as emacs-gtk, falling back to
the console if a windowed environment is not found.
Thank you in advance!
next reply other threads:[~2024-07-26 2:37 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-26 2:37 Gunnar Wolf [this message]
2024-07-26 5:48 ` bug#72303: When emacs-pgtk fails to find a Wayland display available, it fails to run instead of opening in -nw mode Eli Zaretskii
2024-07-26 14:19 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-08-04 8:17 ` 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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZqML9CfjLb4f8BkN@iiec.unam.mx \
--to=gwolf@gwolf.org \
--cc=72303@debbugs.gnu.org \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).