From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Physical keyboard events Date: Wed, 30 Oct 2024 17:21:12 +0200 Message-ID: <86v7x94nx3.fsf@gnu.org> References: <86r07z58or.fsf@gnu.org> <86froe6eq3.fsf@gnu.org> <864j4u6bug.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12667"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Max Nikulin Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Oct 30 16:22:08 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 1t6AWL-00034M-FC for ged-emacs-devel@m.gmane-mx.org; Wed, 30 Oct 2024 16:22:05 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t6AVa-0002qu-0x; Wed, 30 Oct 2024 11:21:18 -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 1t6AVY-0002qL-52 for emacs-devel@gnu.org; Wed, 30 Oct 2024 11:21:16 -0400 Original-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 1t6AVX-0001cm-R6; Wed, 30 Oct 2024 11:21:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=1CmBR3y5naWQxMu7aoUzfxpuFYiDl6+yhmIQqJzm7YQ=; b=O1dTQf/KCIt2Jw65HQaR fDoia0nC+cIzIxC66JZMwVsMAFWM15tzpeoqJ/eoPG4w7SDKmnEEBY1JH0e2GsQOFmUohnatJDazr C1HR8RhQ7kKuuPoIU5M6Lf7a2rIIQVlUivywyelxRKR4WZz93FI0VEfPR7wvypGXf5qOYphC1dIgN 2jSZWU3gzAMYaB7HCLMaIb9nlSVsJ+2etMbiMRCOOVi7ifTk73aVRs8hNW2zvnC+LBJQiA1HKUi3U ijQSBVwMJ2cmStnNPW5No1GEs/GL6qbOoEnsb5BqXx4O7bBPMOwkDW44ivIHYrMwHUTpxg1NJqplN gPaaeuGKno7qjg==; In-Reply-To: (message from Max Nikulin on Wed, 30 Oct 2024 09:56:30 +0700) 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:324941 Archived-At: > From: Max Nikulin > Date: Wed, 30 Oct 2024 09:56:30 +0700 > > On 30/10/2024 00:46, Eli Zaretskii wrote: > >> From: Yuri Khan Date: Tue, 29 Oct 2024 23:55:49 +0700 > >> When I’m switched to a layout where the ‘a’ key produces an ‘ф’ > >> character, or an ‘α’, or a ち, I’d still want Ctrl+this key to behave > >> as C-a. > > > > Yes, but you want that _only_ for keys with modifiers. Which is not > > what will happen. Some feature... > > Not *for key with modifiers*, but during lookup in keymaps. What Emacs key is NOT looked up in a keymap? They all are. So I don't understand what you are saying here. > There are > enough keybindings that include keys without modifiers. It is a > recurring confusion that appears in every discussion of related bugs and > in mailing list threads, e.g. > > "keyboard layout handling incompatible with rest of the OS" That's exactly why I said "with modifiers": that bug report is about C-s and the likes. By contrast, when the keyboard language is switched, you do NOT want the s/ы key to generate s instead of ы.