Re: swap CapsLock and Ctrl only in Emacs

From:

Eli Zaretskii

Subject:

Re: swap CapsLock and Ctrl only in Emacs

Date:

Tue, 13 Jun 2006 06:35:37 +0300

> From: Tim X <address@hidden>
> Date: Mon, 12 Jun 2006 20:37:41 +1000
>
> Under X the solution is easy - you re-map the keys at the X level
> using utilities like modmap.
Which will swap the keys in all X applications--contrary to what the
OP wanted.
> For Windows, its a lot trickier as you either have to install a new
> driver or hack the registry.
Which isn't harder than using xmodmap: Google will find gazillions of
articles on how to do the registry ``hack'' easy way.
> Either option has considerable risk.
There's absolutely no risk with the registry method. Even Microsoft
explains in MSDN how to do that.
Anyway, none of these solutions are limited to Emacs alone, which is
what the OP wanted.