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

Michael Glaesemann grzm at
Sun Oct 3 16:07:26 EDT 2010

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

More information about the MacOSX-Emacs mailing list