unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "B. T. Raven" <ecinmn@alcisp.com>
Subject: Re: swap CapsLock and Ctrl only in Emacs
Date: Mon, 12 Jun 2006 23:12:56 -0500	[thread overview]
Message-ID: <304a7$448e3bab$49ede9e$18309@DIALUPUSA.NET> (raw)
In-Reply-To: mailman.2846.1150169750.9609.help-gnu-emacs@gnu.org


"Eli Zaretskii" <eliz@gnu.org> wrote in message
news:mailman.2846.1150169750.9609.help-gnu-emacs@gnu.org...
> > From: Tim X <timx@nospam.dev.null>
> > 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.
>
>

He did say that but it would have made more sense if he had said "...only
CapsLock and [Left] Control key in Emacs." I can't imagine a scenario in
which, for instance, the same person would want to use a qwerty keyboard
for one application and a dvorak for another. It tends to short-circuit
procedural memory. If more than one person are using the machine, it
should be possible to toggle between two keyboard layouts. For qwerty and
dvorak it's a matter of two mouse clicks or keystrokes (dos needs "keyb
dv,,c:\dos\keyboard.sys"
and "keyb us,,c:\dos\keyboard.sys" in the batch files am.bat and ma.bat,
respectively or versa vice. Doesn't require rebooting).

Ed



Ed.

  parent reply	other threads:[~2006-06-13  4:12 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-12  8:13 swap CapsLock and Ctrl only in Emacs tury.peter
2006-06-12 10:37 ` Tim X
2006-06-13  3:35   ` Eli Zaretskii
     [not found]   ` <mailman.2846.1150169750.9609.help-gnu-emacs@gnu.org>
2006-06-13  4:12     ` B. T. Raven [this message]
2006-06-13  9:24       ` Stein Arild Strømme
2006-06-13  8:09     ` Mathias Dahl
2006-06-12 14:51 ` B. T. Raven
2006-06-12 14:59   ` Chris McMahan
2006-06-13  7:48 ` tury.peter
2006-06-13  8:21   ` Mathias Dahl
2006-06-21  2:14   ` sean.ohalpin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='304a7$448e3bab$49ede9e$18309@DIALUPUSA.NET' \
    --to=ecinmn@alcisp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).