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.help Subject: Re: N-key rollover keyboards Date: Wed, 5 Aug 2020 01:47:41 +0700 Message-ID: References: <20200803221147.GA108728@scrozzle> 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="8286"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs , Alan Davis To: Dmitry Alexandrov Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Aug 04 20:48:26 2020 Return-path: Envelope-to: geh-help-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 1k31z8-00023u-QL for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 04 Aug 2020 20:48:26 +0200 Original-Received: from localhost ([::1]:58696 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k31z7-0002kZ-Qx for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 04 Aug 2020 14:48:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59884) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k31ye-0002k8-EQ for help-gnu-emacs@gnu.org; Tue, 04 Aug 2020 14:47:56 -0400 Original-Received: from mail-vs1-xe33.google.com ([2607:f8b0:4864:20::e33]:35478) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k31yc-0002A1-Oi for help-gnu-emacs@gnu.org; Tue, 04 Aug 2020 14:47:56 -0400 Original-Received: by mail-vs1-xe33.google.com with SMTP id 125so7464142vsg.2 for ; Tue, 04 Aug 2020 11:47:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=w095ch7xEvSenBO5RvwmE7lMiZXepyubDh1ALPFKqMw=; b=MS7dEDMKvaj89ZGrC+0Fb84ZLvUs9Qc+8fQfgso18Jw35Xbji5AoE0+CGOddhhbnPg DVHA29eR+mqNe9qfhDIc+8vGNpNPHRQ3kiRz1OgnoPWNOdFAnb4W4RitgJ7EBF+pYEd9 nODBxEBGLTSw0IqZlcXukvT4W2q+0tDzY4Lb28snE9SRXUueljEG7dslQEr7bWa2GV0H 7SkbrkXBXjyLtE6wI+ZYbfk9NnteuldUp1ZPRxLwtCEaWMmdq7Zv5RN1j/Ks8azi/Ze+ s/5d/a70IQvRaEIMNS6U2S8XtG20DaLiaBBeLbZRE1719S6Kb9lkwnGOFl2wfxjnIjHu QDMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=w095ch7xEvSenBO5RvwmE7lMiZXepyubDh1ALPFKqMw=; b=Ccik/xxS/XBhtaTLFByIBcuCk8tfj6G9gz1ifWtkHXs51aOpX3pLyypo2WIgrAKwSv qUXl6k+nWF+ORt8GwQdwzG50UmnbT6wQmEtnD/f9/LlF2OI2zfr52OXYb7KPbaDcfVXD fD8mlw5QXidhBoNISB1lo/IXcZfUJACA6T559NZE4wgrmmYfV/w1T2moxJqBNpS0LZNM iw5553Tq80nKMTm6ZAKyZCCkUJYlirfT/mKHMrSxSK4QX+T4uct79zJUgMd8xVWKABIM pNMGPT952VadZ5xEwfTFJBtM9VWGD00fCpWLBTlioR1KrOwX8pQmtWboj/9v4Ea/BvZe TKHw== X-Gm-Message-State: AOAM530H2V9NsWGWfluizwDEN6eUsAQg0JYidAeaweSPQSIOzLu9rXtv JSc+MahI7S/o0D0Gj4CCVfY0yrb+HRNXsnhq7tg= X-Google-Smtp-Source: ABdhPJxF1pRdMIZ3xe65J2ru19blXkLlkoXqSW1gdgLXS/5cfFc5Bpu52nzVpzMuhVbcXjvGWiSsaarC1nrJkFMiw1A= X-Received: by 2002:a67:e81:: with SMTP id 123mr16549485vso.75.1596566873527; Tue, 04 Aug 2020 11:47:53 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::e33; envelope-from=yurivkhan@gmail.com; helo=mail-vs1-xe33.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, 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: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:123639 Archived-At: On Wed, 5 Aug 2020 at 00:46, Dmitry Alexandrov wrote: > > Yuri Khan wrote: > > Of course there is an interaction. You have a stack of software, all li= stening for keystrokes. They will have a chance to handle them in roughly t= his order: > > > > 1. your kernel (typically handles Ctrl+Alt+F1..F10 to switch TTYs) > > Is that really the case? > > =E2=80=94 M-! xkbcomp $DISPLAY - > =E2=80=94 remove XF86Switch_VT_1 from key > =E2=80=94 M-| xkbcomp - $DISPLAY > =E2=86=92 and Ctrl-Alt-F1 does not work anymore for me. Good catch. Things in parentheses are just examples though; my point is that there is a hierarchy of layers and each higher layer may choose to intercept and handle certain keystrokes before they ever reach the lower ones. When debugging an =E2=80=9CI press a key and do not g= et the expected effect=E2=80=9D issue, it helps to understand exactly on which layer you expect an effect, and which layers above might have a say.