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

Full log


View this message in rfc822 format

From: Jonas Møller <jonas <at> moller.systems>
To: 66175 <at> debbugs.gnu.org
Subject: bug#66175: 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 1 year and 270 days ago.

Previous Next


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