From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Christopher Dimech Newsgroups: gmane.emacs.help Subject: Re: Modifier Keys and the Archaic Meta Key Date: Sun, 25 Oct 2020 14:46:14 +0100 Message-ID: References: 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="35237"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Help Gnu Emacs To: Jean Louis Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Oct 25 14:49:10 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 1kWgOU-00090R-CG for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 25 Oct 2020 14:49:10 +0100 Original-Received: from localhost ([::1]:48590 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kWgOT-0007Zw-7X for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 25 Oct 2020 09:49:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45160) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kWgMG-0007Zi-AB for help-gnu-emacs@gnu.org; Sun, 25 Oct 2020 09:46:52 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]:40115) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kWgMB-0005ir-Rm for help-gnu-emacs@gnu.org; Sun, 25 Oct 2020 09:46:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1603633575; bh=xjcdBaQt+sJEo5Bv5EKYf65qGx8cL8XkUcTgNtF1BmQ=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=a2dggcZ4galKUhzD0SMBMgQeJ63F/7pWJyKUdyrXLLkTPxlxZEdmY52nQkYsDnhpV 3VWNijz6taBnmloI45nBSBQeQms2LAHdYzLSGYgnuo1Gi7Ne11Wrmq6ehm/fEnEeLZ Dm19zaV65orFzjnljlu2Yl7O0CUgFzWl8sg+LemA= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [213.165.168.94] ([213.165.168.94]) by web-mail.gmx.net (3c-app-mailcom-bs14.server.lan [172.19.170.182]) (via HTTP); Sun, 25 Oct 2020 14:46:14 +0100 Importance: normal Sensitivity: Normal In-Reply-To: X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:53bm5Ge8cYxZUD2/sg2eSViCwHUu7+KgN+qLETvkjBD+TWz2VPd6USzucR2C737WD9kHv FV0hklo1HdLO/9j5RCHtIwBTU70lpvvnqDhtCa5p4pcnVgjfOXNDzYu9z5lxLHI3Cw3Ijcw3u7W9 vLli3neKdCxqn9Q1rcvGtz89xqTFiAyW3aSiixApwTlFt9v1/Sw/gjyc7uHoMhv44mNZ3VG7N2zV GPAakcxY2BSePRDNr0gnV1aU+eVUM0HRtIPf+FUjK4VBmFZd97zS7XyawZkaI/a7eegTHVUJJcJC k8= X-UI-Out-Filterresults: notjunk:1;V03:K0:5smsB/dll1s=:4Q5n0pf9iz8h8J7ZivN20K JcgTJFyhzV1SRu+nKLT20gH1L3/xVF40U+j6QaBd3aQAasbsVa+d9m48xPG4hk6AMvNmQZKVd IEK3PJQidJbtaf83kxPflvLvCyXG9F6hWiYF54NWk7BjkQ+kVl5o0dEHFfgKOpIPVZunKZQUE VM7ofX1aHISgTbnfPqeXFcOTPje5nApGbds5L0qF7kzodDG2paAfDYGmT0ILxjx6fr6Fdv+c+ CPdj1+lbKxk8+KGF3eR2zZ5TO0uFAQf+plDyapBuIbahwCDktKCR/v/phAtciVmjpxERRH4bb rbAufEcp/pBuBAtKjCfD+fDzrizpIS+S5P+W/+Tm0MO/h+kOdFkfyUvtyGkfr0JjKW48dV2wa ow5HYYtNLAou2BKFvJQnwkq9tPsagD77R5W+e5kr8Qgupfgw8TJbmnDsnU6MDXop7HDHEB1BO yTP5oKZE6C4jW326XGN/cLLxODBXK49UC29owavfNFP9zpcA2YyFAy8zWxW6//pGjJNMkf5za rAguf9VUiUIdkUHxADJ7HBv45mm+nUIkkCyft1RwqNsj/6QNvh8cMk4N6Dh+a6raHroVPSZDY 1WU/NgoUdJNQg= Received-SPF: pass client-ip=212.227.17.22; envelope-from=dimech@gmx.com; helo=mout.gmx.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/25 09:46:46 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, 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:124710 Archived-At: Rather than referring to the five principal Modifier Key, immediately by Key Mnemonics, it is more useful to have a name for them categorised by priority=2E The Five Principal Modifier Keys can be called Control, Alternate, Hyper, Shift, Super, then associate any mnemonic one wants (Ctrl, Ctl) (Meta, Alt, Esc)=2E =20 =20 It is recognised that the Control Modifier Key and the=20 Meta Modifier Key are exclusively and most widely used Modifier Keys for Emacs Built-In Keybindings=2E Consequently I group them together, one call it Control, whilst the other as Alternate Control=2E It makes the use of key much more precise=2E = =20 Consequently the Alternate Control Modifier Key would simply be associated with Alt, but to the key as Priority 2, which can be Alt, Esc, etc=2E =20 I am aware some love historical talk, but they should be of minor consideration, because the focus should be on understanding how to use Gnu in the shortest time, rather than having to read through a lot of distracting considerations=2E I have no problem with the M- nomenclature myself=2E=20 As it is, I find that learning Emacs resembled too much a school environment dictated by interesting but rudimentary reading=20 following a textbook approach; rather than with professional =20 users whose focus is getting the job done, and thusly get impatient with reading material not immediately useful in figuring out how to do a job=2E =20 I agree of the utility of possibly more Modifier Keys=2E However, stickin= g with officially Five Major Modifier Key for now is adequate=2E I customar= ily use Mechanical Keyboards with Colemak Key Variation, and have to rebind ce= rtain Key Sequences that are built-in into Emacs=2E I also remap the order of k= eys from (C, s, M) to (s, M, C)=2E In this way priority increases from right = to left=2E The C Key is mapped to the key immediately to the left of the spa= ce bar as in the original setup of the Lisp Keyboards=2E However I do not simply= switch the Meta and Control Key as many have done, but organise the Keymaps by pr= iority going outward=2E Regarding your mention for ability to use additional modifier keys, it cou= ld be worthwhile to think on the possibility to create your own modifier keys li= ke what can be achieved with keybindings=2E =20 > - More important is how Emacs have got its image by the M-x, as M-x > now became new meaning in itself, it became part of the > culture=2E Examples: https://emacslife=2Ewordpress=2Ecom/about/ where > website has title M-x emacs-life RET and My position would focus towards the Control Key as the=20 Principal Control Key, whilst M becomes the Alternate Control Key=2E=20 Regards Christopher > Sent: Sunday, October 25, 2020 at 1:45 PM > From: "Jean Louis" > To: "Christopher Dimech" > Cc: "Help Gnu Emacs" > Subject: Re: Modifier Keys and the Archaic Meta Key > > * Christopher Dimech [2020-10-25 13:07]: > > Dear Compeers, > >=20 > > In 1975, when Richard Stallman and Guy Steele started designing > > keybindings they used the keyboards used by Lisp Machines which > > had Modifier Keys like Meta=2E >=20 > History is very interesting=2E I have read sometimes contradictory > hystorical statements, that both of them made the Emacs where it was > referred to GNU Emacs context=2E >=20 > Then before few days I found this Emacs development history: > https://www=2Ejwz=2Eorg/doc/emacs-timeline=2Ehtml >=20 > This shows that GNU Emacs is quite a different and separate peace of > software from the original 1976 Emacs, and I am not referring to > anything related to key design=2E Maybe RMS can tell us more about the > timeline=2E >=20 > > Today, Lisp Machines and their keyboards are only historical > > keyboards whose use has become academic=2E >=20 > From a viewpoint of average user shopping for Microsoft-like keyboards > in stores, that is very undertstandable as market is overwhelmed by > those new keyboards that are everywhere around us in general=2E >=20 > Times are changing and we do not know the future=2E I would prefer more > different meta or modifiers keys, and I have them too few=2E For example > on my laptop I have special laptop modifier Fn, Ctrl, Super, Alt, on > left side Alt, Menu type and Ctrl, I would prefer more of such for > better keybindings and more efficient work=2E >=20 > Look at this interesting keyboard, it is configurable: > https://kono=2Estore/products/sa-symbiosis-keycaps?variant=3D12358483968= 100 >=20 > > Thusly, I disapprove of the practice of continuing with the use of > > the Modifier Key Mnemonic 'M' in documentation and code=2E Perhaps a > > historical note can be included in the documentation about > > historical aspects, however in terms of use and functionality, it is > > not strategically productive to continue with the 'M' Mnemonic for > > things that do not exist=2E >=20 > While I do not disapprove the practice itself, I suggest improvements > in documentation=2E >=20 > From Emacs Glossary: >=20 > >=20 > Meta is the name of a modifier bit which you can use in a command > character=2E To enter a meta character, you hold down the k= ey > while typing the character=2E We refer to such characters with nam= es > that start with =E2=80=98Meta-=E2=80=99 (usually written =E2=80=98M= -=E2=80=99 for short)=2E For > example, =E2=80=98M-<=E2=80=99 is typed by holding down and = at the same time > typing =E2=80=98<=E2=80=99 (which itself is done, on most terminals= , by holding > down and typing =E2=80=98,=E2=80=99)=2E *Note Meta: User I= nput=2E >=20 > On some terminals, the key is actually labeled or > =2E >=20 > > Alt is the name of a modifier bit that a keyboard input character > may have=2E To make a character Alt, type it while holding down th= e > key=2E Such characters are given names that start with > =E2=80=98-=E2=80=99 (usually written =E2=80=98A-=E2=80=99 for = short)=2E (Note that many > terminals have a key labeled that is really a key=2E) > *Note Alt: User Input=2E >=20 > That is true that references to Alt and Meta are there for historical > reasons=2E So it says in the manual=2E >=20 > Today there are other reasons and the definition of M-x is little > different than how it was originally meant=2E >=20 > Today M in M-x is not any more Alt only, it can be anything, > especially how it says in the manual, Meta is anyway converted > internally into ESC=2E >=20 > Maybe it will be surprising to you, I am one of people that often need > to use ESC as Meta key=2E There are examples of using Emacs on > LineageOS/Replicant/Android system where key such as ALT is not > displayed but ESC exists, depends of the keyboard being set=2E There are > examples when using Fvwm Crystal Window Manager where ALT is > automatically bound to its functions, there is example with the EXWM > Emacs X Window Manager where launching new instance of Emacs with > `emacs -q` especially for debugging purposes requires usage of ESC as > Meta key instead of Alt as Meta key=2E >=20 > Emacs was used widely on terminals, so it is understandable=2E >=20 > Me personally I know a military organization in Europe that uses many > terminals connected to main UNIX server=2E While obsolete in personal > computing they may not be obsolete for organizations world wide=2E I can > imagine that back in time computers were extremely expensive and using > multiple terminals was cost effective=2E Today it is not as terminals > are simply not easily to find on the market=2E But it is today less cost > effective to use computers who anyway only connects to their servers > for simple communication=2E Some companies like the Internet caffe in > Munich, Germany at the central train station used computers without > disks to boot from network, so they made it cost effective to spare on > hard disks, maybe they still do=2E >=20 > Terminals as such represent more safe technology as they are usually > directly connected through serial ports to the main server=2E They are > not using insecure wireless networking neither Internet=2E Yet they are > not available and serial ports are as well harder and harder to find, > right? >=20 > Some are creating terminals like these: >=20 > - https://hackaday=2Eio/project/13273-diy-vt100-a-miniature-hardware-ter= minal >=20 > - https://thehighnibble=2Ecom/vt132/ >=20 > yet they will not use any special keys on their whatever keyboards=2E >=20 > Today M-x means and could mean CAPS-LOCK-x and it could mean left menu > key, it could mean left Ctrl, it could mean ESC, or some other key, > that is all configurable (I guess)=2E So meaning changed, it is not just > Meta, but it is better to refer to Meta for Emacs extended commands > then referring to ALT or S because settings are configurable, if Emacs > would refer to ALT, >=20 > > The Super Key Mnemonic is currently 's' (small letter s) which > > conflicts the the usual letter 's'=2E To distinguish Modifier Keys, > > Upper Case should be made a rule, with the Super Key Mnemonic > > being set to 'P' (the middle letter in Super)=2E >=20 > Interetsting observation=2E >=20 > > Modifier Keys customarily are categorised by priority as follows=2E > > Focus should be on Priority Levels rather just a letter among > > five Modifier Keys=2E Such discussion would make commands much > > easier to figure out=2E > >=20 > > Priority 1: Control Key 'C' > > Priority 2: Alternate Key 'A' > > Priority 3: Hyper Key 'H' > > Priority 4: Super Key 'P' (for middle letter, instead of 's') > > Priority 5: Shift Key 'S' >=20 > I think even those priorities you mention are not widely known=2E >=20 > Another point is that LISP and dialects as Scheme are getting more and > more popular today, people seek the return of the Lisp Machines, there > is Mezzano (maybe spelling mistake) LISP OS, and so much more comes > back to Lisp these years and this may lead to sudden surge in > production of such specialized keyboards=2E I would be one buying such, > I need more modifiers=2E >=20 > Btw=2E there is new Symbolics http://symbolics-dks=2Ecom/ and still > providing Genera for Unix=2E Keyboards probably not=2E >=20 > What about those Apple based keyboards they have CONTROL, OPTION > (alt), COMMAND so in their case they write "alt" with small letters as > they did not probably have Alternative originally=2E On my Bluetooth > keyboard it is like that too, it is control, option, command=2E >=20 > It would not quite alright to say ALT-x instead of M-x as on their > keyboards it is "Option" and users are maybe (just guessing) used to > Option notation=2E >=20 > > This evaluation and modifications outlined is useful for users > > today, whilst continuing with archaic elaboration on 1975 Lisp > > Keyboards has become unproductive for new users=2E >=20 > From viewpoint of using exclusively ALT yes or making it clear for new > users on Windoze computers, then maybe yes=2E And there are other > viewpoints: >=20 > - if notation is changed, then historical wide usage of notation M-x > would become surprising for many existing Emacs users=2E It would be > difficult to accommodate new users for the sake of existing > users=2E It is easier to adopt some modification to the definition of > the M-x then change the notation=2E There is also nothing wrong for > users to understand the etymology of M-x=2E >=20 > - More important is how Emacs have got its image by the M-x, as M-x > now became new meaning in itself, it became part of the > culture=2E Examples: https://emacslife=2Ewordpress=2Ecom/about/ where > website has title M-x emacs-life RET and > https://www=2Ezazzle=2Ecom/m_x_mug_mode_emacs_mug-168997655186727276 > with the mug for Emacs with M-x >=20 > M-x sleep >=20 > --=20 > Jean Louis >