From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#67628: Emacs 29.1: (x-open-connection (getenv "DISPLAY")) gets "Display :0.0 does not exist" error Date: Thu, 07 Dec 2023 09:01:15 +0800 Message-ID: <87o7f2n7vo.fsf@yahoo.com> References: <20231204193138.3bb398b8@Elitebook> <83il5d683k.fsf@gnu.org> <20231205004405.3fc7190e@Elitebook> <83a5qo6dce.fsf@gnu.org> <87edg0omfn.fsf@yahoo.com> <83sf4f4kcq.fsf@gnu.org> <875y1bo71r.fsf@yahoo.com> <83fs0f4ibi.fsf@gnu.org> <83cyvj4i7f.fsf@gnu.org> <87sf4fmr54.fsf@yahoo.com> <838r674gmg.fsf@gnu.org> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23225"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: mahlamytsike@gmail.com, 67628@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 07 02:02:23 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rB2mV-0005sq-OT for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 07 Dec 2023 02:02:23 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rB2m5-0001UU-FP; Wed, 06 Dec 2023 20:01:57 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rB2ly-0001UF-El for bug-gnu-emacs@gnu.org; Wed, 06 Dec 2023 20:01:51 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rB2ly-0001Jm-68 for bug-gnu-emacs@gnu.org; Wed, 06 Dec 2023 20:01:50 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rB2m9-0002Uz-Lu for bug-gnu-emacs@gnu.org; Wed, 06 Dec 2023 20:02:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 07 Dec 2023 01:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67628 X-GNU-PR-Package: emacs Original-Received: via spool by 67628-submit@debbugs.gnu.org id=B67628.17019109059583 (code B ref 67628); Thu, 07 Dec 2023 01:02:01 +0000 Original-Received: (at 67628) by debbugs.gnu.org; 7 Dec 2023 01:01:45 +0000 Original-Received: from localhost ([127.0.0.1]:40714 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rB2lt-0002UV-0P for submit@debbugs.gnu.org; Wed, 06 Dec 2023 20:01:45 -0500 Original-Received: from sonic308-10.consmr.mail.ne1.yahoo.com ([66.163.187.33]:38535) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rB2lq-0002UH-Ll for 67628@debbugs.gnu.org; Wed, 06 Dec 2023 20:01:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1701910885; bh=SPlGQ4AthNJ1PTA5UtY98G7xW3LMGQjHf0hEK0Ht+s8=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=GDIeJAseojr8NBT1L2JznIbPem8avxkyMeQdlB3flKDgDpBTSYENvP1JDlMdCvAtClK2HzoZ7o7oPtWIiHTnLeHLiMCrVY/p8Wq9K1LSrPE792jPB8s4jpBuTUxHS9W6SWsTwPC0YCt28+qIMi4L+88acl0myn4Qhzj2uqcDNwhqaQchs112Ui/IFssrX/Q3cohrkLjuq1MkS3LM6/gklCC6NNIXBCfcuLp79J0E3YCff9g9IM2PWP7vu/8159u9LmYT3U+c98ZF4NIXgXX2e8yqkP4WnUk4jVoj5uBGBO86c1gswIRF5+rqIAbgH06l1wE/FYg0WAZ+zdZbnLbc+g== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1701910885; bh=1GEmXPkYM5fkfNAwuOs4pRGs2lJY250lFgoW0YXDNe5=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=RX74DqXmBvPNAmdBk9Nlwtj3Lm8pOW/czeI0MZJnHXJ6mktN7XqnvsRMGM83p6mvaqxEvWtOks5HsxRBq3Q1Hi+CRSVtaTsoDDpr1XhOMbpKVl4lJedw8/PNRJxQvCKPXliJYPgTjkkXB2IBsaU81+dl34WRid3XHq+A8isRm4cmS0uDutxuwrxWz2C0y2xQgZ2OH/d8RehvZANrv5nrXBuvWGLOkDmQFBeVgl3XR0H10G3jCgEOM7bHz7ZT+C/raGSSru9dJ/91gzKnJJa62gJ0ybFWwceMbDeK+jsya42xgxFjeckbPG3d2ujusQ52mYGY3biCas6x8FoxJihz4g== X-YMail-OSG: awuVgwkVM1k.V3gkuAqckQzljokxHuRMUw3nfxTDYphZ17XMOjpisXrd6wcvcuF Zws5Y35l3Q0onPpOyAraL21xap8uIO4g0jALLu.P1WbIO6xum.duhmRy6TWp.Yyok42ySBmCwb24 6zeE_yxU5Sp.8IrJBAjPRgZ5UhsieMxAhQQYWBR4aDau6A.jHFn12f4LBVjJ4tpy.nrM8fW2GBvi er7zvh_tfKH9mrlcftYguT2CxMWNFEBaxVb4gyaLGuWQrJvUQ1twin1zhD4TVlJke8gbpmEqBcOj FISy25IxagiihFKQT9YVa2XBzJBY4B6D_SDpiJTWyw4g6cSfT5om7ibsoMwddlbX9tn_ks7SGcjr Lj54kzkNOv6GNiDPDxVppHUB16jBm48IIb7_xlfhyjoJfXvWqGMxIaA00vlNXySjKsCjs991lqKp O17VphwR0i.LktxsKaYVBXJUsXxHFL0Uxj7rQ9kNSSRDYouGsow25j4Cf.NzldUHzspZ4a_n6INO ILrDEUoj7bqOP.y9nni4Nb7xzHmuYzfKGEfwRoAIDuisaNcwWxgZITGnPGKUkEuLaxpPa0et8HR1 YTR4lJ88LmSbkcE9Y96TE2UFYN2kSFOnAfzFSKLTIJvrp8zjZ0Z0Bg_i3suuGo57hFKrw2Dm_D9w DDuZxglykwfLuQMaRs_AGJF9UVWkq7LrLTjE4Qr1oT2j2p.x9lzJqBr4pmcLfWylX0_JNndJACBW 02EttwgwE7ICqBprk6_BKVIPG35zeYlE5rlpTL.riUrbqE8S3oa0CbILZK.OVsvrPUet3iJnvCRq 87gf7vggZyQ_4PiyNjUESkEgeQ9bKfv6t1KcSf16Xg X-Sonic-MF: X-Sonic-ID: 736cc699-4b8d-410b-94b4-4133c263c52f Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic308.consmr.mail.ne1.yahoo.com with HTTP; Thu, 7 Dec 2023 01:01:25 +0000 Original-Received: by hermes--production-sg3-f6b777bf6-wzb8h (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 1cd05634a2d907c9ed059da99c07077c; Thu, 07 Dec 2023 01:01:21 +0000 (UTC) In-Reply-To: <838r674gmg.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 06 Dec 2023 15:15:03 +0200") X-Mailer: WebService/1.1.21943 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:275636 Archived-At: Eli Zaretskii writes: >> From: Po Lu >> Cc: mahlamytsike@gmail.com, 67628@debbugs.gnu.org >> Date: Wed, 06 Dec 2023 20:50:31 +0800 >> >> Eli Zaretskii writes: >> >> > Oh, and one more question: why doesn't this happen in Emacs 28? IOW, >> > what caused this "regression" in Emacs 29? >> >> The same change that's behind bug#64809 and bug#65191, among others. In >> retrospect, the Cairo dynamic-setting code in bug#43128 shouldn't have >> been installed at all, but then hindsight is universally 20/20. > > If you mean commit 52d4c98cec0901ef5cc1c55d5b3b33ac9d9c519f, then I > don't see how it could cause the error. Can you explain? It can't extract the default settings when the display is opened, so once the connection to the client providing display settings is established, it always reports a change.