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#66765: closed (Re: bug#66765: 30.0.50; Building emacs with xinput2 breaks receiving XSendEvent events) Date: Sat, 28 Oct 2023 08:36:22 +0800 Message-ID: <87bkcjy455.fsf@yahoo.com> References: <875y2szyz7.fsf@yahoo.com> 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="38791"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 66765@debbugs.gnu.org To: Ami Fischman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 28 02:37:59 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 1qwXKv-0009or-FH for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 28 Oct 2023 02:37:57 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qwXKX-0004si-8m; Fri, 27 Oct 2023 20:37:33 -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 1qwXKV-0004sZ-4W for bug-gnu-emacs@gnu.org; Fri, 27 Oct 2023 20:37:31 -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 1qwXKU-0006Fh-Rx for bug-gnu-emacs@gnu.org; Fri, 27 Oct 2023 20:37:30 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qwXL0-00048d-4a for bug-gnu-emacs@gnu.org; Fri, 27 Oct 2023 20:38:02 -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, 28 Oct 2023 00:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66765 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug wontfix Original-Received: via spool by 66765-submit@debbugs.gnu.org id=B66765.169845343815855 (code B ref 66765); Sat, 28 Oct 2023 00:38:02 +0000 Original-Received: (at 66765) by debbugs.gnu.org; 28 Oct 2023 00:37:18 +0000 Original-Received: from localhost ([127.0.0.1]:37510 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qwXKH-00047e-LF for submit@debbugs.gnu.org; Fri, 27 Oct 2023 20:37:18 -0400 Original-Received: from sonic304-22.consmr.mail.ne1.yahoo.com ([66.163.191.148]:40403) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qwXKB-00047M-Bk for 66765@debbugs.gnu.org; Fri, 27 Oct 2023 20:37:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1698453393; bh=jPQI18TnaHaVX43hbUo36+zHhHPk5SvrM8xTHNKv2d4=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=O3BknRll6tMKNd35jIswf1Gh4+oynNcRumKFc5TZz86dj+y5VFLVDAoN0bPZqkJVwVSXeM7pBQTMvee4InvpFsGiKsEhwY5i25uwx9oi4AADJN3JEN73QXd3Ily4ICVJI3WgTzBZ+74U8W9vgmGjFnnICVccpnH6EyS3TXSBcBlmjYLz0kw86CpyZmnILFNPA/OVTBmgF0WTgOvzwKx9AhFAw8ljfb7xdQqb6Q4tgFIf4xckWktIf7VQb5WlGlixDJBMAE8x0Mp+T5Rgx4/tv0XoJesUNop+61KpaikDEJ3CoPQx3pNYGKPAdaNzi4knh1M7qJm3ClgzQ6/6OnOzQw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1698453393; bh=iWi4w8geFcGM4AgkoIa1oeKNXjFTMzo/6kCsfL1qm6o=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=YP4XprtGHo1aFfGl5EB7U9uMfAqfTml+TlwXu59ohT51iwR+ZuD5BnR+JeUo3+38QTJiR1aDy284fQRQCW6Yhf2Bl95A/7UA0fR+tXsVZst/xp/gW7pemFKXGKLZm+vsSbKnJ41DOGPDhXK3YIIKUf2AjDXDDE/V0YAdVpIz1aZ0ufua0V07ioMTcMVVFkY6xIQRTbswUVat8MMHpSd/JqNr5E9gkBIDkB3kXMDrEguvF1U+zo9CTjHFcTXUbf7ARAXrMe1kRNLFfJSbTaf6wP4aLSHff9JU0EaVwF9GPzrC3UOKoDmJ1uFw94B9f62VFE6hBeD0DhHpZ86/sl5+Uw== X-YMail-OSG: 1GNxt88VM1njqgOhTZmXF9q996AYjSTcx8U9CF54nX_iGRHjiRN4wnXLde5cExd UEaACGNQ2Nf24rtKE..fvyEJtp3yS5vnB51q3y8xvZJAkWCGgfsR0tj2mpakA6dSUYNCwzgJc0Ff mlWcGf5qTivczFm31nT_QevGB6Ra0S2mzWk7hJjLFLq8Ro7Sxz9vPehy2ysEVkam5QoX8weygqzv reyufxxtsxBYffREcwKZbTXCijFFfNbE8u6cQQ4nv7cGzZfrJYVxbThbuIvSi5vRrs5CDYcx3h3l EANEe6kG.S5h6s784eD.vVGplZaht5KcL69NaVPCgygtmOo81V3hum2i0BCGZT7ph1gBS7B_q2qv tj2jY9mdtWmvbyvsQRzasryggZqC_1N9_jUqRoxGmgt6EWGWDzdHJMZw.l4xiD8p_B4Jd9CgE_vM ds1Z.et5pSly45McYRVVXXwcNn6wctiRbEC.9QfoR_us2qGEG2owAZu8wxx6JvzCGAc2TiUZweUW R4erpjXE7zmbsyWMeDYB3h8mRogzWnAApPWsG.9GGSPIylQgddrseXBeqTU0mFdvnWlXmfapV5O7 4RGmrL8_aw7kyBnn4ZtwVjifAmc3_zZvDx0H1_aCGBzL2LubBDYUOe7XMBI3TGW2Jj1z8in7XUVg s4H6cEF48Q7xnQ4vOxWguyZqq__shtEfeWTfVpYgT8J6gGa2jFuWts_1btjhkL.NDaizl_NI2Mnm y1Z21_FqyxlMyIviTCtqTmd1CpQQ8oqEBWcgnkvVeaSUy7sdGEY5TG5j2vlLyQPjgOUMrVQxI.ki 5TrKHuFJ6nne2QawyFMsFy8.5IlCqxMpemvLj_ZMVU X-Sonic-MF: X-Sonic-ID: 05a9f519-28e5-4980-b2d2-4f7051e76ebd Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic304.consmr.mail.ne1.yahoo.com with HTTP; Sat, 28 Oct 2023 00:36:33 +0000 Original-Received: by hermes--production-sg3-8696d769c6-p7cfj (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 9c3976a9c37a6f8ace1cd35af6da88ff; Sat, 28 Oct 2023 00:36:27 +0000 (UTC) In-Reply-To: (Ami Fischman's message of "Fri, 27 Oct 2023 10:37:13 -0700") X-Mailer: WebService/1.1.21890 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:273407 Archived-At: Ami Fischman writes: > Thanks for following up, all. > >> > The OP talked specifically about ratpoison. >> ratpoison doesn't send events to Emacs itself. > > This is incorrect. I only included the `xse` invocation to provide > readers of the bug who do not use ratpoison normally a way to > reproduce the issue. Ratpoison _does_ call XSendEvent directly, e.g. > at https://git.savannah.nongnu.org/cgit/ratpoison.git/tree/src/actions.c?h=v1.4.9#n1414 > >> It is easily replaced with "xdotool" or suchlike. > > For the record, xdotool (version 3.20160805.1) fails similarly to xse > and ratpoison when I try to use it like this: > xdotool key --window 0x36000d4 ctrl+a > (window ID of HEAD emacs with xinput2 results in a no-op, window ID of > emacs without xinput2 correctly receives a C-a event) > I'm curious if you have an example invocation you can share that does > result in a C-a being injected to an emacs build with XInput2 support. What happens when you type: xdotool key ctrl+a with Emacs selected?