GNU bug report logs - #66175
Cannot create graphical frame using emacsclient -c when using pgtk

Previous Next

Package: emacs;

Reported by: Jonas Møller <jonas <at> moller.systems>

Date: Sun, 24 Sep 2023 04:57:01 UTC

Severity: normal

To reply to this bug, email your comments to 66175 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#66175; Package emacs. (Sun, 24 Sep 2023 04:57:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jonas Møller <jonas <at> moller.systems>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 24 Sep 2023 04:57:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Jonas Møller <jonas <at> moller.systems>
To: "bug-gnu-emacs <at> gnu.org" <bug-gnu-emacs <at> gnu.org>
Subject: Cannot create graphical frame using emacsclient -c when using pgtk
Date: Sat, 23 Sep 2023 16:22:58 +0000
[Message part 1 (text/plain, inline)]
Hi, when using the old X11 GTK3 build of Emacs I was able to run emacs --daemon​, then create new graphical Emacs frames with emacsclient -c​.

Now-- with pgtk-- running emacsclient -cwill always create a console frame. With the DISPLAY​ environment variable defined, it also produces a warning about using the pgtk build on X11.

I think the logic for deciding whether or not to start a graphical or terminal frame needs to be revisited with Wayland/pgtk in mind.

Also Wayland systems will still often define DISPLAY​, for compatibility with any legacy X11 apps that may need it. So checking for the existence of this env variable is not a sound strategy for deciding whether that warning about running on X11 should be emitted.
[Message part 2 (text/html, inline)]

This bug report was last modified 223 days ago.

Previous Next


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