help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: swap CapsLock and Ctrl only in Emacs


From: Mathias Dahl
Subject: Re: swap CapsLock and Ctrl only in Emacs
Date: Tue, 13 Jun 2006 10:09:26 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt)

Eli Zaretskii <eliz@gnu.org> writes:

>> 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.

Really? I can use xmodmap with certain bindings that affects just the
program I start right there. Something like this:

 $ xmodmap modmapfile | emacs

(Unsure about the syntax)

>> 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.

It is "harder" because you have to restart (log out is not enough).

> Anyway, none of these solutions are limited to Emacs alone, which is
> what the OP wanted.

True.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]