[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacs key bindings: normal .emacs entries don't work
From: |
Eli Zaretskii |
Subject: |
Re: emacs key bindings: normal .emacs entries don't work |
Date: |
Wed, 06 Oct 2004 11:18:36 +0200 |
> From: "John Bullock" <john.bullock@stanford.edu>
> Date: Mon, 4 Oct 2004 18:09:46 -0700
>
> I use GNU Emacs 22.1 -- via a tty terminal, not through X.
> I am trying to change the default key bindings so that (for example)
> Control-right moves the cursor forward by one word. Newsgroups are full of
> solutions to this problem, but to date, none of them have helped me.
>
> I've tried each of these lines in .emacs:
>
> (global-set-key (quote [C-right]) (quote forward-word))
> (global-set-key [C-right] 'forward-word)
> (global-set-key [(control right)] 'forward-word)
>
> None have worked.
Does Emacs at all see the C-right key? What happens if you press
C-right and then type C-l (that's a letter ell, not a digit one)? Do
you see <C-right> or some such in the *Help* buffer that Emacs pops?