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: Wed, 09 Aug 2023 08:02:50 +0800 Message-ID: <871qgdyted.fsf@yahoo.com> References: <87v8dv2ib3.fsf@gmx.at> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23394"; 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 Wed Aug 09 02:04: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 1qTWgX-0005sE-4t for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 09 Aug 2023 02:04:21 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qTWgG-0005j6-9A; Tue, 08 Aug 2023 20:04: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 1qTWgE-0005ih-HO for bug-gnu-emacs@gnu.org; Tue, 08 Aug 2023 20:04:02 -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 1qTWgE-0002WK-8l for bug-gnu-emacs@gnu.org; Tue, 08 Aug 2023 20:04:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qTWgE-0003Ld-3f for bug-gnu-emacs@gnu.org; Tue, 08 Aug 2023 20:04: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: Wed, 09 Aug 2023 00:04: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.169153938912808 (code B ref 65068); Wed, 09 Aug 2023 00:04:02 +0000 Original-Received: (at 65068) by debbugs.gnu.org; 9 Aug 2023 00:03:09 +0000 Original-Received: from localhost ([127.0.0.1]:37894 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qTWfM-0003KW-MO for submit@debbugs.gnu.org; Tue, 08 Aug 2023 20:03:09 -0400 Original-Received: from sonic308-10.consmr.mail.ne1.yahoo.com ([66.163.187.33]:46653) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qTWfK-0003Jz-7g for 65068@debbugs.gnu.org; Tue, 08 Aug 2023 20:03:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1691539379; bh=VaqjCaUm2VM0KvGKMsExevPgDjFH8+EecmTcLUNrDlA=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=splgQOatc5VSalarlBInXHHeT4Uwh+XWe93PaKPDbTE0+jjEKwA6l5r+oQq8Wgfu8jK/xe8Ut4X1zGLqJv8/6skWxHYAykcpCIi6rWr91jONrrmk3DM/xPxSTITKCpY+mozrE+yRexMPYsPXLCdE3AnnkNOGGwIyC7NiuIot4Gt/kfz/ogDQ0mMXWLhXhB4rRJrBbaYX+vdUMzd6keCTFI8gKKZCNPuk+Pt9f6vjO84JIRMlyK64rlNi0Yc0ri9jrZab1OJTPx25P7+rHItGmB7eA+7JS877wLdGzhB+V/kFV0BavfzJOOW1bxkJM8ux8zBsaZtTWZR7JSkeSNs+cg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1691539379; bh=U3Pt+hPutIDpAroxnJDx7nlTRfSKc7kASHJfNk+d0a1=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=GDyzNssnEWF0Uf5pfvufDJxI651Z7spIbgcgqF9zM97ZAxes9Hr+y/YDWOTaqnZ3fq1EGgfCIVZv5nmGtAtZvCGsDByQH1DFxHlafJYTpTW4euiF4xbKf/AVNZORTT36iMg5Iyk6PCGMTNmj7he1P82jsPetA5Egrgrfujup7vz0UaVdwiw4mNHYpVZPbektQlCzpAxBnt17GNQAPpAyL508BQVBlxCvy6rxzzDR26ejxjSXon9DAQpu+hir1BB8KRq1U2S6rxufZIRfemGB6Z0GSj+uDadozk8hUmJo6wpWYAkq1//IuQPcOvxJrFKbda5e+1dmfmP5wOzY6qLrDA== X-YMail-OSG: LgBa1O8VM1k6LCQbdqw4qdevVe2NuhcL2VLFECjNWFis7E3BUKz4s4m23xLY.xx W8ns3MRwWHM2eFUWQUkDiYmCYOoe0_.L94IABU4tBUEw8GASnf5XDmf_Zujs9_F1B_NUhDg2Y3gF bccye9LhaoFxGzPJwIG0x0iBKBYL1uFfbl6_N68FJ7OGXsGi7aqybhGzejBW7ZzdWEUM0TvR90XQ zAdhEyn5RsZgH8xIYm8VjVNSIBfMw5aX_pif1E9NdRdZNUGjlZZUtF57IhkFmh312Gs_mvn1p5Rr RO30gntuuVyro5h8YrduPMNa8Y8MiElkQYvUZb5UmwOeLubdmCwYJDFEvm6ASKOTkWsRTJ_yVs6C s_A0.OMyf9MXBsM9xWLLuhL24vvR1lWv66YyhbUnNQ.IrllSib99geDSQKCfmWoy7K.XU9W6Vo2E XSch.d.gKKLZEChFLg9W0e7WBTtWoME_XHSpuZkt9EMPSeq12GqqaONIrukwpHhEWQI.RnQIgZWz 14ivk_Kp9hfVRZ7QUL5mOGSgcGG36bzmBPQ7ZpVIM57PB6goSnuRuOhiKaRPs2ja0OfbZzcVKvM2 BzgnL57woVusurioCzx55Y1rY1zc55SrNJxFdpSWSPC5VbibloR0zX4ubT34nV7s51KGQf7wfj2D MU.hpyiLXQdY.as1yNv7Ga9b1748ejnvI.Wwfl5PcBbO0rGzJtXAeBUBxW4XY.TYCroaS9fGWngM EtuOuLaaOdB4WIDXAdlCVhBzGrG.obHgdoePrxoqIqOzwLwRhLgGk85hcEkvQdaPxuXcouRvScE5 S8WTqt1ipB7gr57fO5KH5wx.IXAgJKd4Qq2u65bH5N X-Sonic-MF: X-Sonic-ID: 3ab0d9a8-185b-4be6-a4c8-3e63f6d6f733 Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic308.consmr.mail.ne1.yahoo.com with HTTP; Wed, 9 Aug 2023 00:02:59 +0000 Original-Received: by hermes--production-sg3-69654d8bd-hj7c9 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID e41bfc6f459d83630cac913efbff2087; Wed, 09 Aug 2023 00:02:55 +0000 (UTC) In-Reply-To: <87v8dv2ib3.fsf@gmx.at> ("Alexander =?UTF-8?Q?Pr=C3=A4hauser?="'s message of "Fri, 04 Aug 2023 12:12:39 +0200") X-Mailer: WebService/1.1.21695 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:266996 Archived-At: Alexander Pr=C3=A4hauser writes: > I'm using the interception-`dual-function-keys`-plugin > > https://gitlab.com/interception/linux/plugins/dual-function-keys > > for my keyboard layout. In version 28.2 it worked perfectly, but > now, if I try to use combinations using keys that have > a dual function, the combination breaks off sending the wrong > signals. For instance, my CapsLock key has a dual function, > sending a F15 (XF86Launch5) if tapped and acting as the > apostrophe-key (AC11 in xkb) if held, which is configured in xkb > to act as an xkb level 3 modifier. Which virtual modifier key have you assigned to the apostrophe key? > However, now when I try to use > CapsLock for a key combination using a level 3 symbol, for > instance if I hold Control, then press CapsLock, it seems to send > simply the apostrophe-key, so that I receive the > message "C-' is undefined" and the key sequence is broken off. If > I continue to hold both Control and CapsLock, it seems > to access level 3 normally though, so that I can still use > combinations consisting of C-[level 3 character]. If I only want > to access a level 3 symbol by holding CapsLock, it works normally, > it seems > only combinations are affected. While typing this message I > noticed an even weirder thing: my F-key is configured to > have "a" on level and "Right" on level 5, and Rightalt is > configured to act as a level 5 modifier if held, and if I > press the F key normally or while holding Rightalt this works, but > if I first hold Control, then Rightalt, then tap the > F-key, it seems to interpret the result as C-f, even though on no > xkb-level the F-key is configured to actually send f. > > The problem persists if I instead build the latest Emacs-version > (30.1) from Github Nit: Emacs is not developed on GitHub, but on Savannah: https://git.sv.gnu.org/cgit/emacs.git