unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Pankaj Jangid <pankaj@codeisgreat.org>
To: Po Lu <luangruo@yahoo.com>
Cc: 64310@debbugs.gnu.org, Eli Zaretskii <eliz@gnu.org>
Subject: bug#64310: 29.0.92; pure-GTK warning under Wayland
Date: Thu, 13 Jul 2023 15:00:16 +0530	[thread overview]
Message-ID: <877cr4rwev.fsf@codeisgreat.org> (raw)
In-Reply-To: <87pm55l0ut.fsf@yahoo.com> (Po Lu's message of "Thu, 06 Jul 2023 19:45:46 +0800")

Po Lu <luangruo@yahoo.com> writes:

>>> > Pankaj Jangid <pankaj@codeisgreat.org> writes:
>>> >
>>> >> Exec=sh -c "u=\\$(echo \\"\\$1\\" | sed 's/[\\\\\\"]/\\\\\\\\&/g');
>>> >> exec emacsclient --alternate-editor= --display=\\"\\$DISPLAY\\"
>>> >> --eval \\"(message-mailto \\\\\\"\\$u\\\\\\")\\"" sh %u
>>> >
>>> > I think this line here is the problem: it will make emacsclient try to
>>> > use the Xwayland display.  What happens if you delete the `--display'
>>> > argument from this command line?  Emacsclient should be smart enough to
>>> > figure out which display to use from the environment alone.
>>> 
>>> Nope. I removed the "--display=..."  argument from
>>> .local/share/emacs/29.0.92/etc/emacsclient-mail.desktop. It did not make
>>> any difference.
>>> 
>
> Sorry, I must've missed that reply.  Pankaj, what if you replace
> --display="$DISPLAY" with --display="$WAYLAND_DISPLAY"?
>

Nothing changes. When there is no default email handler configured
i.e. when Firefox is set to ask each time. It shows two options for
Emacs - (1) Emacs(Mail, Client) (2) Emacs (Mail). When I select the
first one, it shows error that I reported. If I select option (2), Emacs
launches without any warning (desired behaviour).






  reply	other threads:[~2023-07-13  9:30 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-27  4:45 bug#64310: 29.0.92; pure-GTK warning under Wayland Pankaj Jangid
2023-06-28  0:26 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-07-01  8:41   ` Eli Zaretskii
2023-07-01  9:25   ` Pankaj Jangid
2023-07-01  9:43     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-07-01  9:53       ` Pankaj Jangid
2023-07-06  7:12         ` Eli Zaretskii
2023-07-06 11:45           ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-07-13  9:30             ` Pankaj Jangid [this message]
2023-07-22 13:15               ` Eli Zaretskii
2023-07-22 13:38                 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-07-26 13:54                   ` Eli Zaretskii
2023-07-27  5:18                   ` Pankaj Jangid
2023-08-03  8:01                     ` Eli Zaretskii
2023-08-12  6:47                       ` Eli Zaretskii
2023-08-12  7:06                         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-08-12  8:16                           ` Eli Zaretskii
2023-08-12  8:56                             ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-08-17 16:51                               ` Pankaj Jangid
2023-08-24  6:16                                 ` Eli Zaretskii

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877cr4rwev.fsf@codeisgreat.org \
    --to=pankaj@codeisgreat.org \
    --cc=64310@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=luangruo@yahoo.com \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).