From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.devel Subject: Re: Physical keyboard events Date: Wed, 30 Oct 2024 13:28:20 +0700 Message-ID: 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: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26916"; 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 07:29:43 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 1t62D8-0006tb-6W for ged-emacs-devel@m.gmane-mx.org; Wed, 30 Oct 2024 07:29:42 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t62C6-0000kU-Nr; Wed, 30 Oct 2024 02:28:38 -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 1t62C3-0000kC-2H for emacs-devel@gnu.org; Wed, 30 Oct 2024 02:28:35 -0400 Original-Received: from mail-ua1-x92e.google.com ([2607:f8b0:4864:20::92e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t62C0-0004WJ-VC for emacs-devel@gnu.org; Wed, 30 Oct 2024 02:28:34 -0400 Original-Received: by mail-ua1-x92e.google.com with SMTP id a1e0cc1a2514c-84fc9005dccso1679245241.3 for ; Tue, 29 Oct 2024 23:28:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1730269712; x=1730874512; darn=gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=jcNtUoAZYhxAbbJto7xMSK1+V/UK555gWAD0Y3Nb7g0=; b=JyOSiTzbxYuzjAsAiD6mT+xUibWECIE8NO6keqZKeg54twDogluWltKy5GEg74ksZE Z9UW31cwM4Yt4KXVlYs4xBRRRVz25xnCS/v4pSGaUnwTJdJQ852FHIcupgLw/XcXiwyt 0f2gnrZmXawyF/Hh0TEGxrLSzwW9MA0F24oPCf4DNKndzToJhkodKSKKg/OzLWcvT0P9 ZkCRmWRt4wlsh3pRE2hrLRTzKWAoh1484zzFutPIYujyE/VMPv6kLHAvQu2hsciXZ3Q0 fhpjtkYKX0parUTzDxKMTCA70rb1XE4gUSZRDiLRc6AVA12N/U1nKxWcS21wU3+oNoJp jw5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730269712; x=1730874512; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=jcNtUoAZYhxAbbJto7xMSK1+V/UK555gWAD0Y3Nb7g0=; b=siOtmTnu1ENeUE6raNCzd9/2U802RBUbup+Wqf87Le/s7C5TqxP8EIaOVTsQGpN+Vd /+t36Vn3O0EJxSI0CoebZ9svfmQ6mOdjE+HC9jYC1tXwEnLiu2lBfNUQokFAitbuzjL5 xdnpTE8u1/tsfetoDuxnk6MABTjsFwtpSEM9scb++OAxLNG/midTmz7dyUPF15n9Y7Nd tI4X86GnsQ7Q/A859yFdPqKaD/uTR9C/V3LaaD4HTzyvVZLRZbli834yPfe+IOaB/WpI EKJDX2tXgMItSaW4ZeDBRQJjRYq8i+Ka7u6iM/3Un69fvs8n1elHLgKkMPUttDLEzO55 wM+Q== X-Gm-Message-State: AOJu0YwNLMl8kEGp6ZYjGrN4j615bV2ZMAEjFfYPY2Bpxfwn8ek3cW1k IOE9jSFiygk6y213m+dyD3VyO39p5GuO4d26ZumxywbgLCQh1rbpkY59n9bIsVFTvSuQjV6OXP1 /YpbGYTQc9RtNgquzfLOPVWmePWE= X-Google-Smtp-Source: AGHT+IEQuehbc0R3TyLotJ+jhnd1YAnx4rIN+RfPViSNLXZQHvovTqgAwKumck1ZRJbJgEkntVzMYyG5r9FjpN9SB/A= X-Received: by 2002:a05:6102:f0a:b0:4a4:841f:bb98 with SMTP id ada2fe7eead31-4a8cfd6bccbmr13883087137.24.1730269711620; Tue, 29 Oct 2024 23:28:31 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::92e; envelope-from=yurivkhan@gmail.com; helo=mail-ua1-x92e.google.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, 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:324938 Archived-At: On Wed, 30 Oct 2024 at 10:22, Max Nikulin wrote: > Not *for key with modifiers*, but during lookup in keymaps. There are > enough keybindings that include keys without modifiers. I=E2=80=99m going to posit the hypothesis that the *only* command for which= it makes sense to use the keysym of the current layout is =E2=80=98self-insert-command=E2=80=99. Everything else wants the keysym of =E2=80=9Cthe=E2=80=9D Latin-based layou= t if there is one and only one; the keycode if there is none; and some heuristic tiebreaker for the case where the user has more than one Latin-based layout configured.