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

Viktor Hedefalk hedefalk at gmail.com
Sun Oct 3 16:16:57 EDT 2010


Sorry, of course I want to map LEFT Ctrl to Meta and leave Right Ctrl as ctrl.

/Viktor

On Sun, Oct 3, 2010 at 10:09 PM, Viktor Hedefalk <hedefalk at gmail.com> wrote:
> Thanks for you quick reply!
>
> I think I might have a solution but I need some further help:
>
> I've used PCKeyboardHack to remap my Caps Lock to Right Ctrl (since I
> don't even have such a key)
>
> So now I only need the elisp for rewiring Right Ctrl for Meta and I'll
> be fine I think. Could you help me with that? I only find the standard
> stuff in the docs.
>
> /Viktor
>
> On Sun, Oct 3, 2010 at 10:02 PM, David Reitter <david.reitter at gmail.com> wrote:
>> On Oct 3, 2010, at 3:50 PM, Viktor Hedefalk wrote:
>>> I've installed keymap4macbook to remap caps lock to ctrl. Then I
>>> thought that I could emap ctrl to meta with:
>>>
>>> (setq mac-control-modifier 'meta)
>>
>> Well, as you note yourself, this will just create two "control" keys as far as Aquamacs is concerned.
>>
>> You could try mapping Caps Lock to ESC (keymap4macbook seems to do that), or you could try to see if this tool can remap Caps Lock to just the left or right control key (if you don't use those).  Aquamacs can selectively assign Emacs modifiers to left or right modifier keys.
>>
>> Finally, Aquamacs has rudimentary support for mapping the Function (Fn) key.
>>
>> Let me know if you found a solution (or also, if not).
>>
>> --
>> http://aquamacs.org -- Aquamacs: Emacs on Mac OS X
>> http://aquamacs.org/donate -- Could we help you? Return the favor and support the Aquamacs Project!
>



More information about the MacOSX-Emacs mailing list