unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* emacs key bindings: normal .emacs entries don't work
@ 2004-10-05  1:09 John Bullock
  2004-10-06  9:18 ` Eli Zaretskii
  0 siblings, 1 reply; 6+ messages in thread
From: John Bullock @ 2004-10-05  1:09 UTC (permalink / raw)



Hello,

        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.  In addition, I tried

                (global-set-key [?\C-right] 'forward-word)

but this, apparently, isn't valid.

Incidentally, I don't have this problem when I run emacs under X -- only when
I try to run it from a terminal.  Is it likely that the problem lies not with
my .emacs file but with some setting of my terminal?

Thanks,
--John

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-10-07 15:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.1359.1096940862.2017.help-gnu-emacs@gnu.org>
2004-10-05 20:01 ` emacs key bindings: normal .emacs entries don't work Stefan Monnier
2004-10-05  1:09 John Bullock
2004-10-06  9:18 ` Eli Zaretskii
2004-10-07 10:50   ` John Bullock
2004-10-07 10:50   ` John Bullock
     [not found]   ` <mailman.1901.1097146722.2017.help-gnu-emacs@gnu.org>
2004-10-07 15:54     ` Stefan Monnier

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