From: Po Lu <luangruo@yahoo.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Julien Cubizolles <j.cubizolles@free.fr>, emacs-devel@gnu.org
Subject: Re: emacs pgtk doesn't set WAYLAND-DISPLAY
Date: Thu, 15 Feb 2024 16:11:05 +0800 [thread overview]
Message-ID: <874jeaywo6.fsf@yahoo.com> (raw)
In-Reply-To: <86ttmaw3rt.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 15 Feb 2024 10:05:58 +0200")
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Julien Cubizolles <j.cubizolles@free.fr>
>> Date: Thu, 08 Feb 2024 17:18:36 +0100
>>
>> In Wayland, the following environment variables are set in a shell
>>
>> WAYLAND_DISPLAY=wayland-0
>> DISPLAY=:0
>>
>> In Emacs built with pgtk, only DISPLAY is set, with
>> DISPLAY=wayland-0.
>>
>> I don't know if there is a good reason for that but it causes the
>> matplotlib python program to fail as it seems to expect a "valid" value
>> for DISPLAY or WAYLAND_DISPLAY to be set (see
>> https://github.com/matplotlib/matplotlib/issues/18377).
>>
>> Maybe Emacs could just copy both the WAYLAND_DISPLAY and DISPLAY
>> environment variables instead of merging both ?
>
> Po Lu, any suggestions or comments?
I think this is was Emacs's treatment of WAYLAND_DISPLAY until we
received several bug reports that couldn't be resolved except by
refraining from changing that variable.
next prev parent reply other threads:[~2024-02-15 8:11 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-08 16:18 emacs pgtk doesn't set WAYLAND-DISPLAY Julien Cubizolles
2024-02-15 8:05 ` Eli Zaretskii
2024-02-15 8:11 ` Po Lu [this message]
2024-02-15 10:09 ` Eli Zaretskii
2024-02-15 10:46 ` Po Lu
2024-02-17 9:11 ` Eli Zaretskii
2024-02-17 10:04 ` Po Lu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874jeaywo6.fsf@yahoo.com \
--to=luangruo@yahoo.com \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=j.cubizolles@free.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.