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#65068: 29.1; xkb-interception interaction causes problems with key combinations Date: Thu, 17 Aug 2023 09:09:38 +0800 Message-ID: <874jkyiiel.fsf@yahoo.com> 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> 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="5479"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 65068@debbugs.gnu.org To: Alexander =?UTF-8?Q?Pr=C3=A4hauser?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Aug 17 03:10: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 1qWRWo-0001Ez-5f for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 17 Aug 2023 03:10:22 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qWRWc-0000Wo-4T; Wed, 16 Aug 2023 21:10:10 -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 1qWRWV-0000WW-2T for bug-gnu-emacs@gnu.org; Wed, 16 Aug 2023 21:10: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 1qWRWU-00057w-Kq for bug-gnu-emacs@gnu.org; Wed, 16 Aug 2023 21:10:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qWRWU-0000k3-30 for bug-gnu-emacs@gnu.org; Wed, 16 Aug 2023 21:10: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: Thu, 17 Aug 2023 01:10: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.16922345952834 (code B ref 65068); Thu, 17 Aug 2023 01:10:02 +0000 Original-Received: (at 65068) by debbugs.gnu.org; 17 Aug 2023 01:09:55 +0000 Original-Received: from localhost ([127.0.0.1]:42367 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qWRWN-0000jd-Au for submit@debbugs.gnu.org; Wed, 16 Aug 2023 21:09:55 -0400 Original-Received: from sonic305-22.consmr.mail.ne1.yahoo.com ([66.163.185.148]:37825) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qWRWK-0000jN-P1 for 65068@debbugs.gnu.org; Wed, 16 Aug 2023 21:09:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1692234586; bh=7iC2sPQjn4SAuN71EfW5vUwphuYxy3s3UhuZP69XaKU=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=Dv7QwaQ0hRfmMLq69RdNqcrNrPE7Hil67Kjgqcp7a1x/0CrpCH1ZPtZ6bpaB+Ev+ALCcKv8iJf29T9t49nii6q8mB/tcQH+fiauaD3yIIpDe4+trAL8OaWr55cIDGD0BrmM1DAI7K4GHW7376mzONW8nBMKX353SEGrwUZuZ9G1ojvbiiajfSbVgzQarFnMmB9FvUthJJTF5Vf0q3w4fxE37WFesSyHENwCZ0VSZ9xLS9dPElOTgZIL61vVjC/sp/q7twDtGPjPTLrFh5HhaX4f3JgsjE8rfWI5+Qb9f0ojaT2ZFCtbHyKZUpXLouODxKWu8ygUjHp5SW0yB/SHpHw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1692234586; bh=Y2hV2BuALhB4Y8MF6SIHCQAjRYKC1Rqh9gNnXv9Q/cT=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=pBL+ZkMeRD5NEK0zJCPRfBqG6nZpioOnss4/xy6BHylt1Cn38t+BPeIHlhV2FfuZjzLmPP+Cf97Vz1oBRgINBBmjySlAHc0hKDmeN08sbooBUIr7pQ5DfUtaibdtm+ZFmBq0H0UhJzVJX85oY2tt7OYnxrpUohAZvVtweBhgXWyQdceZmEPMKDEUm3OA4IY94MdQMmrS2cyVyFZstDQpXRB/jcZbTqEJaJdhVC4/LZ35nvtrBwkliqvDFCyNoPnONMF/MOnaD0U1aeViewqBDofpLh3bJx4rpZAmFX7dLmRdXEMIJ8R1jiJymwWGZdlLWEOhxTTKqFOKm41TMRWkLg== X-YMail-OSG: am_QLZAVM1lS7ZmMHU1.7Xghqi7yg94p4PwkPKezOHpqk3JjVc53GligoGQd.Yr tEOJdxw90JjQnaOkW_7vlROSlaCi4wfKjnXbinUZ53OETm.daZZ_AgubSfkewQ5tWFDqCeJuOPqq d0xo6VjMQr2H8WThDbB.av9wmjsi2GKfYEQP0M4lkyD5LsCzS29rtWLbB8R7IWRiuCUmXqLiI61u XhH4EwcTc7anyvse2wshpSVacAC1_SEsguV7.MZdXx767Rqzi.hbh.QOnl_sxNkm3428CfVxMsLM 1LVzsIZGszS_w3xHHrjWhfbLPQgo.xpkrQrwaa79seUt_JOT4u2_lM1PyGHCbXmT0mdyqvZZQ_pK 7da3e65UBNcclBfvbQNPAxMt5qgn7X.RD4goUxlDuWb7GFz4KoHggaIDmqpVGKqZac5KVfR661gc rOI2K1H8MEjAX0eW62RI7p0LFGf5ij_54ZPczMupbiWUtlfQqBxO8jdPy26XL2bW3z8IV39jdxE6 dgyTLnKxdpWyFS98m2iGuQks5YYEF7qi1fLmai42SRms0Le3Cye1wWl2vCcKGxD.O6w4UIWS2Dv1 aCNCHMXv77FAmm93cq5e0eyRmYSJgd6sZt.lsaKwt_f2lzdODpIYtr.TkleLoHIWQIJTTLpRquWh xwDz4lJ0b3TqCLQ7v9ESBC5prNcde9nehAJ0uG7_HerziuttDTRFdwhVU8HSfLiw7h4BYFEjxvFK nyU5UtsHfEA.1wTQWHjVO4yK7pPt97wPtoUdt16q4MMz2NQqjVfu8cq9R9.pnBjjKGjHR3L51ztK n73ultudf63rkJ4tylProsWzJ.G_5s0och06yjoBEa X-Sonic-MF: X-Sonic-ID: af3421f0-3067-468a-bd13-9f6d6684147b Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.ne1.yahoo.com with HTTP; Thu, 17 Aug 2023 01:09:46 +0000 Original-Received: by hermes--production-sg3-69654d8bd-752gm (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID eafdf389cea5d13efcdd5dd115b0d015; Thu, 17 Aug 2023 01:09:43 +0000 (UTC) In-Reply-To: <87350jxeof.fsf@gmx.at> ("Alexander =?UTF-8?Q?Pr=C3=A4hauser?="'s message of "Wed, 16 Aug 2023 16:04:36 +0200") X-Mailer: WebService/1.1.21732 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:267622 Archived-At: 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.