From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Pankaj Jangid Newsgroups: gmane.emacs.bugs Subject: bug#64310: 29.0.92; pure-GTK warning under Wayland Date: Sat, 01 Jul 2023 15:23:56 +0530 Message-ID: <87cz1c7ya3.fsf@codeisgreat.org> References: <87sfadwm1e.fsf@codeisgreat.org> <87leg477q0.fsf@yahoo.com> <877crk6l1u.fsf@codeisgreat.org> <87cz1c3r22.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32812"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 64310@debbugs.gnu.org To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jul 01 11:55:25 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 1qFXK9-0008Iz-HO for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 01 Jul 2023 11:55:25 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qFXJq-0006cp-Va; Sat, 01 Jul 2023 05:55:07 -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 1qFXJo-0006cK-3G for bug-gnu-emacs@gnu.org; Sat, 01 Jul 2023 05:55:04 -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 1qFXJn-0002Ji-IR for bug-gnu-emacs@gnu.org; Sat, 01 Jul 2023 05:55:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qFXJm-0007pR-Dg for bug-gnu-emacs@gnu.org; Sat, 01 Jul 2023 05:55:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Pankaj Jangid Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 01 Jul 2023 09:55:02 +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.168820524929998 (code B ref 64310); Sat, 01 Jul 2023 09:55:02 +0000 Original-Received: (at 64310) by debbugs.gnu.org; 1 Jul 2023 09:54:09 +0000 Original-Received: from localhost ([127.0.0.1]:56621 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qFXIu-0007nm-NP for submit@debbugs.gnu.org; Sat, 01 Jul 2023 05:54:08 -0400 Original-Received: from mail-pl1-f173.google.com ([209.85.214.173]:42250) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qFXIs-0007nG-4n for 64310@debbugs.gnu.org; Sat, 01 Jul 2023 05:54:07 -0400 Original-Received: by mail-pl1-f173.google.com with SMTP id d9443c01a7336-1b801e6ce85so17363645ad.1 for <64310@debbugs.gnu.org>; Sat, 01 Jul 2023 02:54:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codeisgreat-org.20221208.gappssmtp.com; s=20221208; t=1688205239; x=1690797239; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=2slho2jHrUr1ozB6SOb/c9f5hus1PYHy3gg++cN8XIc=; b=De+pG4tfhHgGG7HCgtihl9DRmbADh+Hxn1/kyaDGofQnjZGAW2E8nJiCfTZ2KeH8KG 4NSDVL73pQ7d0bjKgzfcuUTpHly2bTTibpTv8oWjK7cUjB2P7zO42sZFeEf/MQC314de n63XED+mOQ/5MbK1AmZEtvtL4cwVtpqMiwuMXPajzSNciU49/a8TeRog81E1we3YkhKT 1vFdWWJmp43VAp5x7GXhGg9B1x+Ov17+u0ihM73qbkhJcvloJisyUnE1KEGfVgBQ3Kx7 dihBe5AC0ZuNPAZcS0U+0vIicwRUW+voa9GUBSNStXuM21H/5DJVwS+ZxkLIUfxnba+5 PLKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688205239; x=1690797239; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=2slho2jHrUr1ozB6SOb/c9f5hus1PYHy3gg++cN8XIc=; b=CEc2ba57GhQWt1ETFU3Lu8GbEQeNBtSFo9yIiLtmfxDEaKnROULkOfSBk8WnJpFckc 44Lj57vSMO0N1muO1sxyPPV4EeU5CyXofryvX8cvH4hSZQxRbwUeLaOgbF4lBNet5/KO NMV73aYUMEx4vx53Fjc6n5FO858rQv7qWVptPf3FS+m5zjb+ngukfpPP+1c5AIUYcrcG 8M+HxaPjxCeLOeMHNIfnM4fpAuPLZgAWzNfSRcNUmZj3KC8iZosfRSjnh1L5GgLW3bu1 JGRqTeArJHeGZyzh44R6NSNUuJ0bAsbIbmByr0UpqJwBIig5GNPYyN3M+2eooY8qFzzy R4yQ== X-Gm-Message-State: ABy/qLamdm7N2t29VgaLJ7qIDL/3B6ybTogqsjCmcmVfvRt07GW3P+vY 1gbzMni7GP0rnknELWwK1ZH8HnoC8RhVP/JDjjQ= X-Google-Smtp-Source: APBJJlHHIwydRSmxcin1AwF/Fpfz2Z3eWh8I8KT+vLHffeA2BnOP2mLIVDGcjhAgx7ZD2W0vHulcdg== X-Received: by 2002:a17:903:1ca:b0:1b8:3ddb:f9aa with SMTP id e10-20020a17090301ca00b001b83ddbf9aamr8137657plh.14.1688205239503; Sat, 01 Jul 2023 02:53:59 -0700 (PDT) Original-Received: from anant ([49.36.237.194]) by smtp.gmail.com with ESMTPSA id p11-20020a1709026b8b00b001b82862d3besm6787209plk.127.2023.07.01.02.53.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 01 Jul 2023 02:53:59 -0700 (PDT) In-Reply-To: <87cz1c3r22.fsf@yahoo.com> (Po Lu's message of "Sat, 01 Jul 2023 17:43:33 +0800") 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:264385 Archived-At: Po Lu writes: > 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. Nope. I removed the "--display=..." argument from .local/share/emacs/29.0.92/etc/emacsclient-mail.desktop. It did not make any difference.