From: Evan Monroig on
"Xah Lee" <xah(a)xahlee.org> writes:
[...]
> On the dvorak keyboard (which is one major fix up of the fucked
> keyboard layout that is qwerty which by itself contributed to endless
> hand injuries), the right hand index finger's key is T.

Under the right hand index is the letter H, isn't it? T is on its
right.

(unless I have a strange dvorak layout..)

Evan
From: Jochem Huhmann on
"Xah Lee" <xah(a)xahlee.org> writes:

> The Control-x is possibly the most awkward key combination on a
> standard keyboard, and unfortunately, it is the key strokes that emacs
> wants people to use the most. It is in fact, the sole contribution to
> the well-known “emacs pinky” repetitive strain injury, and is one
> of the main driving force for people to detest emacs.

Why does anyone need a finger to press the Control key? Try to keep your
fingers in the home position (index fingers on f and j) and press and
hold left Control with your hand without moving any finger. Works fine
for me. If I had to use my pinky for that, I'd have moved back to vi
long ago.


Jochem

--
"A designer knows he has arrived at perfection not when there is no
longer anything to add, but when there is no longer anything to take away."
- Antoine de Saint-Exupery
From: RaoulGough on
Jochem Huhmann wrote:
> "Xah Lee" <xah(a)xahlee.org> writes:
>
> > The Control-x is possibly the most awkward key combination on a
> > standard keyboard, and unfortunately, it is the key strokes that emacs
> > wants people to use the most. It is in fact, the sole contribution to
> > the well-known "emacs pinky" repetitive strain injury, and is one
> > of the main driving force for people to detest emacs.
>
> Why does anyone need a finger to press the Control key? Try to keep your
> fingers in the home position (index fingers on f and j) and press and
> hold left Control with your hand without moving any finger. Works fine
> for me. If I had to use my pinky for that, I'd have moved back to vi
> long ago.

That seems difficult to me! I assume you're managing to hold it down
with the palm of your hand - have you got one of those over-sized
control keys on your keyboard?

I've tried out using C-j remapped to be the same as C-x as follows:

(global-set-key "\C-j" 'Control-X-prefix) ;; Was newline-and-indent

C-j is really easy to type on a QWERTY layout. Unfortunately some of
the major modes have C-j in their mode-maps, so it can get remapped to
something ordinary like sh-newline-and-indent.

So what I'm trying now is a modified CAPSLOCK which maps to the HYPER
modifier and then maping H-j to be an equivalent C-x prefix key*.
Unfortunately, this isn't ideal either, since some of the keys in
ctl-x-map are designed to work with the control key held down. e.g.
it's more awkward to type H-j C-q than C-x C-q.

Maybe I'll stick with C-j and use find-file-hooks to reset C-j after
the major mode has messed with it...

I also noticed that iswitchb-mode sets up some keys like this:

(global-set-key "\C-xb" 'iswitchb-buffer)

instead of

(define-key ctl-x-map "b" 'iswitchb-buffer)

Is this a bug in iswitchb-mode?

* Emacs complains about "\H-j" as a key specifier with the error
"Invalid modifier in string". I had to follow the FAQ's advice and map
H-j to something interactively and then examine command-history to find
out that [16777322] is the vector specifying H-j.

--
Raoul Gough.

From: Johan =?utf-8?Q?Bockg=C3=A5rd?= on
RaoulGough(a)yahoo.co.uk writes:

> * Emacs complains about "\H-j" as a key specifier with the error
> "Invalid modifier in string".

Hyper events can't be put in strings. You can use a vector, [?\H-j],
or the kbd macro, (kbd "H-j").

--
Johan Bockgård
From: Bernd Schmitt on
On 19.10.2006 12:14, RaoulGough(a)yahoo.co.uk wrote:
> So what I'm trying now is a modified CAPSLOCK which maps to the HYPER
> modifier and then maping H-j to be an equivalent C-x prefix key*.
> Unfortunately, this isn't ideal either, since some of the keys in
> ctl-x-map are designed to work with the control key held down. e.g.
> it's more awkward to type H-j C-q than C-x C-q.
This is very interesting, how do you map CAPSLOCK to the HYPER
modifier? Could this be done with emacs-lisp only, too?

curiously,
Bernd

P.S. f'up2 comp.emacs, ok?