Peng Dai writes: > I use ubuntu12.04(32bit,US), and emacs24.2. When I descide to have a new key > "\C-[" and "\C-]" to scroll my window, > > so I write the following in the init.el > > (global-set-key (kbd "\C-]") (lambda () (interactive) (scroll-up 2))) > (global-set-key (kbd "\C-[") (lambda () (interactive) (scroll-down 2))) Minor mistake: when using kbd, you're expected to write "C-]" without the backslash. > this first is work fine. but the second didn't work. > When I use the "\C-h k" to see what' wrong. It turn out to be > "\C-[" was readed as "". I search the google with no result, > it says it was because of the ISCAE's key value but with no > soluvation give. Yes. "C-[" *is* , at least on terminals. Emacs is designed to be compatible with terminals, so it's unlikely to get changed. > And I find another key has the same problem,too. like: > "\C-j" turn to be "" > "\C-M-j" turn to be "j" DO NOT ESCAPE CTRL OR META WHEN USING `kbd'. -- Carl Lei (XeCycle) Department of Physics, Shanghai Jiao Tong University OpenPGP public key: 7795E591 Fingerprint: 1FB6 7F1F D45D F681 C845 27F7 8D71 8EC4 7795 E591