GNU bug report logs - #67628
Emacs 29.1: (x-open-connection (getenv "DISPLAY")) gets "Display :0.0 does not exist" error

Previous Next

Package: emacs;

Reported by: Herman <mahlamytsike <at> gmail.com>

Date: Mon, 4 Dec 2023 20:02:01 UTC

Severity: normal

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Po Lu <luangruo <at> yahoo.com>
Cc: mahlamytsike <at> gmail.com, 67628 <at> debbugs.gnu.org
Subject: Re: bug#67628: Emacs 29.1: (x-open-connection (getenv "DISPLAY"))
 gets "Display :0.0 does not exist" error
Date: Wed, 06 Dec 2023 15:10:04 +0200
> From: Po Lu <luangruo <at> yahoo.com>
> Cc: mahlamytsike <at> gmail.com,  67628 <at> debbugs.gnu.org
> Date: Wed, 06 Dec 2023 20:41:34 +0800
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> > Or why would the dynamic-setting machinery call get-device-terminal
> > for a display that has no frames?
> 
> Because events are sent when configuration changes take place on each
> display, rather than on each frame.  Although there aren't any frames, a
> configuration change is detected and duly reported, after which the
> dynamic-setting command bound to the event generated is called, and...

So the bug is in the command bound to the event, in that it assumes
there are frames on each display?  IOW, I would expect such a command
to do nothing about a display where we have no Emacs frames.




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

Previous Next


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