Re: [OS X Emacs] mapping for meta key…

Viktor Hedefalk hedefalk at
Sun Oct 3 16:25:09 EDT 2010

Thank you for you advice. It would be nice to not have to use special
mapping software, but I think your suggestion would leave me with
switched positions for Option and ctrl, right? Or I don't really got
which key should be the Meta? I really would like to leave Option/alt
right where it is since it is used for many special characters I need
when coding on my Swedish keyboard.

My contraints are:

Command key need to be Command key for OSX shortcuts.
Option/alt need to stay because of special characters on Swedish keyboard

So this leaves me with Ctrl, Caps Lock and fn and I need a ctrl-key
and a Meta key and I figure Caps lock can be my ctrl and Left Ctrl can
be my Meta. Hope that clarifies.


On Sun, Oct 3, 2010 at 10:07 PM, Michael Glaesemann
<grzm at> wrote:
> On Oct 3, 2010, at 15:50 , Viktor Hedefalk wrote:
>> Hi!
>> I'm having some trouble setting up my preferred key bindings for
>> aquamacs. What I would like is the following:
>> Command -> Command (untouched)
>> Option/alt -> Option/alt (untouched)
>> caps lock -> ctrl (since the old sun keyboards where I started using
>> emacs had the ctrl-key there)
>> ctrl -> meta (since I need a meta and it's about the right place. Esc
>> doesn't do it for me)
>> I've installed keymap4macbook to remap caps lock to ctrl. Then I
>> thought that I could emap ctrl to meta with:
> Recent versions of Mac OS X have a "Modifier Keys..." button in the Keyboard preferences which allows you to set the behavior of Caps Lock, Control, Option, and Command. Since these options became available via the System preferences, I haven't had the need to install separate remapping software. (I think I used to use uControl, but I don't remember for sure.)
> I personally have Caps Lock and Control keys bound to Control via the Keyboard Preference Pane, and I suspect by binding Caps Lock to Control and the Control key to Option you could get the behavior you want. Likely you'll have to uninstall keymap4macbook or otherwise configure it to not interfere with your Preference Pane settings.
> Michael Glaesemann
> grzm seespotcode net
> _____________________________________________________________
> MacOSX-Emacs mailing list
> MacOSX-Emacs at
> List Archives:

More information about the MacOSX-Emacs mailing list