[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
2-key prefix and Invalid Prefix keys in sequence
From: |
Tim Johnson |
Subject: |
2-key prefix and Invalid Prefix keys in sequence |
Date: |
Fri, 04 Mar 2005 18:38:31 -0900 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax) |
Hello:
I'd like to map out a series of 3-key commands, with
control-c control-; as the prefix.
Initially I am attempting the following:
(global-set-key [(control \c\;) (b)] 'isearch-forward)
;; evaluation gives me the "Invalid Prefix Keys in sequence"
;; error message
1)How can I make this simple sequence work?
2)There is extensive info docs on keymapping, and I've seen
it briefly, but can't find it again. :-( What's the command
to get to it?
3)And the *bigger* picture is: I ultimately want to set up a
global (or local) keymap with a 2-key prefix (such as C-c C-;).
I've found numerous examples of how to *add* a key to an existing
keymap, but no examples of how to create a new keymap and
new prefix key.
All help and pointers to docs are greatly appreciated.
TIA
tim
- 2-key prefix and Invalid Prefix keys in sequence,
Tim Johnson <=