From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: pillule Newsgroups: gmane.emacs.help Subject: Re: Modifier Keys and the Archaic Meta Key Date: Sun, 08 Nov 2020 22:15:08 +0000 Message-ID: <87ft5jts0j.fsf@host.localdomain> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37566"; mail-complaints-to="usenet@ciao.gmane.io" To: Help Gnu Emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Nov 08 23:16:34 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 1kbszC-0009gM-0U for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 08 Nov 2020 23:16:34 +0100 Original-Received: from localhost ([::1]:52468 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kbszA-0005BU-W2 for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 08 Nov 2020 17:16:33 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37688) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kbsyX-0005BJ-DQ for help-gnu-emacs@gnu.org; Sun, 08 Nov 2020 17:15:53 -0500 Original-Received: from mx1.riseup.net ([198.252.153.129]:50932) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kbsyR-0001rn-A5 for help-gnu-emacs@gnu.org; Sun, 08 Nov 2020 17:15:52 -0500 Original-Received: from bell.riseup.net (bell-pn.riseup.net [10.0.1.178]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4CTpNS1mBgzDsXR for ; Sun, 8 Nov 2020 14:15:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1604873736; bh=6EX9PmosG6xbaHwoZNnBAjmPvGvbwjp6XCP/KL1q0mM=; h=References:From:To:Subject:In-reply-to:Date:From; b=ovM6axVgQX/DzYUlodnZe880OZsynN7DtFLjC2/GzAHYDUxJeee7t4bDmbjXtQ9BB GmGJc9/S8uMqzLe8LZ46g8HPh9KcQ+wZjCsEy2UcJL0NNXXMOxTOJ6RtXjkFkE34bC HUjj5sLKkqw6mMcIFQnCdOIl/fdTcAk4IO6B4kDs= X-Riseup-User-ID: 3788DF8551E245622E5C47EB2F968FEBE14F28DABD62C289179019909995DEE2 Original-Received: from [127.0.0.1] (localhost [127.0.0.1]) by bell.riseup.net (Postfix) with ESMTPSA id 4CTpNQ5DhgzJn1m for ; Sun, 8 Nov 2020 14:15:32 -0800 (PST) In-reply-to: Received-SPF: pass client-ip=198.252.153.129; envelope-from=pillule@riseup.net; helo=mx1.riseup.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/08 17:15:38 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -26 X-Spam_score: -2.7 X-Spam_bar: -- X-Spam_report: (-2.7 / 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, HTML_MESSAGE=0.001, HTML_OBFUSCATE_10_20=0.093, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Content-Filtered-By: Mailman/MimeDel 2.1.23 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:125107 Archived-At: I spent myself some time in the xkb configurations files. Alt and Meta are two different ~keysyms~ so we can attribute them a different Modifier. How Emacs interpret theses two specifically seems configurable inside the modifier map if not inside Emacs due to this confusion between old terminals and now (I read someone have already done it but don't remember the post. sorry). There is 8 slots for modifiers. More for Virtual Modifiers (but haven't played with theses yet and so I don't know if we can use them as a way to extend the numbers of modifiers). Control Shift Caps_Lock occupy the three first ones (I must yet try to use a Shift lock, and to attribute something else to the Caps_Lock slot...) The five others let users do some customisations but generally there is already : Alt / Meta on the same row Super Num_Lock ISO_Level3_Shift (aka Alt_gr) for europeans symbols eventually ISO_Level5_Shift for even more layers of symbols. Personally I cheat by putting the level5 on Num_Lock and so free place for hyper. But that's not all, there also indeed the group's modifiers and the controls keys such as Overlay1_Enable which can be used to dramatically increase the number of viables combinaisons. 1. There are multiples possibilities to define a keysym on a key ( 8 layers or even more, 4 groups, 1 overlay ) 2. We can Set/Latch/Lock/Redirect _multiple_ modifiers and/or a key at the same time 3. We can basically choose to define, let's say, Control_R+E to C-H-M-A-S-s- if it is our pleasure. XKB is somehow flexible. I think thenumber of possibles and viables combinaisons is already far beyond the mortals needs.