From: Uwe Brauer <oub@mat.ucm.es>
To: help-gnu-emacs@gnu.org
Subject: Re: MacOSx (10.15) and remap caps lock to hyper
Date: Sun, 21 Mar 2021 09:59:59 +0100 [thread overview]
Message-ID: <871rc8anlc.fsf@mat.ucm.es> (raw)
In-Reply-To: 87wnu0q565.fsf@zoho.eu
[-- Attachment #1: Type: text/plain, Size: 1105 bytes --]
>>> "EBvUlftGEte" == Emanuel Berg via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org> writes:
>>> Meta, super, hyper, control
>>>
>>> Is what I want
>>
>> What is super
> Ah, that's 125 in /dev/console - the one I use as a compose
> key.
Well
I am on Ubuntu 16.04, using a thinkpad X1.
Here is a part of my Xmodmap
keycode 37 = Hyper_L NoSymbol Hyper_L
keycode 64 = Alt_L Meta_L Alt_L Meta_L
keycode 66 = Control_L NoSymbol Control_L
keycode 133 = Super_L NoSymbol Super_L
keycode 134 = Super_R NoSymbol Super_R
clear Lock
clear Control
clear Mod1
clear Mod2
clear Mod3
clear Mod4
clear Mod5
add Control = Control_L
add Mod1 = Meta_L
add Mod3 = Super_L
add Mod4 = Hyper_L
add Mod5 = Num_Lock
And then I can enjoy stuff like
(global-set-key [(super f3)] 'delete-frame)
(global-set-key [(hyper f3)] 'ediff-copy-to-register-B)
Etc
This is what I want for my mac, since the mac has, incomprehensibly,
less keys than the Thinkpad.
Did I now explain myself?
Uwe
[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5673 bytes --]
next prev parent reply other threads:[~2021-03-21 8:59 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-21 7:11 MacOSx (10.15) and remap caps lock to hyper Uwe Brauer
2021-03-21 7:18 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-03-21 8:14 ` Uwe Brauer
2021-03-21 8:25 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-03-21 8:31 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-03-21 8:59 ` Uwe Brauer [this message]
2021-03-21 9:26 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-03-21 9:30 ` Uwe Brauer
2021-03-21 9:39 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-03-21 19:55 ` Uwe Brauer
2021-03-21 11:18 ` Gregory Heytings
2021-03-21 13:52 ` Gregory Heytings
2021-03-21 15:21 ` Uwe Brauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=871rc8anlc.fsf@mat.ucm.es \
--to=oub@mat.ucm.es \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).