From unknown Mon Aug 18 14:24:21 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#66765 <66765@debbugs.gnu.org> To: bug#66765 <66765@debbugs.gnu.org> Subject: Status: 30.0.50; Building emacs with xinput2 breaks receiving XSendEvent events Reply-To: bug#66765 <66765@debbugs.gnu.org> Date: Mon, 18 Aug 2025 21:24:21 +0000 retitle 66765 30.0.50; Building emacs with xinput2 breaks receiving XSendEv= ent events reassign 66765 emacs submitter 66765 Ami Fischman severity 66765 normal tag 66765 notabug wontfix thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 26 13:50:30 2023 Received: (at submit) by debbugs.gnu.org; 26 Oct 2023 17:50:30 +0000 Received: from localhost ([127.0.0.1]:34442 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qw4V4-0006w1-0M for submit@debbugs.gnu.org; Thu, 26 Oct 2023 13:50:30 -0400 Received: from lists.gnu.org ([2001:470:142::17]:52060) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qw4V1-0006vj-Sr for submit@debbugs.gnu.org; Thu, 26 Oct 2023 13:50:28 -0400 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 1qw4UR-0004Mo-00 for bug-gnu-emacs@gnu.org; Thu, 26 Oct 2023 13:49:51 -0400 Received: from mail-ed1-x52b.google.com ([2a00:1450:4864:20::52b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qw4UN-0005sE-FH for bug-gnu-emacs@gnu.org; Thu, 26 Oct 2023 13:49:50 -0400 Received: by mail-ed1-x52b.google.com with SMTP id 4fb4d7f45d1cf-53e855d7dacso1885222a12.0 for ; Thu, 26 Oct 2023 10:49:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fischman-org.20230601.gappssmtp.com; s=20230601; t=1698342582; x=1698947382; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=7ciKXBKWMjMJ/ujd4ZmRwfbJ1TYuc/9St1dWY1I+1G4=; b=DC7T3ml61JSWdrzmaOgcNgIvkWptWFYmE+c0HLQN5n2UB053qff0zgaqrF6F4E0zpK 7O/0OGRz6qHHl8qiLYMHQjpYXXVhxqsiuOOcMEpXDI5PkcL+wSJSZXWzRgCcphh3TCvf aU07Cu0GTZZFLvLUk8U6MFj08B0rC7MUkHfPcPjEHAIe96F1AMvUYDmoMYU7e9YzlKFY dxZwmojxXKAjSrc0RSqEGQfZldC27UU6HAs9m0dIC85Z4fjVeTsm0nkz0ywxT1n3kQne JpztwuG+cxqZBJGWEL2jRqsz7nTa7KYzWq14dULOSBj9eUE+obKfq/wg1jfw0BwdYgiT wvdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698342582; x=1698947382; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=7ciKXBKWMjMJ/ujd4ZmRwfbJ1TYuc/9St1dWY1I+1G4=; b=g+y3WGG4HutmVN0C3DJ/79q911xsSiX8yOw2OY2wZ/W6z4sT07WaiHi2kvaj6c23BV 4YV9SgeeV0Kd4yaLy2r0nxwUGzW1PzXmvLuBVpdz4AXkdyd1QzOAxLgfbCw/B+O02bjY UtaqhwyC6ATZE8fnfiLRMNNDzNnLSNlY22mNrAGYkjZQC5N3WYWiXj33OWz+Vq51noZ7 S0V7bF9dxRQQS81zSvhlA+k4YKJgamI0xuY/WidaqxwUUXVkk5mZCNmP+UBotVlnJIHq fQ8ptTXcXcGTlT9dhaNAUkDz0txY2NIdaC3KdKJXToi2VJ81us/812jRBrxp7ZSxNCtQ 2//w== X-Gm-Message-State: AOJu0YxvcL/wkE8REk/+Z0OkxEzhVLVMpvuEjNkgL+7QyICnOB22aoR5 uklpiX1lANSxuUChgCLGQKnXspMMHvXi0VQqyBKrEftP563L2phTs59aTA== X-Google-Smtp-Source: AGHT+IH6LwINVCfZmPpDy2jJ/DmY4az6sCmwFwv5SWVxG+RCq5GK8U4uAt/yGRs2kXGJKofY/XciIaEy3F41aPceQOU= X-Received: by 2002:aa7:c90f:0:b0:53e:34c5:fc14 with SMTP id b15-20020aa7c90f000000b0053e34c5fc14mr421800edt.23.1698342581719; Thu, 26 Oct 2023 10:49:41 -0700 (PDT) MIME-Version: 1.0 From: Ami Fischman Date: Thu, 26 Oct 2023 10:49:30 -0700 Message-ID: Subject: 30.0.50; Building emacs with xinput2 breaks receiving XSendEvent events To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::52b; envelope-from=ami@fischman.org; helo=mail-ed1-x52b.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) 1. Run: `emacs -Q` on an X11 display for a binary that's been built with (the default) `--with-xinput2` 2. From another program, trigger an XSendEvent targeting the above emacs' window sending a key event. Expected: 3. The sent key event is seen by emacs. Actual: 4. Emacs doesn't seem to receive the sent key event. Simplest way to execute step 2 above is: $ git clone http://github.com/epitron/xse.git $ cd xse && ./configure && xmkmf && make depend && make $ xwininfo (click the emacs window and note its reported "Window id" for the next command) $ ./xse -win -Debug 'l' When emacs is built with `--without-xinput2` the issue is gone, and sent events are received properly. Issue is not present in 27.1 or 28.1, but is present in 29.1 and HEAD. Confirmed with a git bisect that the issue showed up when xinput2 was enabled by default in https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=0105a4ddb8a58146f3fc71c265e57291c873af0b I stumbled across this issue when upgrading from 27.1 to 29.1 and noticing that ratpoison can no longer send its escape key (in my case, this is C-a) to emacs, even though it has no problems sending the same key to every other app on my system. In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.33, cairo version 1.16.0) of 2023-10-25 built on Repository revision: 70e25298f160ffec62e363056904b6238a87d4e0 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12101004 System Description: Ubuntu 22.04.3 LTS Configured using: 'configure --prefix= --enable-libsystemd --with-pop=yes --enable-locallisppath=/etc/emacs:/usr/local/share/emacs/29.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/29.1/site-lisp:/usr/share/emacs/site-lisp --with-sound=alsa --without-gconf --with-mailutils --with-cairo --with-x=yes --with-x-toolkit=gtk3 --with-toolkit-scroll-bars --with-imagemagick --with-json --with-tree-sitter --with-xwidgets 'CFLAGS=-g -O2 -fstack-protector-strong -w' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro'' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ IMAGEMAGICK JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER X11 XDBE XIM XINPUT2 XPM XWIDGETS GTK3 ZLIB Important settings: value of $LC_ALL: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t minibuffer-regexp-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message mailcap yank-media puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util text-property-search time-date subr-x mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd touch-screen tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads xwidget-internal dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo gtk x-toolkit xinput2 x multi-tty move-toolbar make-network-process emacs) Memory information: ((conses 16 37691 9512) (symbols 48 5216 0) (strings 32 13286 1532) (string-bytes 1 375218) (vectors 16 10300) (vector-slots 8 156562 17668) (floats 8 38 21) (intervals 56 259 0) (buffers 992 10)) From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 26 20:33:41 2023 Received: (at control) by debbugs.gnu.org; 27 Oct 2023 00:33:42 +0000 Received: from localhost ([127.0.0.1]:34737 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qwAnF-0003Zw-Hl for submit@debbugs.gnu.org; Thu, 26 Oct 2023 20:33:41 -0400 Received: from sonic316-21.consmr.mail.ne1.yahoo.com ([66.163.187.147]:43299) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qwAn7-0003ZI-Bf for control@debbugs.gnu.org; Thu, 26 Oct 2023 20:33:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1698366776; bh=KF38pC84RL4rL9cWCK9k0s9H9NYUmd6VkyQtiug76Yw=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=eN51YmjTBtRrsCzcvPOEE/KlSxvIC+XOJysv4ite15J8Un+p+yVf8YMP3pwGrg+gmLlv378CFccuCKHcimqCNnCcnRVlhySytS4oepIYYv9vvs+N/7xw8oaeWgP2o0r3VueukheSlQpX8UQIo+zAm7fDnRvL112HxQsK6w9lHZbXd1CE/uCoZyHKwgVzOL20c05u21UXq323V06KK0nmXwgWm0M2IYpO9wShZptptx0nKLM77JvR209gUC6wbl1opJj62Fq+niXpobkJsTPz0vjPQSIo6Pfd9lNpKsU9G0vi84XwYjvSTujCsnbH0YbhEdp8L0kgeV4a8XrUI/hXgA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1698366776; bh=olQHC+ct54WoXo43d3OqTJsRapOnpM2Ak83Lx3d2Cvm=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=ZuQzOfbZX0waROt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S9b3U8DpJHTH6g_fSMEP62_SxLYgCIQf.dwPCoQKkDFpthszw0y3LgErqn JKAO_q7xxpLOFYL58GIct2LShvaN00xDeWT8W0.PdPZOuOeQVBkdqT6S5NHgZuYTRk4LX5VLFhwo pBRAGd0nA6cLWfUsa03FcbASqFP1Q6owSM77Qn.nGFGOPGuiz3cHksP4V_gijjELe6rlvclIgxSc DRWwq9BquxjYmSw__YLkj4Fbgp2TGmJQMEd3nPpJfC.eYyXL_NDxUg4ViqMWSVui91Gc5p8mQZt0 JGPz_gN70nNH_csjdr.iJxN7fU_jRn6qcDmYNyJ.CgfFJvie0TpdxIi84zzrUpLoXFRha7LDhWoi ykaEQwZQN2x.kZ.MSc6XB2d6VkO91ij5mBpGx5JKSN2IoXDQ9j.VWbqN4kiZ_iC4c9tMPry4TqL. 9GgbxboP3Dj75tpGL2B_.3Dk.1hHksZF64z5zIZbpCzZFLKOH1iHZ4VTpwCAH9A4k X-Sonic-MF: X-Sonic-ID: dd5dd68e-3208-4b3d-9ad6-b1c5f03efd68 Received: from sonic.gate.mail.ne1.yahoo.com by sonic316.consmr.mail.ne1.yahoo.com with HTTP; Fri, 27 Oct 2023 00:32:56 +0000 Received: by hermes--production-sg3-8696d769c6-r64c6 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 5630b4d49a28a7cc72477bc948617d6d; Fri, 27 Oct 2023 00:32:50 +0000 (UTC) From: Po Lu To: Ami Fischman Subject: Re: bug#66765: 30.0.50; Building emacs with xinput2 breaks receiving XSendEvent events In-Reply-To: (Ami Fischman's message of "Thu, 26 Oct 2023 10:49:30 -0700") References: Date: Fri, 27 Oct 2023 08:32:44 +0800 Message-ID: <875y2szyz7.fsf@yahoo.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Mailer: WebService/1.1.21797 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 1835 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control Cc: 66765-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.5 (-) tags 66765 + notabug wontfix thanks Ami Fischman writes: > 1. Run: `emacs -Q` on an X11 display for a binary that's been built > with (the default) `--with-xinput2` > 2. From another program, trigger an XSendEvent targeting the above > emacs' window sending a key event. > Expected: > 3. The sent key event is seen by emacs. > Actual: > 4. Emacs doesn't seem to receive the sent key event. > > Simplest way to execute step 2 above is: > $ git clone http://github.com/epitron/xse.git > $ cd xse && ./configure && xmkmf && make depend && make > $ xwininfo > (click the emacs window and note its reported "Window id" for the next command) > $ ./xse -win -Debug 'l' > > When emacs is built with `--without-xinput2` the issue is gone, and > sent events are received properly. > Issue is not present in 27.1 or 28.1, but is present in 29.1 and HEAD. > Confirmed with a git bisect that the issue showed up when xinput2 was > enabled by default in > https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=0105a4ddb8a58146f3fc71c265e57291c873af0b > > I stumbled across this issue when upgrading from 27.1 to 29.1 and > noticing that ratpoison can no longer send its escape key (in my case, > this is C-a) to emacs, even though it has no problems sending the same > key to every other app on my system. When the X input extension is in use, both Emacs and the X server ignore core events. It's also impossible to send extension events, so this extension renders external event delivery effectively impossible. This isn't a bug we can fix, sorry; but the XTEST extension is capable of simulating real key presses, so I suggest whatever tools send Emacs events be rewritten to make use of that extension. The same issue can be observed in programs written to use version 3 or 4 of the GTK toolkit. From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 27 02:04:30 2023 Received: (at 66765) by debbugs.gnu.org; 27 Oct 2023 06:04:30 +0000 Received: from localhost ([127.0.0.1]:34942 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qwFxO-0003Qd-8t for submit@debbugs.gnu.org; Fri, 27 Oct 2023 02:04:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37862) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qwFxK-0003QN-GH for 66765@debbugs.gnu.org; Fri, 27 Oct 2023 02:04:29 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qwFwi-0007PH-Je; Fri, 27 Oct 2023 02:03:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=ow2FMac8W3YqVMDqkncxYn4ajp8HXHwRwINxPzD4CjA=; b=X9m9W6Al+yBk lvjrF7+ro3QeFqIXKGq6GMwk5d1BJ2m4oqQYqg3AfM4a18/FsXFQkNXwBZKnORt8H86aLBfS/HUU5 7DSbHkaOJ09N9J7dqiULrneKmzOUrb+TiwbZjNuuMDTLfcQRUUn/o3zySoDhPZvWv+D41hbQGrwEX 3R/ZWep0mV8yk62sFS7FEY8W8e8GWT7nelrrnZbPtLzlPyitaCIK/mS6Ymaw/3y/jnyoQbHWFfJMs kwgv/Uci71tbn03TfoUO2uxR1xtmo1skEo082a4YZaZrTLnA69rBbTRD/oZK6xYMn1va7PaPqHkEd JnfxQsmNnY6QiNLL+sSn8w==; Date: Fri, 27 Oct 2023 09:04:00 +0300 Message-Id: <835y2sfvov.fsf@gnu.org> From: Eli Zaretskii To: Po Lu In-Reply-To: <875y2szyz7.fsf@yahoo.com> (bug-gnu-emacs@gnu.org) Subject: Re: bug#66765: 30.0.50; Building emacs with xinput2 breaks receiving XSendEvent events References: <875y2szyz7.fsf@yahoo.com> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 66765 Cc: luangruo@yahoo.com, ami@fischman.org, 66765@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Cc: 66765-done@debbugs.gnu.org > Date: Fri, 27 Oct 2023 08:32:44 +0800 > From: Po Lu via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > When the X input extension is in use, both Emacs and the X server ignore > core events. It's also impossible to send extension events, so this > extension renders external event delivery effectively impossible. > > This isn't a bug we can fix, sorry; but the XTEST extension is capable > of simulating real key presses, so I suggest whatever tools send Emacs > events be rewritten to make use of that extension. > > The same issue can be observed in programs written to use version 3 or 4 > of the GTK toolkit. Can you please add something to etc/PROBLEMS about this issue? How widely is this mechanism used in the wild? If it is used widely enough, perhaps we should tell people not to build with XInput2 if they have vested interests in those methods? Also, maybe submitting bug reports to the respective developers would cause them to improve the situation? From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 27 03:04:12 2023 Received: (at 66765) by debbugs.gnu.org; 27 Oct 2023 07:04:12 +0000 Received: from localhost ([127.0.0.1]:34982 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qwGt9-00053O-Vt for submit@debbugs.gnu.org; Fri, 27 Oct 2023 03:04:12 -0400 Received: from sonic306-20.consmr.mail.ne1.yahoo.com ([66.163.189.82]:33960) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qwGt5-000537-Da for 66765@debbugs.gnu.org; Fri, 27 Oct 2023 03:04:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1698390210; bh=P43WZW1nWjvEBLIOAYAfnvhWkMkTVju+l34bjZsqvro=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=cdWi16t+M002IMYdUdTJuAygAIsYa88JoDCQhTkVyNwxhGe2mNiHeWU+HldOK8jm4vKSkGgYpvcuxqHZnt2cEddII9yTGQKDHIm8lq2qFnZKPidwTXGsvV89pHqFTuS9Bku6Pu9XrrWfjZQToBFl+9Bz77hHZShoJJsWU9WA3VfxYwuL/D76gLgrhIUvcY98XHTmbahG59jJplEoAWGQMaAfb3iLJ0cu1fI2V52cZnGc/Mh5dttVKOv3x6UR+baO9I8LK+1r/jgSDJAg9lmISWAbt4+R23B5WBu0hXIj4kdAhjmA9p54bXTxAofsS1zzOxiL4/RCf4AUWUefv7vLGA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1698390210; bh=sLErZKeBt9RQSgPwQpLcEfjRcaQliG6mEJYn1CrLsTc=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=Pja2KfB83bwuz3C74RaJ19tMOEa/wyfZgifQJxlS8QRty2bp2Iu58/D8iW6YibycgMNbZdu1oXWFxSexbz38cVf8tHcQwdvK9ErPxSZ0NyCBv0zu/0ox6AEHd8EA+OTldxzZLL1scDpmkw+I2BB0AnYX6ZPJWbNSaYKAK4tDEDGoux1zvX/jNgMAsdqTcec84dagdgk3Nz53YCMT5mx01VNmjv46LuuTZR39MFVR7lyeqUUEMjjUWkh0vujZOv2/Y+/GyVxc10XCX58y8uSOGE1rbeq8MrVpxKSPFRMFP87UWVvCTu+QbHxSVaArI7yaJZGgzOK0G1ZuD8i2ztOQxQ== X-YMail-OSG: lkmL5AkVM1neF7JCyeeVAfTWbsfe.oIvVPLuksXisfIKguY51ZrqiPE0koRTavx SCSQaqYrrdBD3N2XUSCibAJj8HStlbOOYi6BgJBHQ2ZZ2k7EssCiwpfXr6j2PPChwyHqC2dMJrc8 qL1YMTlLvtylm5qLeBQmZB2bOjwu0SC9u7444EjO_hRbK5fMoZxtTVvdcEQrt66AqyFOMLEc6JfQ SIxhPl3g_N4wFT6bydkqjUB8RboGXei0s.vyvXiW2ZYC4w6_rB_dxPnzzD2KRVhYL.XE0UsLufgu 1T.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o.com by sonic306.consmr.mail.ne1.yahoo.com with HTTP; Fri, 27 Oct 2023 07:03:30 +0000 Received: by hermes--production-sg3-8696d769c6-gk9xn (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 6b60ef3a9190fc75f97caa7577225945; Fri, 27 Oct 2023 07:03:26 +0000 (UTC) From: Po Lu To: Eli Zaretskii Subject: Re: bug#66765: 30.0.50; Building emacs with xinput2 breaks receiving XSendEvent events In-Reply-To: <835y2sfvov.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 27 Oct 2023 09:04:00 +0300") References: <875y2szyz7.fsf@yahoo.com> <835y2sfvov.fsf@gnu.org> Date: Fri, 27 Oct 2023 15:03:21 +0800 Message-ID: <87wmv8y2bq.fsf@yahoo.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Mailer: WebService/1.1.21797 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 1237 X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: 66765 Cc: ami@fischman.org, 66765@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.5 (-) Eli Zaretskii writes: > Can you please add something to etc/PROBLEMS about this issue? > > How widely is this mechanism used in the wild? If it is used widely > enough, perhaps we should tell people not to build with XInput2 if > they have vested interests in those methods? XSendEvent is seldom used to send input events these days, for this and many other reasons, and teaching X programming is outside the purview of PROBLEMS. Properly written programs either insert events into the server by means of the XTEST extension, or through OS interfaces that precede the X server in the input event delivery process. One such reason is that it's not possible for an X client to reliably establish the window an event should be delivered to without grabbing the server and reading every event mask in between the root window and the window beneath the mouse pointer, which is slow, requires a server grab, and tedious. > Also, maybe submitting bug reports to the respective developers would > cause them to improve the situation? Oh no, this is a studious design choice, and one I agree with; it's not possible to transform core events into input extension ones, because too much information is absent from the former. From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 27 03:31:23 2023 Received: (at 66765) by debbugs.gnu.org; 27 Oct 2023 07:31:23 +0000 Received: from localhost ([127.0.0.1]:35005 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qwHJT-0005oC-Bd for submit@debbugs.gnu.org; Fri, 27 Oct 2023 03:31:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55408) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qwHJO-0005nu-DK for 66765@debbugs.gnu.org; Fri, 27 Oct 2023 03:31:21 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qwHIn-0005ah-4v; Fri, 27 Oct 2023 03:30:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=bd4rnlwAPWIwTBK37HPy+7NliX3uebozWvQIbmbQUfY=; b=aECZU+ABZiev aA3GsEg4nWClXhVL7BncUl9N21z35GcnqiindsLJ9sA+fVm+zfiEfnwjzzoi0KWO8toPIFKk61bc3 eQYxbijXDtQCjsP85gcGw9Zen0hNC0rw9y1JWHt+D0q7saODCHSZAd1gADfVvBx2M6hobAOzTuhZv e7IYPFap0Xq8ixqF79XetltEXBSshjJRR4S5ISuM23yxjQuPKpoNASOnzr9DQOkAlL+XyNxGQC4C7 mT+G6YGf1B7mGYYHonz7XTUkIzc9fV+7IxzuNMjJFdSZLXsLlbGlxQ03x7eKcFAJ1fBHm6RYM2b2D bMLtVBmLUuamFAW/Ll3V+A==; Date: Fri, 27 Oct 2023 10:30:52 +0300 Message-Id: <83zg04ed3n.fsf@gnu.org> From: Eli Zaretskii To: Po Lu In-Reply-To: <87wmv8y2bq.fsf@yahoo.com> (message from Po Lu on Fri, 27 Oct 2023 15:03:21 +0800) Subject: Re: bug#66765: 30.0.50; Building emacs with xinput2 breaks receiving XSendEvent events References: <875y2szyz7.fsf@yahoo.com> <835y2sfvov.fsf@gnu.org> <87wmv8y2bq.fsf@yahoo.com> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 66765 Cc: ami@fischman.org, 66765@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Po Lu > Cc: 66765@debbugs.gnu.org, ami@fischman.org > Date: Fri, 27 Oct 2023 15:03:21 +0800 > > Eli Zaretskii writes: > > > Can you please add something to etc/PROBLEMS about this issue? > > > > How widely is this mechanism used in the wild? If it is used widely > > enough, perhaps we should tell people not to build with XInput2 if > > they have vested interests in those methods? > > XSendEvent is seldom used to send input events these days, for this and > many other reasons, and teaching X programming is outside the purview of > PROBLEMS. Properly written programs either insert events into the > server by means of the XTEST extension, or through OS interfaces that > precede the X server in the input event delivery process. The OP talked specifically about ratpoison. There may be other programs that use this method. I'm asking whether we know which ones do that, not whether it's correct or recommended. > > Also, maybe submitting bug reports to the respective developers would > > cause them to improve the situation? > > Oh no, this is a studious design choice, and one I agree with; it's not > possible to transform core events into input extension ones, because too > much information is absent from the former. You are saying that ratpoison cannot be changed to use mechanisms compatible with XInput2? If so, it would mean ratpoison will never be compatible with Emacs build with XInput2. I thought that maybe telling ratpoison developers about this will encourage them to make ratpoison compatible with XInput2. From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 27 03:39:02 2023 Received: (at 66765) by debbugs.gnu.org; 27 Oct 2023 07:39:02 +0000 Received: from localhost ([127.0.0.1]:35015 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qwHQr-00060M-O0 for submit@debbugs.gnu.org; Fri, 27 Oct 2023 03:39:02 -0400 Received: from sonic312-25.consmr.mail.ne1.yahoo.com ([66.163.191.206]:37306) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qwHQp-000600-Nz for 66765@debbugs.gnu.org; Fri, 27 Oct 2023 03:39:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1698392302; bh=nxmZI27c8N785bvzIu93JFU9sNHwbyvAgzH0eP35iDI=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=h9e7sGV4ILc0MKRABWz+eD1KExQ17M9TPMjtwsVFcIt3WBsAm48jnJxiV1MAgUyKYFBl0/eNdhsjFqH3Y/mOBZ12atyCwtEp+xLBOVevjbt+/EXQiM+cOp0TfEfVedTTqi8f8heFzInOpDo2QK8M3hdW/aEj7rfiFyUMKiRj0CDwrJo2rWWBjeFMzRjjfHC3pKewJ8KU84IYE2cn8J9JumMSXzlCZwObZCS75blqKadcIq3owwMSv2Mx8oH+LpfXM+xODiy5gAYQQWNAbyfCSO51g2otUfTY8LMe+dOSjslDl7NPjP4ZNLAOtxQPYLfoZio6FoGGcPbbM1CFuvZlow== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1698392302; bh=gTSHiHp3AKzzUa1/E4iNdRIJD1qO84gt8fFIJVNJQhX=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=VhEoZ7qeodbqpFarijyTxHuKytwyGWMzKTy0c5q6cEymcCznG7ClNwG1kFj0zpigL2PRmdRLKF1lHvavuLIzun4oHpY7f7CaEfeiG0OhUfE//ZQO2A+B47eclwbIIlrmmNAlRqOUEC59KhwCz6wXtFlq8jzRQF35OGplPfV1qDQYNU7VPfk+xL3Eo4JzF7Ndw2l5I7mT0fPj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SLNWVCiq2RZQQzSpeiVafkQnHhCcdOndIq7sUUEZrZxu2T0Kvkqixw BZbEFbj9DfjHkwg1M13BWT7LxqzBvQNSrknJpBobAPJXhDb26JXsBIbJA9yN7QCVAJc1TRIxHnYt _yLLyr8J1wWvZom4jgwujcM42veehMU1BMZHaATDUFuCn9RrSJafnk3nVY6eCJSmLMd1oAajupr9 6CQyCDQgceqT74Zqw6s0AACl9BvMKU4977Ufdo5Pyw8ZlFtofNQ6Db04tlxruFurkmD5uCaWuFC_ fRxant23S5UBC8nw4Ngvy5Rq5WKfxGFftLOwSbgGZn1qfFU05KcwFBTfT1ojzijys X-Sonic-MF: X-Sonic-ID: d3aa0cb9-f916-4f5d-81ac-fc416c3bbe3c Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.ne1.yahoo.com with HTTP; Fri, 27 Oct 2023 07:38:22 +0000 Received: by hermes--production-sg3-8696d769c6-r64c6 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID e183b5caac2646dd6f31281a053acf3f; Fri, 27 Oct 2023 07:38:16 +0000 (UTC) From: Po Lu To: Eli Zaretskii Subject: Re: bug#66765: 30.0.50; Building emacs with xinput2 breaks receiving XSendEvent events In-Reply-To: <83zg04ed3n.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 27 Oct 2023 10:30:52 +0300") References: <875y2szyz7.fsf@yahoo.com> <835y2sfvov.fsf@gnu.org> <87wmv8y2bq.fsf@yahoo.com> <83zg04ed3n.fsf@gnu.org> Date: Fri, 27 Oct 2023 15:38:11 +0800 Message-ID: <87sf5wy0po.fsf@yahoo.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Mailer: WebService/1.1.21797 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 455 X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: 66765 Cc: ami@fischman.org, 66765@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.5 (-) Eli Zaretskii writes: > The OP talked specifically about ratpoison. ratpoison doesn't send events to Emacs itself. The OP has configured it to call "xse", which is a command-line wrapper around the proscribed SendEvent request. It is easily replaced with "xdotool" or suchlike. > There may be other programs that use this method. I'm asking whether > we know which ones do that, not whether it's correct or recommended. Oh, I don't. From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 27 06:28:08 2023 Received: (at 66765) by debbugs.gnu.org; 27 Oct 2023 10:28:08 +0000 Received: from localhost ([127.0.0.1]:35148 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qwK4V-00051W-U0 for submit@debbugs.gnu.org; Fri, 27 Oct 2023 06:28:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44480) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qwK4T-00050v-Si for 66765@debbugs.gnu.org; Fri, 27 Oct 2023 06:28:06 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qwK3s-0007f8-Vf; Fri, 27 Oct 2023 06:27:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=l/oKU3zxR91WW1g1AdVgtQU4Nn0aByqwrkI/T9nfoME=; b=du2+fdAKxscC O1/ULjJ3KNZdq9yCfOlPOfZFMx9U/badvHXy85Jpkc1UqoaCV2c9qlg6NhfwK2lfNZObcbbZIYCi6 2EAeV9Rh9TWntQrkD+I24K1G4E8mRicSPBwmm6oZdf/H+wILvsfD7AYUpLJmxYA++fgOYPlaEr68R AkSXn+FW2OLvPyfvpr+r0rP+T16ubtXP+4Wy4h5s3eZ1wHb1BTciv7rtOvahsmgxcISuY+Z/n46RD pQ4S0fxaLKi0pr1hOMpfNaQH7gT3oRmpgUbrCBXSYoFfOXcCbeF1Ipj67Y2+b0R5BVZjYuRiS1XfL skaWXrfnkvIMOP7iePFBVw==; Date: Fri, 27 Oct 2023 13:27:40 +0300 Message-Id: <83wmv8e4wz.fsf@gnu.org> From: Eli Zaretskii To: Po Lu In-Reply-To: <87sf5wy0po.fsf@yahoo.com> (message from Po Lu on Fri, 27 Oct 2023 15:38:11 +0800) Subject: Re: bug#66765: 30.0.50; Building emacs with xinput2 breaks receiving XSendEvent events References: <875y2szyz7.fsf@yahoo.com> <835y2sfvov.fsf@gnu.org> <87wmv8y2bq.fsf@yahoo.com> <83zg04ed3n.fsf@gnu.org> <87sf5wy0po.fsf@yahoo.com> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 66765 Cc: ami@fischman.org, 66765@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Po Lu > Cc: 66765@debbugs.gnu.org, ami@fischman.org > Date: Fri, 27 Oct 2023 15:38:11 +0800 > > Eli Zaretskii writes: > > > The OP talked specifically about ratpoison. > > ratpoison doesn't send events to Emacs itself. The OP has configured it > to call "xse", which is a command-line wrapper around the proscribed > SendEvent request. It is easily replaced with "xdotool" or suchlike. I guess it would be a good idea to have this information in PROBLEMS, then. From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 27 06:35:45 2023 Received: (at 66765) by debbugs.gnu.org; 27 Oct 2023 10:35:45 +0000 Received: from localhost ([127.0.0.1]:35161 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qwKBt-0005HW-3j for submit@debbugs.gnu.org; Fri, 27 Oct 2023 06:35:45 -0400 Received: from sonic310-23.consmr.mail.ne1.yahoo.com ([66.163.186.204]:35623) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qwKBq-0005HF-8A for 66765@debbugs.gnu.org; Fri, 27 Oct 2023 06:35:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1698402905; bh=89bFcV6BDwGDcdv12GZPTGmDWlLjZvoxeYthH5FfLvI=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=oNSKWrpUb/hg7+ifRVbwv87PnN304yktaR2rg/1swYs4csjVC7xandS2orpou3goNYoA9Tw57QlRAWk5zTnMCNxInOy9ZCKJ14hOUIeYGj2mgOsa1rZkEZUmRNFdL1GWjEGb2PU8XiuOasf4Vk27UOaKGAFRtyDpkGDjR2EFJEoGJxjXG4leuEIxeMQkYtlO+ObH04QP1SsJYZ5FKTzLGhD2uQuGcltXoXv+HvD6hKAYolhyessjLxRW0BlXvCMSt6bfiT/qfzXhBpW35cKfPJCm6HakFa3zkGTj+IdfueBvtn3p1r8EtaKcXz/3ZUKQXFCqW1ZOHJJuBoxwNtolWw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1698402905; bh=+uO9Fs3Mnk/8sN+oW9GT94oNKDYr9xUnjmw0sCvPgDp=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=OAwoA2Vs6EEtdfFNTQOXvmo3/y8EwjGBJVURSgVMYbW0SDnKJzQSzcl9Vh5zckBxT7wclPI+chRCqmx5//tFXCRnBbPHtP1uTAzKi3Bfd4J+Q2JGKgWDljGixO95h6cuGXjoSlQoTRF+fanPylH1zaE+0F+suf2k+kLkuVtbaBfADD47CkXIYQuR6mKKdDybln2O9jVHgz/jwXj0684GkOQYOdI3StM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wwItgj1BHlTr_ZhDiiTPdfosYs Qtsx.Q04JZCmx7vnz2ND0LGsH.FXK95wkPOS_2LxYbViDUAJ0K6k8AmdyFTj7Btn6JUsRclRg.AA w2cjkPNmn7iOfMvEX.mVW4VtUA7zvyMEBkhl3EFR.ldf07dmlTQhlsyuG_EqShUf_BYvsTYe1F0s pXVkup.6WLIGn_bODNw8zUjKbcx0Itaq0oInHmfX8XSI4en6EgnmiIhAQVg5Gci9a8XsZ_UmQw_b ZEV2XIxPolxb.vVEL3wuYesxaO8Bz3nH4kNtR25SsVnQl4PgJ2xYc7zcronjpwQ34Sifh X-Sonic-MF: X-Sonic-ID: aa746739-add9-4ee8-aced-3d086e2dbc5f Received: from sonic.gate.mail.ne1.yahoo.com by sonic310.consmr.mail.ne1.yahoo.com with HTTP; Fri, 27 Oct 2023 10:35:05 +0000 Received: by hermes--production-sg3-8696d769c6-tpgxt (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 97dc6771bd6fcd6178aa4738497dd134; Fri, 27 Oct 2023 10:35:02 +0000 (UTC) From: Po Lu To: Eli Zaretskii Subject: Re: bug#66765: 30.0.50; Building emacs with xinput2 breaks receiving XSendEvent events In-Reply-To: <83wmv8e4wz.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 27 Oct 2023 13:27:40 +0300") References: <875y2szyz7.fsf@yahoo.com> <835y2sfvov.fsf@gnu.org> <87wmv8y2bq.fsf@yahoo.com> <83zg04ed3n.fsf@gnu.org> <87sf5wy0po.fsf@yahoo.com> <83wmv8e4wz.fsf@gnu.org> Date: Fri, 27 Oct 2023 18:34:56 +0800 Message-ID: <87jzr8xsj3.fsf@yahoo.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Mailer: WebService/1.1.21797 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 314 X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: 66765 Cc: ami@fischman.org, 66765@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.5 (-) Eli Zaretskii writes: > I guess it would be a good idea to have this information in PROBLEMS, > then. But that's tantamount to documenting the do's and don'ts of X development, since "xse" is nothing but a wrapper around an X request. It's a very slippery slope, though it's ultimately your call. From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 27 06:53:53 2023 Received: (at 66765) by debbugs.gnu.org; 27 Oct 2023 10:53:53 +0000 Received: from localhost ([127.0.0.1]:35215 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qwKTR-0005tW-0W for submit@debbugs.gnu.org; Fri, 27 Oct 2023 06:53:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53802) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qwKTP-0005tJ-7L for 66765@debbugs.gnu.org; Fri, 27 Oct 2023 06:53:52 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qwKSo-0007Wq-7Z; Fri, 27 Oct 2023 06:53:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=jisSFNMfp8gtKOpRLTAtwrTTg9/hpf+7akZKEF2iEk0=; b=C7YNNilf4fOv O7Xb1hW6m4AkVopjghEQgDygqPmoi/XuoOKtFTaQ2IW2UDEe8YOHl8jX2tnL62uczfBGcZUjc+b/R HWoyt9ZHvR430xd6c0fWplsN9eMTDbvuBR8HtkrVbxZGrXnpcaGP3u8jPdkos/oCgRxpjEAhtDUDo 496pkH27A/hVjZ6I8tPLM4eAdjFaYLdGqBeeAXUdzL2FjynPvnumsEOmP5NjQwgAm7ImI9DyGeE4N Wc4nJEW37JahYLFapkZoefpulC+hO86Rd1S41h5661EBPD3qjIGFJX66L3rWQ9LovkM2zZ6eLLlV4 MCCl9QpH2TomyKsl726Z2g==; Date: Fri, 27 Oct 2023 13:53:08 +0300 Message-Id: <83jzr8e3qj.fsf@gnu.org> From: Eli Zaretskii To: Po Lu In-Reply-To: <87jzr8xsj3.fsf@yahoo.com> (message from Po Lu on Fri, 27 Oct 2023 18:34:56 +0800) Subject: Re: bug#66765: 30.0.50; Building emacs with xinput2 breaks receiving XSendEvent events References: <875y2szyz7.fsf@yahoo.com> <835y2sfvov.fsf@gnu.org> <87wmv8y2bq.fsf@yahoo.com> <83zg04ed3n.fsf@gnu.org> <87sf5wy0po.fsf@yahoo.com> <83wmv8e4wz.fsf@gnu.org> <87jzr8xsj3.fsf@yahoo.com> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 66765 Cc: ami@fischman.org, 66765@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Po Lu > Cc: 66765@debbugs.gnu.org, ami@fischman.org > Date: Fri, 27 Oct 2023 18:34:56 +0800 > > Eli Zaretskii writes: > > > I guess it would be a good idea to have this information in PROBLEMS, > > then. > > But that's tantamount to documenting the do's and don'ts of X > development, since "xse" is nothing but a wrapper around an X request. > It's a very slippery slope, though it's ultimately your call. I'd rather we had this information in PROBLEMS, both for those who consult that file and for us, when we need to help others to cope with these issues. In general, PROBLEMS should mention any problems with Emacs that cannot be fixed in Emacs, preferably with workarounds, if we have them. From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 27 06:58:43 2023 Received: (at 66765) by debbugs.gnu.org; 27 Oct 2023 10:58:43 +0000 Received: from localhost ([127.0.0.1]:35233 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qwKY6-00062I-QK for submit@debbugs.gnu.org; Fri, 27 Oct 2023 06:58:43 -0400 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]:43839) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qwKY4-00061z-Ry for 66765@debbugs.gnu.org; Fri, 27 Oct 2023 06:58:41 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 79B04320091D; Fri, 27 Oct 2023 06:58:03 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Fri, 27 Oct 2023 06:58:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm2; t= 1698404282; x=1698490682; bh=pvZQsSCOXQtuR1XHLvPnrQmaVIxzoBoUob9 MpCpjH54=; b=f2spap5vErQ2MwlnsqSk8mNb7kdZ2tBOgRhYCAh7E2l0napSNyg 9fJh/WS4uA8aQPcufKrhEYnentgSWHD9Q2gL7TFLzY3IdNHRf8VSmrVo3gOMnTvD +Hza3CGD+7VoYrHvSG/03Z5uFdse9I070m21DlaeGIUSP0NoAN0KoJwHFMB1lqYT +NBI6VEEdnk7KSv0uYR2GjpZY9dl380mPd33DBlXOxWs3NegfSFyr7fabfike7Hr /P7UJi4qbQLksQ1YRwigUCADVzSrqiGRm/40z51V2ErEpNZdtrRIykRFZGhQk1JE cPYJ6nuSBvaFTJoNXaHs934Esxg/8ZAPy6Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1698404282; x=1698490682; bh=pvZQsSCOXQtuR1XHLvPnrQmaVIxzoBoUob9 MpCpjH54=; b=a/qseTmXyZ4BqWSO5qE7JQ/KQ5F8Kd4GRNkMLXHfVUHdxiz5jdt 3W51VBP9B4mj/Xio4ajU0/u1bxL/hqKcIoRisMWDO8p4z+e90T4RXU2zOBNc/PK7 jyM7kZXGgLvxKOejcifmncr/+IRO2I0iZx7NXYTwzwMX7nT1ytco1xUBwsROJQBG CKqSfoT4h48Chb0b3O1WsfVWdB09BWXxbalKkjLHxhg9oz4t+W+a3eoaW6K39tSS 3IFjFzG9b5JtRNPOEQ7LfqsGKWxdvkxXywVz5vlzESSGPgzqLIe2DiGV0OjrNqta b2L29Id+qoiaoy4Ets/T+aYTVVXlLM3kYJA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrleeggdefhecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefkffggfgfuvfevfhfhjggtgfesthejredttdefjeenucfhrhhomhepffhmihht rhihucfiuhhtohhvuceoughmihhtrhihsehguhhtohhvrdguvghvqeenucggtffrrghtth gvrhhnpeeigfetveehveevffehledtueekieeikeeufeegudfgfeeghfdulefgfeevledv veenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegumh hithhrhiesghhuthhovhdruggvvh X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 27 Oct 2023 06:58:00 -0400 (EDT) Message-ID: Date: Fri, 27 Oct 2023 13:57:58 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: bug#66765: 30.0.50; Building emacs with xinput2 breaks receiving XSendEvent events Content-Language: en-US To: Po Lu , Eli Zaretskii References: <875y2szyz7.fsf@yahoo.com> <835y2sfvov.fsf@gnu.org> <87wmv8y2bq.fsf@yahoo.com> <83zg04ed3n.fsf@gnu.org> <87sf5wy0po.fsf@yahoo.com> <83wmv8e4wz.fsf@gnu.org> <87jzr8xsj3.fsf@yahoo.com> From: Dmitry Gutov In-Reply-To: <87jzr8xsj3.fsf@yahoo.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -2.2 (--) X-Debbugs-Envelope-To: 66765 Cc: ami@fischman.org, 66765@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.2 (---) On 27/10/2023 13:34, Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors wrote: > Eli Zaretskii writes: > >> I guess it would be a good idea to have this information in PROBLEMS, >> then. > But that's tantamount to documenting the do's and don'ts of X > development, since "xse" is nothing but a wrapper around an X request. > It's a very slippery slope, though it's ultimately your call. We could say something to the effect of "to control Emacs externally, xse is not recommended, prefer xdotool". From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 27 13:38:08 2023 Received: (at 66765) by debbugs.gnu.org; 27 Oct 2023 17:38:08 +0000 Received: from localhost ([127.0.0.1]:37035 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qwQmb-00072O-F6 for submit@debbugs.gnu.org; Fri, 27 Oct 2023 13:38:08 -0400 Received: from mail-ed1-x534.google.com ([2a00:1450:4864:20::534]:58650) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qwQmZ-00071k-3g for 66765@debbugs.gnu.org; Fri, 27 Oct 2023 13:38:04 -0400 Received: by mail-ed1-x534.google.com with SMTP id 4fb4d7f45d1cf-53f9af41444so3959452a12.1 for <66765@debbugs.gnu.org>; Fri, 27 Oct 2023 10:37:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fischman-org.20230601.gappssmtp.com; s=20230601; t=1698428245; x=1699033045; darn=debbugs.gnu.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=N3bnWtEyjWOSg4k95msaNnzJceD5HaioUZUZ0HCW7kg=; b=srUrJJ3fqRaR2at4HEQa6e1sy3rezA8ClhxW1HCt0CnZuNMYb2BmIEQG0zV0ktxsSR zOJza1evzfkh2RvTSH+UZV+52eJv56orBiuHqWCVCkpfCsCwV/+2sex5RSLhnZrkNUGk rOnYxrvc6NUqvfoQaS/8VbQqb2harNnx6vxJQQy6u4Rpe8DTNxiJSpmgXax6ylL6Fy/X 8fXwQ5BSyEuKyl5TY9D4q3uee6u4qn6pWnwHsgQdIzm/UwGdU/9x0oDEZfr4JhihFX2y bzKg6dQNINKhX/yLdab1UHz5uijOB+rmWh8ftr1t1rvf4eKRIyLuWD8i81ZHJ/QGJV9Y /zbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698428245; x=1699033045; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=N3bnWtEyjWOSg4k95msaNnzJceD5HaioUZUZ0HCW7kg=; b=fSHXJ2IS9WAU93Tz4G6+2sHFOGDLMPyUdrIrn2WBvsAXVyFX0dwIjfnaLpD7iwSg1D eZWYHpZec3sF+is1nlVXEQt6ENrw+6J9RP25VyVLNvvQd7w8oJuTDkglvgojOBKEOGGN OVSqNF4NwM2epPeMzoZLs651d/amHcBJxlVbjRpL3WB0RoXZClGBpobFQX82HN9yCDuH 1piA2rfWXlE43lpLTk1DssPOTwFWiNq1rBcaIA+STT59NoNPaKBxmnRId5lQQHIst0zu 9aB/5fQoEqv2TCXRB42CwjxRU8Z6LxxD6sNxiTKvrGkJAFcGHKTL9CxwwYHrjAguVLao nIKQ== X-Gm-Message-State: AOJu0YxNkDOklEBqaSyBWQXFbCO68gdOWVYWj0606JWFK8B8Ppcay5oG tuFnHFbkD8b6yyzLf5j8fMEQ7eML1iikIqAgo8lGNb8DNGeCIXEYePT8dKuL X-Google-Smtp-Source: AGHT+IHlgm1KPr1fJ7qUrtqc2uOkeC1mDNOseWDE8CGMVVK6WkRnqQ66h4qidJvzR2r6OrchVOFYfG/87E16SSQ6Sxs= X-Received: by 2002:a05:6402:617:b0:53d:ff30:921 with SMTP id n23-20020a056402061700b0053dff300921mr2703045edv.18.1698428245224; Fri, 27 Oct 2023 10:37:25 -0700 (PDT) MIME-Version: 1.0 References: <875y2szyz7.fsf@yahoo.com> In-Reply-To: From: Ami Fischman Date: Fri, 27 Oct 2023 10:37:13 -0700 Message-ID: Subject: Re: bug#66765: closed (Re: bug#66765: 30.0.50; Building emacs with xinput2 breaks receiving XSendEvent events) To: 66765@debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 66765 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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. From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 27 20:37:18 2023 Received: (at 66765) by debbugs.gnu.org; 28 Oct 2023 00:37:18 +0000 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 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_aw7kyBnn4ZtwVj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x6OoqPP85VtBBhs8VaPTIv59A4r2IPGKPa aNTxiZsakvEy95fVmd3fLb.8gqb9ItkJcZFlEH35t3ZUBzS94VFqbB2X6z2E5KTKiNUN2scvQ0xX RI0Ghl2HtXD5z.7XGNVKg.gNfuQXP7uG.9Y5ly86iAVo2nogixhtIjqzx6HeQTgBqo70V_HpoRcZ GQm1wUHeNEI0s9JyJxpFCraCGYrjiFPvnjokBrRCDEf9zY_nDz9RXbTfyd7zMHXiFumBFQlF6lv0 TlvErdqzcYYdeCMAL3ljKC0hDXV1Nh_ZyYI2crbilB5ssQ1goNGZ8pjKksrZUafBDWfDCE_MbRjv EivBRgqwNhLPf3zhPqADeXJAUzZFTz8JAr1fe2w_MI_a4lMmNYWlcE_GuUcFo.DowZhIizFvpJAW JsePLtXeM6GP8uzwlvjnGwquyNSp1GVjtMkez3DaHplOjpf1axPQ2wY.JGqoPiWBnPYPZGezvm1I 2uiG8VusS5OAtIGHnHGAFWUOtiIC2G9c.IPfAvGwNdXllcB.Xf7TbIm8AwvwXsofYHf.jq8mFq9H PcFNdEufQQlL7HhsdEkVjDnkiCqKISeWfbkNEYAS.T9SB58yicLwSGZkCAzysPNuM.L5f X-Sonic-MF: X-Sonic-ID: 05a9f519-28e5-4980-b2d2-4f7051e76ebd 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 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) From: Po Lu To: Ami Fischman Subject: Re: bug#66765: closed (Re: bug#66765: 30.0.50; Building emacs with xinput2 breaks receiving XSendEvent events) In-Reply-To: (Ami Fischman's message of "Fri, 27 Oct 2023 10:37:13 -0700") References: <875y2szyz7.fsf@yahoo.com> Date: Sat, 28 Oct 2023 08:36:22 +0800 Message-ID: <87bkcjy455.fsf@yahoo.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Mailer: WebService/1.1.21890 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 1034 X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: 66765 Cc: 66765@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.5 (-) 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? From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 28 13:27:24 2023 Received: (at 66765) by debbugs.gnu.org; 28 Oct 2023 17:27:24 +0000 Received: from localhost ([127.0.0.1]:39495 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qwn5o-0003eK-7U for submit@debbugs.gnu.org; Sat, 28 Oct 2023 13:27:24 -0400 Received: from mail-ed1-x52e.google.com ([2a00:1450:4864:20::52e]:43300) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qwn5k-0003e5-Og for 66765@debbugs.gnu.org; Sat, 28 Oct 2023 13:27:22 -0400 Received: by mail-ed1-x52e.google.com with SMTP id 4fb4d7f45d1cf-51e28cac164so8714077a12.1 for <66765@debbugs.gnu.org>; Sat, 28 Oct 2023 10:26:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fischman-org.20230601.gappssmtp.com; s=20230601; t=1698514003; x=1699118803; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=nX6DxGdsksIriaAM8bd5UGqiY2Pp2jzht9tQGhmkZuQ=; b=YijxoTc/TdawJ7IBZTnc5eza7qtZMLzWTJrnOKyx8ZzbIHnW3OA1MTxBF8saqnGIUM Ah4JO8tHtOrrOclFTYBsT0XotbmGlFWNBxjSle0JMG3OCb1ddB85KmcAZzT+gSnyXp9g c6Ocvn9MU69sfS9brXSNA1CDZpNaqPOB6v1nruqgX3ljM0Hfu2O0AOXFMBRWrgo4cgyd NnskEViR6bLKAmJF05f8sdMzXCByUXXknG3Sh9oX5BRRqmk4FlTpSRKETrT0MhPQpksX jxAsshkaKQIxl1j+lHYAzkUkoKFwbublEuJknXVaDX0BG9VUgJcPIp/1lyqdFtcvB2ff y2AQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698514003; x=1699118803; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=nX6DxGdsksIriaAM8bd5UGqiY2Pp2jzht9tQGhmkZuQ=; b=SPlqzrHT+ZZWS1AOZQ+7ENCDNBeH0GGq0xKs/SPhpv612yGVlWeWkGZieyFa+o6mH5 wbwH5722bkCkuyw7ixgS4HW3uNYzTwjZKHQUMimrMm14MCIRXAsSha/NTEqGFR3gBXXc Z66KWYnZXP73MM7MatXSCXiWFAWS8oSUOAe4x36M+8xW/6AHu5cxTVqQo3QcrUA2vcgJ W++VhUPMZv2i/Uk4Q50lFzmyiY/3SBVg3MHqMzwqGw3MLJo96zEeZ+dIYqD29n6yeoC9 YMAPDPSEDh+UJjMmtqEL8rKgj1x3M42MWnQy7/w69dUJy/SxYCjiHeaoH0nzK2FMGFlH o2DQ== X-Gm-Message-State: AOJu0YyfTgFiiRL89VEB1RaJJHUj3b7YdsVtTNYMFsWUsqlpwXlj5Yls ioq+1Itkp/+acyPmUMS/iVWAqMgcDAcN5d7tV2im53yRoxyq1yH6Ark= X-Google-Smtp-Source: AGHT+IEYG3/CVzkBkAvXj5BviP5UIh3t6kLBVDlTHkmiBHlNcn+fPka1SS+wMFg4AStZAjeMa8s79LigbM+n/1p96zw= X-Received: by 2002:a17:907:c1d:b0:9b2:be2f:e31a with SMTP id ga29-20020a1709070c1d00b009b2be2fe31amr5580961ejc.31.1698514002261; Sat, 28 Oct 2023 10:26:42 -0700 (PDT) MIME-Version: 1.0 References: <875y2szyz7.fsf@yahoo.com> <87bkcjy455.fsf@yahoo.com> In-Reply-To: <87bkcjy455.fsf@yahoo.com> From: Ami Fischman Date: Sat, 28 Oct 2023 10:26:31 -0700 Message-ID: Subject: Re: bug#66765: closed (Re: bug#66765: 30.0.50; Building emacs with xinput2 breaks receiving XSendEvent events) To: Po Lu Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 66765 Cc: 66765@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > What happens when you type: > xdotool key ctrl+a > with Emacs selected? Ratpoison is triggered b/c ctrl+a is its hotkey, and it has higher precedence than "current window". If instead I do `xdotool key h` in an emacs *shell* buffer then the next command line has an `h` already present, suggesting that emacs did indeed receive that xdotool's event. From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 28 13:53:41 2023 Received: (at 66765) by debbugs.gnu.org; 28 Oct 2023 17:53:41 +0000 Received: from localhost ([127.0.0.1]:39514 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qwnVF-0004MF-DY for submit@debbugs.gnu.org; Sat, 28 Oct 2023 13:53:41 -0400 Received: from mail-ej1-x632.google.com ([2a00:1450:4864:20::632]:59901) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qwnVD-0004M2-65 for 66765@debbugs.gnu.org; Sat, 28 Oct 2023 13:53:40 -0400 Received: by mail-ej1-x632.google.com with SMTP id a640c23a62f3a-9be3b66f254so460073966b.3 for <66765@debbugs.gnu.org>; Sat, 28 Oct 2023 10:53:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fischman-org.20230601.gappssmtp.com; s=20230601; t=1698515581; x=1699120381; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=gC48/QpEV5vDF148TGYx9SY0pyt6PBxtiELY285s9tg=; b=DZdFwDfDHf/dF3+R2MzyPXgzV+O6pC3M0iDdEFqSqOUCu19hKgGOZmyFR20PbvTtwN D9gsoRGCHCeWWCgC/sR6X2R3VKnfxZt4CqFAs7LrL1bD/kd/jY+JnsrmRxEiumHMK0yA i843M810hoN+9RTvwUI+tW5QcuV0SmcaM3PmXsEoDeloe92+U0UknihQI9FMoRN0LiLT j7ospa9ymVxTEAA7XilNFAg5GlHpL66e1np9aH1MBw9fztq6U3B3KrqbzvG3PywYLgqN eE2TbA8pNzFburkKti6A06AjJ5sl9qAmeEyxV43rQzIGL4wK9QA6uNoF3Gxk5SDHF0gd U1ZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698515581; x=1699120381; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=gC48/QpEV5vDF148TGYx9SY0pyt6PBxtiELY285s9tg=; b=VtGodYxMyim0QSqYmBNnQqBmKbpwZn8+IDArcXLGOx24gmf7RkVdvD29rqIapB1xa9 C6+dphIynq5tWDvtWOksrrWFf7//3c76Xtgn0G9RBTb8MeaRjgpBCuQ91VelyO66eX8A /2ncYbxVgMEySmRc2i852GNYOOn/QUBNrJGezNZq/bckibGRKVc12lQglTw6ao3rdHzN D4RoOtE7nUesGbdn6+3GZNbowBMMPY/OgnssElHF6HHlA3Q5jGnVdj32J+1tF28F2uF/ yv0P5IRTCoZalGkdRkuvPfvDb82Ahe8l2JatzALJumI2C2EQ7R4DZKr8asIwYw0iB0Ef WZmg== X-Gm-Message-State: AOJu0YzQF2T5ZUOZJpeymSdEbrFpMRTm3Y+8WjW6WXgD/kDY1aXjbhUz n+f5IkR3jXK/N3LyKGRVjFppOBFFS27BUPllzqyKIL/SflYXM1fkr0fydw== X-Google-Smtp-Source: AGHT+IEFaohuy/lRVO/IaAR2XxrK2hv7YeHzQ/z9gSMAT8ZbNAPzANDA/JRRGC+5KLteBtOn3iE5Ue+QnGG9rqjGHy4= X-Received: by 2002:a17:906:d554:b0:9c1:edd8:43c2 with SMTP id cr20-20020a170906d55400b009c1edd843c2mr5355548ejc.42.1698515580728; Sat, 28 Oct 2023 10:53:00 -0700 (PDT) MIME-Version: 1.0 References: <875y2szyz7.fsf@yahoo.com> <87bkcjy455.fsf@yahoo.com> In-Reply-To: From: Ami Fischman Date: Sat, 28 Oct 2023 10:52:49 -0700 Message-ID: Subject: Re: bug#66765: closed (Re: bug#66765: 30.0.50; Building emacs with xinput2 breaks receiving XSendEvent events) To: Po Lu Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 66765 Cc: 66765@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > If instead I do `xdotool key h` in an emacs *shell* buffer then the > next command line has an `h` already present, suggesting that emacs > did indeed receive that xdotool's event. I was unable to get xdotool to send to emacs from outside of emacs, so went digging into xdotool, and apparently it's because it only uses XTEST when sending to the current window, otherwise it uses XSendEvent directly: https://github.com/jordansissel/xdotool/blob/7b63eb46631815fd4a10e1fd78a37213250d1193/xdo.c#L1557 Unless I misunderstood your earlier suggestion about how to use xdotool, it doesn't seem like a usable alternative for sending events to emacs from outside emacs (since emacs won't be the current window). FWIW I'm looking at patching ratpoison to use XTEST for my own use, though I doubt it'll be accepted upstream as development has mostly stopped there. Stepping back a bit from the specifics of Emacs and ratpoison, naively it seems unfortunate that X11 programs that have been working for decades should need to be modified to use similar-but-different APIs. Do you know whether the XInput2 people are aware of / at peace with this limitation, or is this something worth bringing up with them? From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 28 20:44:19 2023 Received: (at 66765) by debbugs.gnu.org; 29 Oct 2023 00:44:19 +0000 Received: from localhost ([127.0.0.1]:39937 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qwtud-0003i9-7F for submit@debbugs.gnu.org; Sat, 28 Oct 2023 20:44:19 -0400 Received: from sonic316-21.consmr.mail.ne1.yahoo.com ([66.163.187.147]:46533) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qwtuY-0003hr-2G for 66765@debbugs.gnu.org; Sat, 28 Oct 2023 20:44:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1698540214; bh=GvSJUy7M5/wxrrWapFzAllFabvLHq5nsDerkgoiQ/N4=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=jPK95TMtxSOQO2QbicTTToDg/n5qfNaen8Ck8IxRXGOx0NEh7eD+H5nwGnF9NmvzypadMJY9G2uFS5Dhb4dxAqejzJm1N73gsAsRhBsWSFeW80zXLbmmTZZu2Q1QjNBgF90HGok9t7ug68VLUyv+4D5YlyiuJXVbw/SgYo0an1df0OAeNX+xtTNgKyD9/jr0kJgnv9YEJaT0G5aCULm+qMIDar3a3hMe1JOIPnrMI0dDsxs2zXZtQu0cfaoZljhGcZnubFqIvI/Xkl415pOPLcRtzgKUhcD4oZNiV+RTeixyh0/g2Redv0Z9PeLHNRkX8NMJxJsu1+zpFFZyrCum0Q== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1698540214; bh=ghrJpPeDpow45WLsnnbBBCu/eAfiRA7TMbzKf8ErJyZ=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=ZIEz/GsnTyI12l83aIor4JXFAUw3Gqy8SovwTHrnR3X2ISTa91HD4oxbZHQaxill4e3CMTxSa1+2/MwzJH6u4OaI1ADDMhscdMDHpVJTP7C8T4kVKryo4zk5xW/1k13SeDMCcwG9NGfIzm2gYxqH6DCiaObMg/Z6cPL4+vCYJ6FVqBLdS/FSFIGsxltWAN1q5IHV5owAKMCAK1muW8V/wXOL50q4VlBbIbTDckbkSBqTfkTBrnCob5gJtest9glWPTx1X7JqOxIgEBbHkD/YhsAJVXXOXZvpVojJdWGyi+o942nBFwgLVLhXA5XeF05XACeX+te464OTDFOxbQ6Y+w== X-YMail-OSG: t2XM.E0VM1krU20cxMXtqTzL3PhIUPq3XHv2h1mo7l7WbzBB2EfAVvrPNWKgAwt 1RfFbt0WtjvMlhAmP.699CvZGg9LOxiIXmyuysb2zHn58aIR.psPHAfDCERj5B2rhsUAxluraPe0 2qkZIJSBp64HPIdSLgWF7bTqvkejnlHJOdMTcjxero_zmoOYQVt2TkJ_8871mJcavfUOEzmmIcnH rtX3tk92cFj4yK_wFIvjL7sOVKKBI3KsitLPP2kxM80xUG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1.yahoo.com with HTTP; Sun, 29 Oct 2023 00:43:34 +0000 Received: by hermes--production-sg3-8696d769c6-cdtmc (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID cf109d892346db00067536cb92ad6430; Sun, 29 Oct 2023 00:43:30 +0000 (UTC) From: Po Lu To: Ami Fischman Subject: Re: bug#66765: closed (Re: bug#66765: 30.0.50; Building emacs with xinput2 breaks receiving XSendEvent events) In-Reply-To: (Ami Fischman's message of "Sat, 28 Oct 2023 10:52:49 -0700") References: <875y2szyz7.fsf@yahoo.com> <87bkcjy455.fsf@yahoo.com> Date: Sun, 29 Oct 2023 08:43:07 +0800 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Mailer: WebService/1.1.21890 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 556 X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: 66765 Cc: 66765@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.5 (-) Ami Fischman writes: > Stepping back a bit from the specifics of Emacs and ratpoison, naively > it seems unfortunate that X11 programs that have been working for > decades should need to be modified to use similar-but-different APIs. > Do you know whether the XInput2 people are aware of / at peace with > this limitation, or is this something worth bringing up with them? It's an immemorial and largely intentional design decision. Core events lack too much information for their transformation into extension events to be possible. From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 04 04:29:32 2023 Received: (at 66765) by debbugs.gnu.org; 4 Nov 2023 08:29:32 +0000 Received: from localhost ([127.0.0.1]:60498 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qzC28-0007eq-Ex for submit@debbugs.gnu.org; Sat, 04 Nov 2023 04:29:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52088) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qzC26-0007ec-Sb for 66765@debbugs.gnu.org; Sat, 04 Nov 2023 04:29:31 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qzC1R-0004ov-9u; Sat, 04 Nov 2023 04:28:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=16aAffqY7+ZgHN+SxSGax8VT9WgfqOIqBVvC9G0eFdk=; b=K9fzcQX21R0w IZmpUXlKmbAgp2CKhtWamOrrw5eHYKU5pzQy0Isk+H20zIDWpmG6cakiMnKywV5wdsWooUtBLfhrj bcNB7ZJG6L1UA6McmxFTnkXFvKbNOYeZK+6MPrced2m0qlb+ByDEmXrN2MAih0InFu8Okf/o7+eK/ pavwgOePrdc4Yr/1w4Hzqsj2e+NaGQGXJo5gSnvkY8jfx+EMOv0XBvphfinC8z23pxkkdJFnGbrQ6 4CPIFIl5YGsRNqeIIz2fIfkgy4VvmVrK8LsZTHYWFybp/IYtToPXwv2nrBO5g/O2PH2N6choGFKQL WhmxFobZy+9KOPRxow0rxw==; Date: Sat, 04 Nov 2023 10:28:44 +0200 Message-Id: <83edh56hxf.fsf@gnu.org> From: Eli Zaretskii To: Eli Zaretskii In-Reply-To: <835y2sfvov.fsf@gnu.org> (message from Eli Zaretskii on Fri, 27 Oct 2023 09:04:00 +0300) Subject: Re: bug#66765: 30.0.50; Building emacs with xinput2 breaks receiving XSendEvent events References: <875y2szyz7.fsf@yahoo.com> <835y2sfvov.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 66765 Cc: luangruo@yahoo.com, ami@fischman.org, 66765@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Cc: luangruo@yahoo.com, ami@fischman.org, 66765@debbugs.gnu.org > Date: Fri, 27 Oct 2023 09:04:00 +0300 > From: Eli Zaretskii > > > Cc: 66765-done@debbugs.gnu.org > > Date: Fri, 27 Oct 2023 08:32:44 +0800 > > From: Po Lu via "Bug reports for GNU Emacs, > > the Swiss army knife of text editors" > > > > When the X input extension is in use, both Emacs and the X server ignore > > core events. It's also impossible to send extension events, so this > > extension renders external event delivery effectively impossible. > > > > This isn't a bug we can fix, sorry; but the XTEST extension is capable > > of simulating real key presses, so I suggest whatever tools send Emacs > > events be rewritten to make use of that extension. > > > > The same issue can be observed in programs written to use version 3 or 4 > > of the GTK toolkit. > > Can you please add something to etc/PROBLEMS about this issue? Ping! I'd really love to have something in v29.2's PROBLEMS about this. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 04 06:26:39 2023 Received: (at 66765) by debbugs.gnu.org; 4 Nov 2023 10:26:39 +0000 Received: from localhost ([127.0.0.1]:32932 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qzDrT-0002co-31 for submit@debbugs.gnu.org; Sat, 04 Nov 2023 06:26:39 -0400 Received: from sonic305-20.consmr.mail.ne1.yahoo.com ([66.163.185.146]:45091) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qzDrQ-0002cZ-4c for 66765@debbugs.gnu.org; Sat, 04 Nov 2023 06:26:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1699093554; bh=/6rKeJfaSkbeH94U8ZTuHx/lmFDnZ3ReIAz2QPyBMA8=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=DzRjijD1rX1z5/l9oswieTWk3OPSSLsHcrHfx/+wYhAF5IfXrIvwFEiVcABmFtQLxJJA6FKVLMGbOtPdWWEJUGZueXhEIBDWsxWH3+Wf8P/yRId8Nv8szu3rJhNOehx+Wd4fT6RgFie4rB30dVlodJ2Hlr4u/3a7xIaX11PEdHT/2OG0m7e9i4/jL6ZQXCrRadNmi0irLEM6hVP6NUO+FXVWvuXN/sUhT0tJGKqkXplQz41M6ExuHZsf8ad1S/ZpsPBAWBRCkIxUZ/zU+KBJVoNPo98MNykG/FACZW9+AnppWLt3HpCNn1XQhqCa0JLY7EKb5HaIVafCj2tf0/MD1A== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1699093554; bh=oi6Xe1kIXizWk8BTENlsrro+yttMfQQYFbDOB8C4MFC=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=N0BjRR/WTxg4bSXkwfHChQ/ExqCD0GQ+DSEogwk6b7rzBk7wXH87VuWFeuVhvybQidaQgCP7KHK1zsJUtaX/qt0GZVh9hNyOWn75Z7f2rv99jK1G+ku2R133aQCEY9Fxp8ff5Xr0zyYXrNArzr1AITlRJvYQFqayjJ5MzRDAOXWh1OkpULenXz583SKql94zuApR5m3pZKk7h86or4YXAj2yESef96du+/tySvD+VXFltlQTMepNLejt8wmu6OdEcwJrbPVdkY61JcUOO82GThJttihKwfdSP86oyunzQBsO2MT7qhDNjuLDtz20i6qfPrOBDgZVahwXIj3X6dkSPA== X-YMail-OSG: YHJbYZAVM1mLJ81DDrCJEZT95O7XUSTJuP9Y34FS_NKos4qLRrzKnEAFxHxqAfT i6zA2FEcV707IJNsFllctZBU8LFp9JbH3A5f.dbUjS_fy.6Tr2xNoX6V6q7OSVf5LoACR5U8NRCc QWUePmouXwtn2x21QeIRhc8rexTlypYq8lfCKl2adHKVPUb7bEEZemF2_5YBFzzLxX53itQ11o4w uypZL.k6GLGPrcijdHNWenfQT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ic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.ne1.yahoo.com with HTTP; Sat, 4 Nov 2023 10:25:54 +0000 Received: by hermes--production-sg3-8696d769c6-z26jv (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID b5e7799f7bcda59c2b2708d76d027f69; Sat, 04 Nov 2023 10:25:50 +0000 (UTC) From: Po Lu To: Eli Zaretskii Subject: Re: bug#66765: 30.0.50; Building emacs with xinput2 breaks receiving XSendEvent events In-Reply-To: <83edh56hxf.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 04 Nov 2023 10:28:44 +0200") References: <875y2szyz7.fsf@yahoo.com> <835y2sfvov.fsf@gnu.org> <83edh56hxf.fsf@gnu.org> Date: Sat, 04 Nov 2023 18:25:45 +0800 Message-ID: <87r0l5vmqe.fsf@yahoo.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Mailer: WebService/1.1.21890 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 1622 X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: 66765 Cc: ami@fischman.org, 66765@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.5 (-) Eli Zaretskii writes: >> Cc: luangruo@yahoo.com, ami@fischman.org, 66765@debbugs.gnu.org >> Date: Fri, 27 Oct 2023 09:04:00 +0300 >> From: Eli Zaretskii >> >> > Cc: 66765-done@debbugs.gnu.org >> > Date: Fri, 27 Oct 2023 08:32:44 +0800 >> > From: Po Lu via "Bug reports for GNU Emacs, >> > the Swiss army knife of text editors" >> > >> > When the X input extension is in use, both Emacs and the X server ignore >> > core events. It's also impossible to send extension events, so this >> > extension renders external event delivery effectively impossible. >> > >> > This isn't a bug we can fix, sorry; but the XTEST extension is capable >> > of simulating real key presses, so I suggest whatever tools send Emacs >> > events be rewritten to make use of that extension. >> > >> > The same issue can be observed in programs written to use version 3 or 4 >> > of the GTK toolkit. >> >> Can you please add something to etc/PROBLEMS about this issue? > > Ping! I'd really love to have something in v29.2's PROBLEMS about > this. > > Thanks. Would you please install this under the heading "General X problems"? TIA. *** Programs which use XSendEvent cannot send input events to Emacs. Emacs built to use the X Input Extension cannot receive core input events sent through the SendEvent server request, since these events intercepted by the X server when sent to input extension clients. For such programs to function again, Emacs must be run on an X server where the input extension is disabled, or alternatively configured with the "--without-xinput2" option. From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 04 07:05:59 2023 Received: (at 66765-done) by debbugs.gnu.org; 4 Nov 2023 11:05:59 +0000 Received: from localhost ([127.0.0.1]:32987 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qzETX-0003mV-7V for submit@debbugs.gnu.org; Sat, 04 Nov 2023 07:05:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52812) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qzETU-0003m9-IH for 66765-done@debbugs.gnu.org; Sat, 04 Nov 2023 07:05:57 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qzESo-0000T7-Oi; Sat, 04 Nov 2023 07:05:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=iYUAdHFmCUCv2VburTmof9Y0bPrpOMVVw2EoRqh3Wdc=; b=GeCGXiXXhgqI vOk/qQ6Iu5Ba6ccGzcmvSqLGj1TkAHfeYzgXlK8mhkcgIFcK6yBx1g+pT+ECh41ONl3u/BBXVWWDG USwFCIBKtzximrYO4iRFNl3kou7f1xfwjyIWzLT8gGsHrvWLGhBE8QIPvhWHsSytmQpoQEHgb72OE tMpjRuip695L0RvqCW95P2/arKHLWy5l8jYtrZRD62uD3BoQew/oaYwFa7BPnqnybbk3oao4Jtmb2 v9c3bSEMY/OcuZbFO/ctEAYJ2mNCjYCadodBmQ2CRhA7tlUY+yrGB3TXUk973IViTkg/kDYRsAGlU eKpa7/dX5H7X11z45DYJ/g==; Date: Sat, 04 Nov 2023 13:04:59 +0200 Message-Id: <83wmux4w4k.fsf@gnu.org> From: Eli Zaretskii To: Po Lu In-Reply-To: <87r0l5vmqe.fsf@yahoo.com> (message from Po Lu on Sat, 04 Nov 2023 18:25:45 +0800) Subject: Re: bug#66765: 30.0.50; Building emacs with xinput2 breaks receiving XSendEvent events References: <875y2szyz7.fsf@yahoo.com> <835y2sfvov.fsf@gnu.org> <83edh56hxf.fsf@gnu.org> <87r0l5vmqe.fsf@yahoo.com> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 66765-done Cc: 66765-done@debbugs.gnu.org, ami@fischman.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Po Lu > Cc: ami@fischman.org, 66765@debbugs.gnu.org > Date: Sat, 04 Nov 2023 18:25:45 +0800 > > Eli Zaretskii writes: > > > Ping! I'd really love to have something in v29.2's PROBLEMS about > > this. > > > > Thanks. > > Would you please install this under the heading "General X problems"? > TIA. > > *** Programs which use XSendEvent cannot send input events to Emacs. > > Emacs built to use the X Input Extension cannot receive core input > events sent through the SendEvent server request, since these events > intercepted by the X server when sent to input extension clients. > > For such programs to function again, Emacs must be run on an X server > where the input extension is disabled, or alternatively configured with > the "--without-xinput2" option. Thanks, done, and closing the bug. From unknown Mon Aug 18 14:24:21 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 02 Dec 2023 12:24:09 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator