From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Paul Pogonyshev Newsgroups: gmane.emacs.bugs Subject: bug#43830: keyboard layout handling incompatible with rest of the OS Date: Tue, 6 Oct 2020 17:34:34 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000acad4405b102561d" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29098"; mail-complaints-to="usenet@ciao.gmane.io" To: 43830@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 06 17:35:39 2020 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 1kPp07-0007Qc-1z for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 06 Oct 2020 17:35:39 +0200 Original-Received: from localhost ([::1]:49882 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kPp05-0004pc-UK for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 06 Oct 2020 11:35:37 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45878) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kPozW-0004BV-HU for bug-gnu-emacs@gnu.org; Tue, 06 Oct 2020 11:35:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42377) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kPozW-0006tl-8G for bug-gnu-emacs@gnu.org; Tue, 06 Oct 2020 11:35:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kPozW-0006HS-4y for bug-gnu-emacs@gnu.org; Tue, 06 Oct 2020 11:35:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Paul Pogonyshev Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 06 Oct 2020 15:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 43830 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.160199849824128 (code B ref -1); Tue, 06 Oct 2020 15:35:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 6 Oct 2020 15:34:58 +0000 Original-Received: from localhost ([127.0.0.1]:53923 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kPozS-0006H6-3g for submit@debbugs.gnu.org; Tue, 06 Oct 2020 11:34:58 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:37118) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kPozN-0006Gq-0d for submit@debbugs.gnu.org; Tue, 06 Oct 2020 11:34:57 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45818) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kPozK-00045R-Dt for bug-gnu-emacs@gnu.org; Tue, 06 Oct 2020 11:34:51 -0400 Original-Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]:45900) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kPozI-0006qn-Cl for bug-gnu-emacs@gnu.org; Tue, 06 Oct 2020 11:34:50 -0400 Original-Received: by mail-wr1-x42f.google.com with SMTP id e17so5286970wru.12 for ; Tue, 06 Oct 2020 08:34:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=ckmF1GQ28dPCMJ7Z1xv+Gy/eosQ1IWxDs5MqCfxQ868=; b=bZlpw/sn4XIr8lnElsy3QVdr0yKJv4fXZlgH2GkHeNWZ1O4D8jmjtKz9zZLHpCyYDv A5yxomc+6GfRvbLQBCHak4JyPpBxOpav8fnfw0bFMoTsF8lkaNh3/2v9tBt3AqOCf78o 46vwHakyG18p2GfKhY96mpvkBxS7/5hV1ayIyOWrNkgN9b4+a3v/6k9pENwJIP4v1l8Q hWsyFOmUqp346fz6yJyyAAs+Sy8dlmnpPACR2ds7gUPz7gPBFunYlzCck5dMJ866xZUV UY43Ob2yGGVgCzz1jrYY53zR6GPd7tfvc61lqlp8BAjBbYPWMuKQbC6vu8ZrRAYFAd3n Iqhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=ckmF1GQ28dPCMJ7Z1xv+Gy/eosQ1IWxDs5MqCfxQ868=; b=bQCLW1ze88Yv+YYS8wruGYcfoZJWllTUDmf/dN5NaNubYUNurz3QCxtGE7TIesiu/8 qPtjYa0mZ5VMqysqeCvt7VNRLaXOtcKYR0o0W4NFy/p1fqM6QL31do1OkmKqKytAliXw SPJzalxKE8OfsJFCILZ7mfbeLQygIO/8kUtwUKZGuOKMVehZMUmVK+a3Zp1Zp6wMLEwk V5Dys+n03pnH/PfhX5g3LasU3tY20tGmIitz4sk5eQr+hZ16uXMxfLtX1iRrXBMV387s dI3XdQg+w9JruKc1/XQOgmQeKZqVpQRXKOpmKFjJmpRd48A2tYRzLkEsXMZkVlgZzSEH Vdow== X-Gm-Message-State: AOAM530F2RF7yN/xRDRhD6uOIKDU9dXBUq6sx4H1y+GpM8FxGIr2olSK 64HSwlNszmTfTiv0gtiv36mXeB8mNTsB/7TMtDBcdxk= X-Google-Smtp-Source: ABdhPJwgmVHCXOJnsbTEnO8V3VVecTG1ELsTxANQo4e8+xiO/VlmumFmzk5T8f/qj/XWGxUPKX/0bR6OKuwFm3Id5O4= X-Received: by 2002:a5d:568a:: with SMTP id f10mr1071304wrv.30.1601998485760; Tue, 06 Oct 2020 08:34:45 -0700 (PDT) Received-SPF: pass client-ip=2a00:1450:4864:20::42f; envelope-from=pogonyshev@gmail.com; helo=mail-wr1-x42f.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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, HTML_MESSAGE=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: 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" Xref: news.gmane.io gmane.emacs.bugs:189911 Archived-At: --000000000000acad4405b102561d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I use English and Russian keyboard layouts. For every single application I don't need to care which layout is currently selected for shortcuts, e.g. Ctrl+S and Ctrl+=D0=AB do the same (S and =D0=AB are on the same physical k= ey). Of course, in Emacs it doesn't work this way: C-s triggers Isearch, but C-=D1= =8B "is undefined". I know that Emacs reinvents the wheel by providing built-in input methods (switchable by C-\), which does the remapping. However, it is very user-unfriendly at least for two reasons: - it is a different key compared to everything else I use; my normal "Shift+Shift" way of switching keyboard layouts is already part of mechanical memory and having to use something else is very inconvenient; - *all* of my configuration for XKB is of course gone if I try using Emacs input methods; e.g. special handling of the right Alt key (AltGr), which is very important to quickly type characters only available on English layout. Paul --000000000000acad4405b102561d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I use English and Russian keyboard layouts. For every sing= le application I don't need to care which layout is currently selected = for shortcuts, e.g. Ctrl+S and Ctrl+=D0=AB do the same (S and =D0=AB are on= the same physical key). Of course, in Emacs it doesn't work this way: = C-s triggers Isearch, but C-=D1=8B "is undefined".

=
I know that Emacs reinvents the wheel by providing built-in input meth= ods (switchable by C-\), which does the remapping. However, it is very user= -unfriendly at least for two reasons:

- it is a di= fferent key compared to everything else I use; my normal "Shift+Shift&= quot; way of switching keyboard layouts is already part of mechanical memor= y and having to use something else is very inconvenient;

- *all* of my configuration for XKB is of course gone if I try using= Emacs input methods; e.g. special handling of the right Alt key (AltGr), w= hich is very important to quickly type characters only available on English= layout.

Paul
--000000000000acad4405b102561d--