From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alexander =?UTF-8?Q?Pr=C3=A4hauser?= Newsgroups: gmane.emacs.bugs Subject: bug#65068: 29.1; xkb-interception interaction causes problems with key combinations Date: Thu, 17 Aug 2023 04:37:16 +0200 Message-ID: <87y1iawfur.fsf@gmx.at> References: <87v8dv2ib3.fsf@gmx.at> <871qgdyted.fsf@yahoo.com> <87sf8kbesn.fsf@gmx.at> <87r0o3lqpi.fsf@yahoo.com> <87zg2rberr.fsf@gmx.at> <87ttszi205.fsf@yahoo.com> <87350jxeof.fsf@gmx.at> <874jkyiiel.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; format=flowed Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="837"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.10.5; emacs 28.2 Cc: Alexander =?UTF-8?Q?Pr=C3=A4hauser?= , 65068@debbugs.gnu.org To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Aug 17 04:42: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 1qWSxp-000AYv-Ta for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 17 Aug 2023 04:42:21 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qWSxY-0006Ob-K5; Wed, 16 Aug 2023 22:42:04 -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 1qWSxW-0006OR-Sg for bug-gnu-emacs@gnu.org; Wed, 16 Aug 2023 22:42:03 -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 1qWSxW-00074Q-Jr for bug-gnu-emacs@gnu.org; Wed, 16 Aug 2023 22:42:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qWSxW-0005hQ-6d for bug-gnu-emacs@gnu.org; Wed, 16 Aug 2023 22:42:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alexander =?UTF-8?Q?Pr=C3=A4hauser?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 17 Aug 2023 02:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65068 X-GNU-PR-Package: emacs Original-Received: via spool by 65068-submit@debbugs.gnu.org id=B65068.169224009021858 (code B ref 65068); Thu, 17 Aug 2023 02:42:02 +0000 Original-Received: (at 65068) by debbugs.gnu.org; 17 Aug 2023 02:41:30 +0000 Original-Received: from localhost ([127.0.0.1]:42434 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qWSwz-0005gU-U6 for submit@debbugs.gnu.org; Wed, 16 Aug 2023 22:41:30 -0400 Original-Received: from mout.gmx.net ([212.227.15.18]:56937) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qWSwx-0005gE-Qi for 65068@debbugs.gnu.org; Wed, 16 Aug 2023 22:41:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.at; s=s31663417; t=1692240079; x=1692844879; i=alexander.praehauser@gmx.at; bh=SPU8svjKLbQK6nz+hobgH195bbrgRm3Rg4WWhTAU9UU=; h=X-UI-Sender-Class:References:From:To:Cc:Subject:Date:In-reply-to; b=K8H6CFi9xxw1ulQutbyR4wyD6btpqzaADKgTCIho5lQi8A61xl3zz50ig+0wiOIdW0CkOOb a9/yWwNUXt+U8+dAnCPh/TzV0kMMDByp4+LQ1ofFfWRCTD3dJYrTzqkDTwRJgfJw4nG9DH2Wp 1bWvSHHGJz4ufwCbueIoB9Z1/6dBkbPhqM6rPH9+PsBGcT/KSEhRbqOAsHYJ5HuPHJtxyuntC KhvvuxqjuQ5SVdsqyk7PVa6Hu7T8d7yxoCEW9BIv0F8Et6ZKBoYG86/sNIgdEWAlZx8J9J9sb 8cyDqsozMrIxYaPcJUaZrKmdgQxaOf03prTAjvKmT1jYp4cJVbLQ== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from Archlaptop ([87.249.133.109]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MYvcA-1qJO3S3pmS-00UsYp; Thu, 17 Aug 2023 04:41:19 +0200 In-reply-to: <874jkyiiel.fsf@yahoo.com> X-Provags-ID: V03:K1:XBn4YJnpctAS+tvBOn97Lh9z1MgsJMX7aC74i7xqqs2+mGNcdGV Fn7Vb6AHhvaj0GvaIxn61LtQV0bw0dljJLrhRz4Hk+/Ly8//HJ1XqRYl73gvBY41fArBMx9 tOTWxhObvbm/HU4xPDKgdtbBBuQfeULsYKbtMK9rSNbvltg3uDvY6EFCRKa3B5yKm2duu1n UAPRq2njcfY5aCvK5NbgA== UI-OutboundReport: notjunk:1;M01:P0:Zz87DV5BnAM=;l8GML0yU0Jh822RN4JrlxlkY2zM Op5S2XrD/7rF8T8SpxvgReHOfpGCJFkRGzcZ3C8DaxR6Yt5tpxFtgIDA7GUs3SnkweuZGhec3 ODYqdnF4nCRbFwyZJ8jhS0R8qnbkJ5OVRKXsmA6V9mPDvq83mlfR1w5hnNak/ujDxJdieC+vr ldF17L8CljUlrTFr8dmX8rKNSuovkKhb4RY2w02OiTvdr6TGm3ZB8csatbVOzllhXpNXA2LRE n1d0KditurkmEUHawB5QvHfzeTmjrWxPNJYMH5nQON3XOwK8DYhQ06vH8Wk2/f9W8m7wQ+Qcb OAL1dFv7svhokPJ6cCTBl0FDX775uPWIsODi6U4BUdnqjI0Nhu7NlDLEjcDCY+nXC8gsEoAMH PVmDR7rd+gZw4QOEzqE8c51Kjso61sju0/hrW3RqN8VEihpbjMEmEKOjbJBhJAyuzzWTyG27t 5KTUlZynXEg1TYDAfz2G01nYFJ9YEN5R2eIiOVtw1mJD57ahc8r+tsxoC6QHMqlQUurU76Jma UPuKHgHUlCbIyrLtMcbOznLkuEDDxXbzT/Umz+0O/T+GlhCA5I76uLM/r54BOgLlduZBcBQsb X0HLFkfxoxFk6pAirSWz8Kavr06Bj1O9HoiY2KDy3vBu7RR8Yz3F9B53Z85WNdvhiKPX6C9mx 7xF8nYc7k+5HLIZEDqBI97TGghk53PCLuKJHECuHBpA1L8GqYAy9q+RqD9mnq7x8obcDYwx1x aRffVt2mkpPRBPzjQIRbbaCv3LmDAGrCm8BQeUyhein4iE2x/ASOOvDg/gYdqNfvz9DO3YTk 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:267625 Archived-At: How do I do that? I tried putting the code into a bash script and it says `diff: unrecognized option '--git'`. Po Lu [2023-08-17 Thu 09:09] wrote: > Thanks. Please instrument handle_one_xevent in xterm.c as > follows: > > diff --git a/src/xterm.c b/src/xterm.c > index 6a1642ff56e..a199bae9f16 100644 > --- a/src/xterm.c > +++ b/src/xterm.c > @@ -23886,6 +23886,9 @@ handle_one_xevent (struct x_display_info > *dpyinfo, > if (!XkbTranslateKeyCode (dpyinfo->xkb_desc, > keycode, > xkb_state, &mods_rtrn, > &keysym)) > goto XI_OTHER; > + > + fprintf (stderr, "keycode: %d, keysym: %d, > %u\n", keycode, > + (int) keysym, state); > } > else > { > > then tell me what is printed when you press Caps Lock (which > appears to > be directly translated to AC11 prior to it ever being registered > by the > X server), and also if the text changes if you press Caps Lock > in > conjunction with Ctrl.