From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Bj=C3=B6rn?= Bidar via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#65886: 29.1; pgtk emacs should assume --no-window-system when there is no window system Date: Tue, 12 Sep 2023 21:02:42 +0300 Message-ID: <87ttrzl16l.fsf@thaodan.de> References: <875y4gt1kj.fsf@gmail.com> <875y4f96ps.fsf@yahoo.com> Reply-To: =?UTF-8?Q?Bj=C3=B6rn?= Bidar Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="920"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: trentbuck@gmail.com, luangruo@yahoo.com To: 65886@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Sep 12 20:03:18 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 1qg7jJ-000AXp-TD for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 12 Sep 2023 20:03:17 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qg7j1-0006p6-Hg; Tue, 12 Sep 2023 14:02:59 -0400 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 1qg7iz-0006oo-MJ for bug-gnu-emacs@gnu.org; Tue, 12 Sep 2023 14:02:57 -0400 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 1qg7iz-0003CU-DX for bug-gnu-emacs@gnu.org; Tue, 12 Sep 2023 14:02:57 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qg7j4-0007V0-5B for bug-gnu-emacs@gnu.org; Tue, 12 Sep 2023 14:03:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Bj=C3=B6rn?= Bidar Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 12 Sep 2023 18:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65886 X-GNU-PR-Package: emacs X-Debbugs-Original-To: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" X-Debbugs-Original-Cc: "Trent W. Buck" , Po Lu , 65886@debbugs.gnu.org Original-Received: via spool by 65886-submit@debbugs.gnu.org id=B65886.169454177328803 (code B ref 65886); Tue, 12 Sep 2023 18:03:02 +0000 Original-Received: (at 65886) by debbugs.gnu.org; 12 Sep 2023 18:02:53 +0000 Original-Received: from localhost ([127.0.0.1]:59969 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qg7iu-0007UV-TO for submit@debbugs.gnu.org; Tue, 12 Sep 2023 14:02:53 -0400 Original-Received: from thaodan.de ([2a03:4000:4f:f15::1]:34202) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qg7is-0007UL-In for 65886@debbugs.gnu.org; Tue, 12 Sep 2023 14:02:51 -0400 Original-Received: from odin (dsl-trebng12-50dc77-87.dhcp.inet.fi [80.220.119.87]) by thaodan.de (Postfix) with ESMTPSA id D26E9D08DE2; Tue, 12 Sep 2023 21:02:43 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=thaodan.de; s=mail; t=1694541764; bh=r8aWZj9yJn1+QAn6A1g/gGJsNUCMKCKfZGaugOcrB7I=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=W4cBH58IEuEyR324c0U/nR7qzEgUbCMo483d7IAmLIDfKmCWOv3j8i5EUviTF995P a9Qfu2dCaI4TkULKkZy4PMIhnEWhajXxrU23kVqPohCDFKfrL/ejdZfVJb1oh7GR+A BDjs0K0LHnBwDMFdEbsFhtf1aGd2LZyxTPBTkdI3Fnzdbp8OF3q4d3yIhQacbjx16z qeO+hD4ub6/MlIx2ILPV9zahcAiZzenibwQGoCVRkV61rD8sdFm5xNvGM0j61NKUIi 8C5IH8yo5U6IHe+qeOXE4ZhdxZPYL5B2C7qzfmYoEM6eBxtI9WXYKexld5drDS+DMa EI+l9Psum7G1iA9W+Ncx7Z7zLmkDpJ0gLdJ5cU4tsMIDFujBczUWNheIvrUbHxUtQp WoWm6dSOT2W4DTU1I5eWP2oFIj+n81W9DSaRPo26vsk82yFQoZxhDTpZ2PK39fYO2D rTr93punEkr1W0G6g1+uD7yUSaqX3EVmTC63Mmc/LzVurGzwM2rhM4Rsh551qyYocU BVVLUH2mzpQ8pEbYiSgkbbfo6AiAV+FhFkjtYzbWxMkKajDKeaAoB3AamgMrftiQz4 Jek9/27CbW5HBJTHL4cQJUdpPQPeQxPc2bNmKkBoTI/aQEB254y34E3B8O+IUZw5Yl 0ZLubvH3RZsz3SX8lMvPB9do= In-Reply-To: <875y4f96ps.fsf@yahoo.com> (Po Lu via's message of "Tue, 12 Sep 2023 15:43:59 +0800") Autocrypt: addr=bjorn.bidar@thaodan.de; prefer-encrypt=nopreference; keydata= mDMEZNfpPhYJKwYBBAHaRw8BAQdACBEmr+0xwIIHZfIDlZmm7sa+lHHSb0g9FZrN6qE6ru60JUJq w7ZybiBCaWRhciA8Ympvcm4uYmlkYXJAdGhhb2Rhbi5kZT6IlgQTFgoAPgIbAwULCQgHAgIiAgYV CgkICwIEFgIDAQIeBwIXgBYhBFHxdut1RzAepymoq1wbdKFlHF9oBQJk1/YmAhkBAAoJEFwbdKFl HF9oB9cBAJoIIGQKXm4cpap+Flxc/EGnYl0123lcEyzuduqvlDT0AQC3OlFKm/OiqJ8IMTrzJRZ8 phFssTkSrrFXnM2jm5PYDoiTBBMWCgA7FiEEUfF263VHMB6nKairXBt0oWUcX2gFAmTX6T4CGwMF CwkIBwICIgIGFQoJCAsCBBYCAwECHgcCF4AACgkQXBt0oWUcX2hbCQEAtru7kvM8hi8zo6z9ux2h K+B5xViKuo7Z8K3IXuK5ugwA+wUfKzomzdBPhfxDsqLcEziGRxoyx0Q3ld9aermBUccHtBxCasO2 cm4gQmlkYXIgPG1lQHRoYW9kYW4uZGU+iJMEExYKADsCGwMFCwkIBwICIgIGFQoJCAsCBBYCAwEC HgcCF4AWIQRR8XbrdUcwHqcpqKtcG3ShZRxfaAUCZNf2FQAKCRBcG3ShZRxfaCzSAP4hZ7cSp0YN XYpcjHdsySh2MuBhhoPeLGXs+2kSiqBiOwD/TP8AgPEg/R+SI9GI9on7fBJJ0mp2IT8kZ2rhDOjg gA6IkwQTFgoAOxYhBFHxdut1RzAepymoq1wbdKFlH 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:270205 Archived-At: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" writes: >> Non-pgtk GTK emacs does this, i.e. this is a regression/inconsistency. > > This is because here, Emacs knows exactly which GDK backend will be > loaded (X11) and what environment variable to check. Would it make sense for Emacs to first check if $WAYLAND_DISPLAY or $DISPLAY is set or $XDG_RUNTIME_DIR/wayland-0 is present?