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 #8 received at 67628 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Herman <mahlamytsike <at> gmail.com>
Cc: 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: Mon, 04 Dec 2023 22:11:43 +0200
> Date: Mon, 4 Dec 2023 19:31:38 +0200
> From: Herman <mahlamytsike <at> gmail.com>
> 
> 'x-create-frame' succeeds, but 'x-open-connection' fails with same display argument.
> 
> This error "Display :0.0 does not exist" happens only, when variable 'debug-on-error' is non-nil. When 'debug-on-error' is nil, the error is not present. I.e. it works on the principle - you get what you are looking for.

It could be that the code catches the error and proceeds, but your
setting debug-on-error non-nil prevents that.

Why do you need to set debug-on-error in that case?




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

Previous Next


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