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#64310: 29.0.92; pure-GTK warning under Wayland Date: Sat, 01 Jul 2023 17:43:33 +0800 Message-ID: <87cz1c3r22.fsf@yahoo.com> References: <87sfadwm1e.fsf@codeisgreat.org> <87leg477q0.fsf@yahoo.com> <877crk6l1u.fsf@codeisgreat.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="14694"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 64310@debbugs.gnu.org To: Pankaj Jangid Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jul 01 11:44:22 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 1qFX9S-0003eR-8g for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 01 Jul 2023 11:44:22 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qFX9E-0003oX-Db; Sat, 01 Jul 2023 05:44:08 -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 1qFX98-0003o7-3j for bug-gnu-emacs@gnu.org; Sat, 01 Jul 2023 05:44:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qFX97-00087m-RH for bug-gnu-emacs@gnu.org; Sat, 01 Jul 2023 05:44:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qFX97-0007QR-MM for bug-gnu-emacs@gnu.org; Sat, 01 Jul 2023 05:44:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 01 Jul 2023 09:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64310 X-GNU-PR-Package: emacs Original-Received: via spool by 64310-submit@debbugs.gnu.org id=B64310.168820463128515 (code B ref 64310); Sat, 01 Jul 2023 09:44:01 +0000 Original-Received: (at 64310) by debbugs.gnu.org; 1 Jul 2023 09:43:51 +0000 Original-Received: from localhost ([127.0.0.1]:56591 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qFX8x-0007Pr-5e for submit@debbugs.gnu.org; Sat, 01 Jul 2023 05:43:51 -0400 Original-Received: from sonic309-20.consmr.mail.ne1.yahoo.com ([66.163.184.146]:42372) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qFX8u-0007Pa-RK for 64310@debbugs.gnu.org; Sat, 01 Jul 2023 05:43:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1688204622; bh=iK7tgkcgYoO6csmQ44F1DLeMeeVv0uk+L49jvWpJZEc=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=A0EKad7/hKcjfl4f+os5hpAvgoDbxRHEm9txT+HHBFwD91k9NQPjeTm36vydKgC6irT8S9izP2igPddeXemF7LlXP0B2NOoOJw0TabmzOQhmCKd0GL/NjdfsS/JRJZKvn0V7UjfaHy9KNepsRGmmDYXEC8RHTM71WvrR0bEZ8AzK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w9noQc84bzHJ8VdiYLkbi3qdreceo09RxOHKKy6NQyhfoHeudGsTA jkZ78T6vBpd7F_i1p1oYe5hDccgbLkwBdcvijz0lvR4ANTcyv6Zxd.f_zCF1l3jdRs0pds0dfA6L f8GksRVPCFI6r12Bs5Bs6ZbEKnfqrUsaCHZX5Vsqu3qiSqypwPNyaqPVhF0qGhEJm0GafMgN97p2 VnBHBkaFo1wj6wtgMjVWpdvigoZNPHhmw7DE8xnXDwWTz314LTLccQcPFUU7Al6ZraaVwvVO.a0K Y868MlthUSMnGBT1llQ32XtI5DwcTMlzofPOVS4TnEzrufRPBKXCIkKMXKl3Z8DFiRN4LAjRvJG_ pi2nlQZ1TrbG9cAZse4cdMrU5nB5cDK98.f2LAzLOeSyAaaHwPjIp0cDthaAzQ1b7gmUTojTvtfT Zl4n685X7..KvTe04L3SHutShcFBI4lmdVSzIoRDsE X-Sonic-MF: X-Sonic-ID: 54e19d7d-b7e9-4ae0-bdba-6976fb86ee30 Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.ne1.yahoo.com with HTTP; Sat, 1 Jul 2023 09:43:42 +0000 Original-Received: by hermes--production-sg3-67fd64777-ftxnx (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 04e96425c70926db1e48f8a0e924162b; Sat, 01 Jul 2023 09:43:38 +0000 (UTC) In-Reply-To: <877crk6l1u.fsf@codeisgreat.org> (Pankaj Jangid's message of "Sat, 01 Jul 2023 14:55:01 +0530") X-Mailer: WebService/1.1.21612 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:264380 Archived-At: Pankaj Jangid 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.