From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: Physical keyboard events Date: Tue, 05 Nov 2024 17:03:28 +0800 Message-ID: <87ses6hx27.fsf@yahoo.com> References: <31bdc55d-8c13-4de0-9cef-bd6cc4fb033f@imayhem.com> <19ab52d0-88bd-4378-8fa8-8603e01233e3@imayhem.com> <871pzrl4sn.fsf@yahoo.com> <87o72vjk1f.fsf@yahoo.com> <86fro7uo6h.fsf@gnu.org> <87bjyvjdk2.fsf@yahoo.com> <867c9juetb.fsf@gnu.org> <87wmhiihzx.fsf@yahoo.com> <7c1b4258-447f-433c-939e-21df7f9eeec3@imayhem.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18145"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Cecilio Pardo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Nov 05 10:05:03 2024 Return-path: Envelope-to: ged-emacs-devel@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 1t8FUk-0004YR-OE for ged-emacs-devel@m.gmane-mx.org; Tue, 05 Nov 2024 10:05:02 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t8FTW-0000rV-LL; Tue, 05 Nov 2024 04:03:46 -0500 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 1t8FTT-0000r6-Il for emacs-devel@gnu.org; Tue, 05 Nov 2024 04:03:44 -0500 Original-Received: from sonic306-20.consmr.mail.ne1.yahoo.com ([66.163.189.82]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t8FTQ-00021g-OA for emacs-devel@gnu.org; Tue, 05 Nov 2024 04:03:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1730797418; bh=AfuAFu67wUb4CkOhvI6pyEINO208Z+sduiq7vQzhtds=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=gX2ZDSZMwGh3JN+Mx4GfSdfQl2TAI1aTcpokvirMs+Hu3oIKt23JSnqMIzb8XlI+Emy4v+FmQmHrC48UbzbTMo9VBDkJPQIYNejxd1Pv830h+ppx22nh5bStPTdjvG+oLbB9VDsN/jDOk7y2J7krpERgXAlcKV6XTmrvKpIVaLcxMpQg4lZuuSSOn5IKGVNBfQJRq2Hr70TLBBpGkiWNw9Lm6P5EKjK9qCSNtli5dhg/vIyTupBIR5SYO6/H4Rrlms9hF73msfiB79/IPp4UpLHy8hrVWPyRQeNSG/DS0kNYUiULUgo49lFpCJS4hHavQNVaE+gbW3o42T4CIAgiWg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1730797418; bh=xkrdWQ0X0B9vfFOXNTAGET/C77YfHZBz48JZ/cnMTaD=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=Vn745jzYMfVfH2U2nYj6hLMdBaU6DIFq95vaagjsMZoksYVNo9g9waSxaCGUxBAWTE6T7oTNg96L+r7Gw39cCiGI0wJUNQb/ke+Vc9rW4MI7UboEy81OPA5UeKfk8HgMqXTWtSelvxnrXq7DNKvO1wgjXjsFb+keHrjhu1dEZUSqcD9jY83PIOTuDsYNWCTKa0tS8M4gEDwTvykyQbxJ07z7kS9g/CiG9s2rAs4tqZsPC+xTlR3LxSRttqh4Y5eFfP7cjdXJDYF0Urs7lj3GTLXVKILqo5QWmGUtzohZlH1J9PCsH5LKVyAz0GlEj55mLXOfsBwd/VToB13e8xhz6Q== X-YMail-OSG: SA4XcsUVM1nhEmMhNCRmFIVRaApuV3BLSIWejzT1tbqZEJUj3LpN8osrfUHB3D5 eMxCxBUJ5jlwulb0_TAVPDnyE4BcFX2knQ3S7hFPWAs89L4z_g.TQ1BxEjOam.nMTGx9keTnzyF3 w5TJbHXRNyt0TPe7SzWC4dwnj11hfFGMOXBmkdYFbDDf7OdztT0aTseloaxWvWiFtf9AjwLRJpYZ bCSqyAcUf60cJhWWFmGQlbQ.nuliKOmbaB6UkP59D7PvBJ6y1UrWADBa_VSwZGlT2bF2fpA98CQp d4gZR5JDuiEqOaSs4.mqkSf3LsfnmCXh37MEVPwtRVrssu9_uWD7rfuAp4XIA2EEU9eiCEYovpdK Dv5TUU4xX_YNqfxAlr5YBn6e2CGG8JZzW5lWrlilxV.NGFoTfBIvWSQ4M8ozIN9C4Xhw0F6JHET4 W_hLxc5dzeqTelZRErr99tZGiovJHwyAMXZYm7jXeFsZ4NXHeKLDf9P8NSTkdxULfFbPNraCwZp0 dkpWOcnS5ra.1evVRtuvyd56aj84YyhvQvV65vko5VBJANSZsOeYSNFn1URryzBmeByaGvbuFsRl YXbTyqyTa67TOm6LEJ4XXNtNab0Leird_0Kgfpo9I2WJ5JwptLlAQau0XHZYcDh79Qp5.gzwZgt0 k4zUS8svHl5QRNqGL7HIVhpU32paa.7oub_a0A0io4A54Dddpij8bYWe27vxtjdzhXeGg7NUQWra Q1mpUntD4r0kWG9LsxW.hdpGKw_gTkb6.HldEgHS9iRL_beGLX8b66ZOiktPW4JesUjjNfI1FBip UBDepFCdHSnTyj_ZiylRG0eBUWpIkZXMaMWA4mU9Wt X-Sonic-MF: X-Sonic-ID: d95c3d46-925b-4ea5-97c5-cfeb0efbb9ef Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic306.consmr.mail.ne1.yahoo.com with HTTP; Tue, 5 Nov 2024 09:03:38 +0000 Original-Received: by hermes--production-sg3-5b7954b588-v48xf (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 1ad71e6e50a98f16f25afd71dc23ad1b; Tue, 05 Nov 2024 09:03:33 +0000 (UTC) In-Reply-To: <7c1b4258-447f-433c-939e-21df7f9eeec3@imayhem.com> (Cecilio Pardo's message of "Tue, 5 Nov 2024 08:15:27 +0100") X-Mailer: WebService/1.1.22806 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.189.82; envelope-from=luangruo@yahoo.com; helo=sonic306-20.consmr.mail.ne1.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:325132 Archived-At: Cecilio Pardo writes: > The idea is to report Shift_L, Shift_R, Alt_L, Meta_L not shift or > alt. Maybe those keys are mapped to modifiers, maybe not. And this is improper, as the keysym does not reflect the meaning of the key. If someone who configures XK_Caps_Lock as a Ctrl modifier presses this key which is by all accounts Ctrl, no "physical keyboard event" will be reported, and by the same token, Ctrl will be reported even if it is the Caps Lock latch that is activated if their functions are exchanged.